diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-05-22 15:33:38 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-05-23 00:31:08 +0000 |
commit | b18309c07f5a2a4212764676e0e19e3b3dfa9868 (patch) | |
tree | bcf7b1ac99751da6937f84673ac3ebb30890b445 /ui/qt/main_status_bar.h | |
parent | b25faac85d806d7f3977e194ca6f520da8e5c030 (diff) | |
download | wireshark-b18309c07f5a2a4212764676e0e19e3b3dfa9868.tar.gz |
Qt: Update the status bar when saving.
Plumb in more capture file callbacks. Add common functions for setting
the status bar file information. Add and update code to match the GTK+
status bar behavior.
Make sure we update the capture file length when rescanning.
Bug: 10943
Change-Id: Ie84c7a57ee421d57ba3477f8dde3847aaafa1cd1
Reviewed-on: https://code.wireshark.org/review/8594
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/main_status_bar.h')
-rw-r--r-- | ui/qt/main_status_bar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/qt/main_status_bar.h b/ui/qt/main_status_bar.h index 1cb024a4d2..04148c0264 100644 --- a/ui/qt/main_status_bar.h +++ b/ui/qt/main_status_bar.h @@ -34,6 +34,8 @@ #include "capchild/capture_session.h" +class CaptureFile; + class MainStatusBar : public QStatusBar { Q_OBJECT @@ -42,6 +44,7 @@ public: void showExpert(); void hideExpert(); void expertUpdate(); + void setFileName(CaptureFile &cf); private: QLabel expert_status_; @@ -64,7 +67,7 @@ public slots: void setCaptureFile(capture_file *cf); void pushTemporaryStatus(const QString &message); void popTemporaryStatus(); - void pushFileStatus(const QString &message, const QString &messagetip); + void pushFileStatus(const QString &message, const QString &messagetip = QString()); void popFileStatus(); void pushFieldStatus(const QString &message); void popFieldStatus(); |