X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2FBrowserWindow.h;h=357909e3dc43bcf5bf2b2998f8b0cb5c62525f81;hp=31ac5109a161a18275ab8628c4dfa8bbd98d1230;hb=ed23757527d2d80102f87f6446b73d890a169fb4;hpb=05800bafb963a10f291d2a9604dc90cd7ac37c7b diff --git a/src/BrowserWindow.h b/src/BrowserWindow.h index 31ac510..357909e 100644 --- a/src/BrowserWindow.h +++ b/src/BrowserWindow.h @@ -22,7 +22,6 @@ // Application headers. #include "MainView.h" -#include "UserAgentHelper.h" // Qt framework headers. #include @@ -40,16 +39,38 @@ public: BrowserWindow(); private Q_SLOTS: - // Define the private slots. - void fileNew(); + // The private slots. + void fileNew() const; + void getZoomFactorFromUser(); void settingsConfigure(); - void updateStatusBar(const QString &statusBarMessage); - void updateUserAgentLabel(const QString &userAgentName); + void updateOnTheFlySearchEngine(const QString &searchEngine) const; + void updateOnTheFlyUserAgent(const QString &userAgent) const; + void updateOnTheFlyZoomFactor(const double &zoomFactor) const; + void updateSearchEngineLabel(const QString &searchEngineString) const; + void updateStatusBar(const QString &statusBarMessage) const; + void updateUserAgentLabel(const QString &userAgentName) const; private: - // Define the private variables. + // The private variables. MainView *mainViewPointer; + double currentZoomFactor; + QLabel *searchEngineLabelPointer; + QAction *searchEngineMojeekActionPointer; + QAction *searchEngineMonoclesActionPointer; + QAction *searchEngineMetagerActionPointer; + QAction *searchEngineGoogleActionPointer; + QAction *searchEngineBingActionPointer; + QAction *searchEngineYahooActionPointer; + QAction *searchEngineCustomActionPointer; QLabel *userAgentLabelPointer; - UserAgentHelper *userAgentHelperPointer; + QAction *userAgentPrivacyBrowserActionPointer; + QAction *userAgentFirefoxLinuxActionPointer; + QAction *userAgentChromiumLinuxActionPointer; + QAction *userAgentFirefoxWindowsActionPointer; + QAction *userAgentChromeWindowsActionPointer; + QAction *userAgentEdgeWindowsActionPointer; + QAction *userAgentSafariMacosActionPointer; + QAction *userAgentCustomActionPointer; + QAction *zoomFactorActionPointer; }; #endif