示例#1
0
	FindNotification::FindNotification (ICoreProxy_ptr proxy, QWebEngineView *near)
	: Util::FindNotification { proxy, near }
	, WebView_ { near }
	{
		connect (near,
				&QWebEngineView::loadFinished,
				this,
				[this]
				{
					if (PreviousFindText_.isEmpty ())
						return;

					ClearFindResults ();
					findNext ();
				});
	}
	void FindNotificationWk::reject ()
	{
		FindNotification::reject ();
		ClearFindResults ();
	}
示例#3
0
	void FindNotification::reject ()
	{
		Util::FindNotification::reject ();
		ClearFindResults ();
	}