aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/stats_tree_dialog.ui
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-12-08 11:09:54 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-12-08 11:09:54 +0000
commit006f84a565f2581e4e1e9aefecceac64658466e8 (patch)
tree6225f30bfcc97374e967bf5cfad6cca66dbc6566 /ui/qt/stats_tree_dialog.ui
parent4ed05f22b80ebb69bcebce5bb97d04ae42e96ffd (diff)
From Deon van der Westhuysen via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9452
Patch: Stats_tree enhancements for sorting, averages and burst rate Add sort, save-as and new columns to Qt ui, remove old functions stats_tree.c / stats_tree_priv.h: Make all columns sortable. Remove unneeded functions stats_tree_get_strs_from_node, stats_tree_branch_to_str and stats_tree_is_sortable_column. stats_tree_stat.c: Set all columns sortable. stats_tree_dialog.cpp / stats_tree_dialog.h: Add new stats_tree columns. Make columns sortable. Remove copy to csv and copy to yaml buttons. Add copy to clipboard as plain text and save as buttons. stats_tree_dialog.ui: Remove copy to csv and copy to yaml buttons. Add copy to clipboard as plain text and save as buttons. Only define one column in ui, rest are added dynmically. From me : fix trailing whitespace svn path=/trunk/; revision=53848
Diffstat (limited to 'ui/qt/stats_tree_dialog.ui')
-rw-r--r--ui/qt/stats_tree_dialog.ui29
1 files changed, 7 insertions, 22 deletions
diff --git a/ui/qt/stats_tree_dialog.ui b/ui/qt/stats_tree_dialog.ui
index 7ae32e7cc4..11be8132be 100644
--- a/ui/qt/stats_tree_dialog.ui
+++ b/ui/qt/stats_tree_dialog.ui
@@ -21,21 +21,6 @@
<string notr="true">Item</string>
</property>
</column>
- <column>
- <property name="text">
- <string>Count</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Rate (ms)</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Percent</string>
- </property>
- </column>
</widget>
</item>
<item>
@@ -73,26 +58,26 @@
</widget>
</item>
</layout>
- <action name="actionCopyAsCSV">
+ <action name="actionCopyToClipboard">
<property name="text">
- <string>Copy as CSV</string>
+ <string>Copy</string>
</property>
<property name="toolTip">
- <string>Copy the tree as CSV</string>
+ <string>Copy a text representation of the tree to the clipboard</string>
</property>
<property name="shortcut">
<string>Ctrl+C</string>
</property>
</action>
- <action name="actionCopyAsYAML">
+ <action name="actionSaveAs">
<property name="text">
- <string>Copy as YAML</string>
+ <string>Save as...</string>
</property>
<property name="toolTip">
- <string>Copy the tree as YAML</string>
+ <string>Save the stats_tree data in various formats</string>
</property>
<property name="shortcut">
- <string>Ctrl+Y</string>
+ <string>Ctrl+S</string>
</property>
</action>
</widget>