summaryrefslogtreecommitdiff
path: root/ui/qt/preferences_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@zing.org>2015-01-01 11:41:03 -0800
committerGerald Combs <gerald@wireshark.org>2015-01-06 15:22:04 +0000
commit5fb2f274280c9a9bd9c89c9b1904a12d877e155c (patch)
tree428650756971ee3f5355a82d6b3723c15002ae09 /ui/qt/preferences_dialog.h
parentcbca7eeb712c7365bf46ed3de8ed5c633a662bc2 (diff)
downloadwireshark-5fb2f274280c9a9bd9c89c9b1904a12d877e155c.tar.gz
Qt: Add a context menu to the packet list header.
Don't carry over the sort items from the GTK+ UI (for now, at least). Update some names. Add a column editor frame similar to the "Go to Packet" and "Search" frames. Change-Id: I1bd3834a26994de96894d2b7512bce2c19915c77 Reviewed-on: https://code.wireshark.org/review/6277 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/preferences_dialog.h')
-rw-r--r--ui/qt/preferences_dialog.h12
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_; }