summaryrefslogtreecommitdiff
path: root/ui/qt/main_status_bar.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-03-04 08:12:58 -0800
committerGerald Combs <gerald@wireshark.org>2015-03-05 00:49:11 +0000
commit0a4f93ab2bc7d4f45bb97d25a953e474d79550f3 (patch)
treedfa87b514298a3ebf83cf13a4fdec9fff598983b /ui/qt/main_status_bar.h
parent9df502aff5981c7759968ad1a07365c6cfd3961c (diff)
downloadwireshark-0a4f93ab2bc7d4f45bb97d25a953e474d79550f3.tar.gz
Qt: Show the full file path in the status bar.
Add file_size_to_qstring and use it to show the file size. Add a "shrinkable" property to LabelStack. Make the info status shrinkable. Elide text so that long file paths don't widen the main window. Change-Id: Ieb1caaf7e016384609d41fcabaa63d8f7a293eff Bug: 10949 Reviewed-on: https://code.wireshark.org/review/7534 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/main_status_bar.h b/ui/qt/main_status_bar.h
index 47d438e20e..49accc6ae9 100644
--- a/ui/qt/main_status_bar.h
+++ b/ui/qt/main_status_bar.h
@@ -76,9 +76,9 @@ public slots:
void updateCaptureStatistics(capture_session * cap_session);
private slots:
- void pushPacketStatus(QString &message);
+ void pushPacketStatus(const QString &message);
void popPacketStatus();
- void pushProfileStatus(QString &message);
+ void pushProfileStatus(const QString &message);
void popProfileStatus();
void toggleBackground(bool enabled);
void switchToProfile();