]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blobdiff - src/dialogs/DomainSettingsDialog.h
Add zoom factor domain settings.
[PrivacyBrowserPC.git] / src / dialogs / DomainSettingsDialog.h
index 6acfcb57e9d0cb8720ff12b3d19bb4784b0f90a1..06941775f47ae07b498df58f08fe57b8e7310315 100644 (file)
@@ -25,6 +25,7 @@
 
 // Qt toolkit headers.
 #include <QDialog>
+#include <QDoubleSpinBox>
 #include <QLabel>
 #include <QtSql>
 
@@ -44,18 +45,21 @@ private Q_SLOTS:
     // The private slots.
     void apply() const;
     void cancel();
-    void domainNameChanged(QString updatedDomainName) const;
-    void domainSelected(QModelIndex modelIndex) const;
-    void javaScriptChanged(int newIndex) const;
+    void customZoomFactorChanged(const double &newValue) const;
+    void domainNameChanged(const QString &updatedDomainName) const;
+    void domainSelected(const QModelIndex &modelIndex) const;
+    void javaScriptChanged(const int &newIndex) const;
     void ok();
     void reset() const;
     void showAddMessageBox();
     void showDeleteMessageBox() const;
-    void userAgentChanged(const QString updatedUserAgent) const;
+    void userAgentChanged(const QString &updatedUserAgent) const;
+    void zoomFactorComboBoxChanged(const int &newIndex) const;
 
 private:
     // The private variables.
     QPushButton *applyButtonPointer;
+    QDoubleSpinBox *customZoomFactorSpinBoxPointer;
     QPushButton *deleteDomainButtonPointer;
     QListView *domainsListViewPointer;
     KLineEdit *domainNameLineEditPointer;
@@ -66,6 +70,7 @@ private:
     QPushButton *resetButtonPointer;
     QComboBox *userAgentComboBoxPointer;
     QLabel *userAgentLabelPointer;
+    QComboBox *zoomFactorComboBoxPointer;
 
     // The private functions.
     void populateJavaScriptLabel() const;