diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-07-17 15:06:55 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-07-20 19:48:43 +0000 |
commit | 63edb9904fafb21ead6b69a712a6726159319d22 (patch) | |
tree | 8d8dd7f6aa9c2926167a83638c572807993760fd /ui/qt/main_status_bar.h | |
parent | eb1ccbdccde89701f255f921d88992878057477d (diff) | |
download | wireshark-63edb9904fafb21ead6b69a712a6726159319d22.tar.gz |
Add general a busy progress indicator.
Rename CaptureFileProgressFrame to ProgressFrame. It's not limited to
capture files. Add "busy" routines there and in MainStatusBar. Show a
busy indicator while sorting columns.
Use toByteArray().constData instead of .data. I'm not sure if it matters
in our case but it's more correct.
Change-Id: Ibe35fee9b9dd3fabb5ff8ddcc21f6bf59dec4af6
Reviewed-on: https://code.wireshark.org/review/9720
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 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/qt/main_status_bar.h b/ui/qt/main_status_bar.h index 9a8aed0689..ede9522442 100644 --- a/ui/qt/main_status_bar.h +++ b/ui/qt/main_status_bar.h @@ -28,8 +28,8 @@ #include "capchild/capture_session.h" -#include "capture_file_progress_frame.h" #include "label_stack.h" +#include "progress_frame.h" #include "wireshark_application.h" #include <QLabel> @@ -52,7 +52,7 @@ private: QLabel expert_status_; QLabel comment_label_; LabelStack info_status_; - CaptureFileProgressFrame progress_frame_; + ProgressFrame progress_frame_; LabelStack packet_status_; LabelStack profile_status_; capture_file *cap_file_; @@ -79,6 +79,8 @@ public slots: void pushFilterStatus(const QString &message); void popFilterStatus(); void pushProfileName(); + void pushBusyStatus(const QString &message, const QString &messagetip = QString()); + void popBusyStatus(); void updateCaptureStatistics(capture_session * cap_session); void updateCaptureFixedStatistics(capture_session * cap_session); |