]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/windows/BrowserWindow.h
Hide the find text actions by default. https://redmine.stoutner.com/issues/960
[PrivacyBrowserPC.git] / src / windows / BrowserWindow.h
index a131a4484e02f52d5d20e0669e7780b01e212124..1c22d1df2e28edd7b0694b3ef74fe384e9e07bea 100644 (file)
@@ -55,24 +55,31 @@ private Q_SLOTS:
     void clearUrlLineEditFocus() const;
     void escape() const;
     void fileNew() const;
+    void findNext() const;
+    void findPrevious() const;
     void forward() const;
     void fullScreenRequested(const bool toggleOn);
     void getZoomFactorFromUser();
+    void hideFindTextActions() const;
     void home() const;
     void loadUrlFromLineEdit(const QString &url) const;
     void refresh() const;
     void showCookiesDialog();
     void showDownloadLocationBrowseDialog() const;
     void showDomainSettingsDialog() const;
+    void showFindTextActions() const;
     void showProgressBar(const int &progress) const;
     void showSettingsDialog();
     void toggleDomStorage() const;
+    void toggleFindCaseSensitive() const;
     void toggleJavaScript() const;
     void toggleLocalStorage() const;
     void toggleFullScreen();
     void updateCookiesAction(const int numberOfCookies) const;
     void updateDomStorageAction(const bool &isEnabled) const;
     void updateDomainSettingsIndicator(const bool status);
+    void updateFindText(const QString &text, const bool findCaseSensitive) const;
+    void updateFindTextResults(const QWebEngineFindTextResult &findTextResult) const;
     void updateJavaScriptAction(const bool &isEnabled);
     void updateLocalStorageAction(const bool &isEnabled);
     void updateSearchEngineActions(const QString &searchEngine, const bool &updateCustomSearchEngineStatus);
@@ -92,15 +99,24 @@ private:
     bool customSearchEngineEnabled;
     bool customUserAgentEnabled;
     QAction *domStorageActionPointer;
-    QPalette domainSettingsPalette;
     QComboBox *downloadLocationComboBoxPointer;
+    QAction *findCaseSensitiveActionPointer;
+    QAction *findNextActionPointer;
+    QAction *findPreviousActionPointer;
+    QAction *findTextLabelActionPointer;
+    QLabel *findTextLabelPointer;
+    QAction *findTextLineEditActionPointer;
+    KLineEdit *findTextLineEditPointer;
     KToggleFullScreenAction *fullScreenActionPointer;
+    QAction *hideFindTextActionPointer;
     QAction *javaScriptActionPointer;
     bool javaScriptEnabled;
     QAction *localStorageActionPointer;
     bool localStorageEnabled;
     KToolBar *navigationToolBarPointer;
-    QPalette noDomainSettingsPalette;
+    QPalette negativeBackgroundPalette;
+    QPalette normalBackgroundPalette;
+    QPalette positiveBackgroundPalette;
     QProgressBar *progressBarPointer;
     QLabel *searchEngineLabelPointer;
     QAction *searchEngineMenuActionPointer;