diff options
Diffstat (limited to 'ui/qt/preferences_dialog.h')
-rw-r--r-- | ui/qt/preferences_dialog.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ui/qt/preferences_dialog.h b/ui/qt/preferences_dialog.h index baa17f12af..17271e388f 100644 --- a/ui/qt/preferences_dialog.h +++ b/ui/qt/preferences_dialog.h @@ -48,7 +48,17 @@ class PreferencesDialog : public QDialog Q_OBJECT public: - explicit PreferencesDialog(QWidget *parent = 0); + // This, prefsTree, and stackedWidget must all correspond to each other. + enum PreferencesPane { + ppAppearance, + ppLayout, + ppColumn, + ppFontAndColor, + ppCapture, + ppFilterExpressions + }; + + explicit PreferencesDialog(QWidget *parent = 0, PreferencesPane start_pane = ppAppearance); ~PreferencesDialog(); const QList<WiresharkApplication::AppSignal> appSignals() const { return app_signals_; } |