X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fwindows%2FBrowserWindow.h;fp=src%2Fwindows%2FBrowserWindow.h;h=a7b78d6ec1ceb1a95473c55237b8bbab631a2868;hp=94afae9944b65c9bea1ca971abaa499f8e3a6bc2;hb=425fed98271cd951cddef9904e5e271f0fb76fc1;hpb=8f1b160582ac3bd86b6e7aeaafcae059aff609c0 diff --git a/src/windows/BrowserWindow.h b/src/windows/BrowserWindow.h index 94afae9..a7b78d6 100644 --- a/src/windows/BrowserWindow.h +++ b/src/windows/BrowserWindow.h @@ -81,6 +81,7 @@ private Q_SLOTS: void toggleViewSource() const; void toggleViewSourceInNewTab() const; void updateCookiesAction(const int numberOfCookies) const; + void updateDefaultZoomFactor(const double newDefaultZoomFactor); void updateDomStorageAction(const bool &isEnabled) const; void updateDomainSettingsIndicator(const bool status); void updateFindText(const QString &text, const bool findCaseSensitive) const; @@ -89,11 +90,12 @@ private Q_SLOTS: void updateLocalStorageAction(const bool &isEnabled); void updateSearchEngineActions(const QString &searchEngine, const bool &updateCustomSearchEngineStatus); void updateUserAgentActions(const QString &userAgent, const bool &updateCustomUserAgentStatus); - void updateZoomFactorAction(const double &zoomFactor); + void updateZoomActions(const double &zoomFactor); void updateSearchEngineLabel(const QString &searchEngineString) const; void updateUrlLineEdit(const QUrl &newUrl); void updateUserAgentLabel(const QString &userAgentDatabaseName) const; void updateWindowTitle(const QString &title); + void zoomDefault(); private: // The private variables. @@ -104,6 +106,7 @@ private: double currentZoomFactor; bool customSearchEngineEnabled; bool customUserAgentEnabled; + double defaultZoomFactor; QAction *domStorageActionPointer; QComboBox *downloadLocationComboBoxPointer; QAction *findCaseSensitiveActionPointer; @@ -148,6 +151,11 @@ private: KToolBar *urlToolBarPointer; QAction *viewSourceActionPointer; QAction *viewSourceInNewTabActionPointer; + QAction *zoomDefaultActionPointer; QAction *zoomFactorActionPointer; + QAction *zoomInActionPointer; + QPushButton *zoomMinusButtonPointer; + QAction *zoomOutActionPointer; + QPushButton *zoomPlusButtonPointer; }; #endif