Help dialog shortcut list updates.
Make it clear that the shortcuts are for the main window. Add and update a few tooltips. Change-Id: I9ee082a9ede95f4b727fb652437f9ed16c9ef2bf Reviewed-on: https://code.wireshark.org/review/10650 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
This commit is contained in:
parent
26ebfef4bb
commit
657b930c2d
|
@ -272,7 +272,8 @@ AboutDialog::AboutDialog(QWidget *parent) :
|
|||
bool have_shortcuts = false;
|
||||
|
||||
if (parent) {
|
||||
message = QString("<table cellpadding=\"%1\">\n").arg(one_em / 4);
|
||||
message = "<h3>Main Window Keyboard Shortcuts</h3>\n";
|
||||
message += QString("<table cellpadding=\"%1\">\n").arg(one_em / 4);
|
||||
message += "<tr><th align=\"left\">Shortcut</th><th align=\"left\">Name</th><th align=\"left\">Description</th></tr>\n";
|
||||
|
||||
QMap<QString, QPair<QString, QString> > shortcuts; // name -> (shortcut, description)
|
||||
|
|
|
@ -789,6 +789,9 @@
|
|||
<property name="text">
|
||||
<string>&Contents</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Help contents</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>F1</string>
|
||||
</property>
|
||||
|
@ -1173,6 +1176,9 @@
|
|||
<property name="text">
|
||||
<string>Description</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Copy this item's description</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+Shift+D</string>
|
||||
</property>
|
||||
|
@ -1191,6 +1197,9 @@
|
|||
<property name="text">
|
||||
<string>Field Name</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Copy this item's field name</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+Shift+F</string>
|
||||
</property>
|
||||
|
@ -1199,6 +1208,9 @@
|
|||
<property name="text">
|
||||
<string>Value</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Copy this item's value</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+Shift+V</string>
|
||||
</property>
|
||||
|
@ -2004,6 +2016,9 @@
|
|||
<property name="text">
|
||||
<string>Zoom Out</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Shrink the main window text</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+-</string>
|
||||
</property>
|
||||
|
@ -2012,6 +2027,9 @@
|
|||
<property name="text">
|
||||
<string>Normal Size</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Return the main window text to its normal size</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+0</string>
|
||||
</property>
|
||||
|
|
Loading…
Reference in New Issue