X-Git-Url: https://gitweb.stoutner.com/?a=blobdiff_plain;f=src%2Fwindows%2FBrowserWindow.h;h=1c22d1df2e28edd7b0694b3ef74fe384e9e07bea;hb=93a1583163ca580a2218ba81836a17c3a6586ccf;hp=a131a4484e02f52d5d20e0669e7780b01e212124;hpb=6acd73c4148bac2a8c2f637e70080a43b12fd14e;p=PrivacyBrowserPC.git diff --git a/src/windows/BrowserWindow.h b/src/windows/BrowserWindow.h index a131a44..1c22d1d 100644 --- a/src/windows/BrowserWindow.h +++ b/src/windows/BrowserWindow.h @@ -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;