Wireshark-commits: [Wireshark-commits] master 0a4f93a: Qt: Show the full file path in the status ba
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0a4f93ab2bc7d4f45bb97d25a953e474d79550f3
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
0a4f93a by Gerald Combs (gerald@xxxxxxxxxxxxx):
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@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Actions performed:
from 9df502a Note that the Lua tests don't work in cmake.
adds 0a4f93a Qt: Show the full file path in the status bar.
Summary of changes:
ui/qt/capture_file_properties_dialog.cpp | 2 +-
ui/qt/elided_label.cpp | 4 +++
ui/qt/label_stack.cpp | 42 +++++++++++++++++++++++++++---
ui/qt/label_stack.h | 5 +++-
ui/qt/main_status_bar.cpp | 5 ++--
ui/qt/main_status_bar.h | 4 +--
ui/qt/main_window_slots.cpp | 4 ++-
ui/qt/qt_ui_utils.cpp | 10 +++++--
ui/qt/qt_ui_utils.h | 16 +++++++++---
9 files changed, 75 insertions(+), 17 deletions(-)