Qt: Show the full file path in the status bar.
authorGerald Combs <gerald@wireshark.org>
Wed, 4 Mar 2015 16:12:58 +0000 (08:12 -0800)
committerGerald Combs <gerald@wireshark.org>
Thu, 5 Mar 2015 00:49:11 +0000 (00:49 +0000)
commit0a4f93ab2bc7d4f45bb97d25a953e474d79550f3
treedfa87b514298a3ebf83cf13a4fdec9fff598983b
parent9df502aff5981c7759968ad1a07365c6cfd3961c
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>
ui/qt/capture_file_properties_dialog.cpp
ui/qt/elided_label.cpp
ui/qt/label_stack.cpp
ui/qt/label_stack.h
ui/qt/main_status_bar.cpp
ui/qt/main_status_bar.h
ui/qt/main_window_slots.cpp
ui/qt/qt_ui_utils.cpp
ui/qt/qt_ui_utils.h