diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-10-15 18:32:51 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-10-15 18:32:51 +0000 |
commit | 9051385deb6a3f318da44862ae17c33be2b04fec (patch) | |
tree | cd536ed0796af408eb496311dd6039d11d0b6857 /ui/qt/capture_file_dialog.h | |
parent | 4ee129c34181d7073dc47e5fffeb80ec465247b6 (diff) | |
download | wireshark-9051385deb6a3f318da44862ae17c33be2b04fec.tar.gz |
Add help buttons. Ifdef out some code on Windows.
svn path=/trunk/; revision=45564
Diffstat (limited to 'ui/qt/capture_file_dialog.h')
-rw-r--r-- | ui/qt/capture_file_dialog.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/qt/capture_file_dialog.h b/ui/qt/capture_file_dialog.h index 9e49f9e2ba..e873f04c44 100644 --- a/ui/qt/capture_file_dialog.h +++ b/ui/qt/capture_file_dialog.h @@ -24,8 +24,11 @@ #ifndef CAPTURE_FILE_DIALOG_H #define CAPTURE_FILE_DIALOG_H +#ifndef Q_QS_WIN #include "display_filter_edit.h" #include "packet_range_group_box.h" +#include "ui/help_url.h" +#endif // Q_WS_WIN #include "packet_list_record.h" #include "cfile.h" @@ -106,6 +109,7 @@ private: void addResolutionControls(QVBoxLayout &v_box); void addGzipControls(QVBoxLayout &v_box); void addRangeControls(QVBoxLayout &v_box, packet_range_t *range); + QDialogButtonBox *addHelpButton(topic_action_e help_topic); QStringList buildFileSaveAsTypeList(bool must_support_comments); @@ -120,6 +124,7 @@ private: PacketRangeGroupBox packet_range_group_box_; QPushButton *save_bt_; + topic_action_e help_topic_; #else // Q_WS_WIN int file_type_; @@ -140,6 +145,7 @@ public slots: private slots: #if !defined(Q_WS_WIN) void preview(const QString & path); + void on_buttonBox_helpRequested(); #endif // Q_WS_WIN }; |