aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainwindow.ui
diff options
context:
space:
mode:
authorConfuSomu2023-08-02 02:10:55 +0200
committerConfuSomu2023-08-02 02:10:55 +0200
commit88e272b40dd9b0a182662ac77296dc2330b2027f (patch)
tree44913cf55601ae6a8249e31c8723a6e86ae31c97 /src/mainwindow.ui
parent42434314d65cdc29402c7adcb08c2fa5113f7ca2 (diff)
downloadActorViewer-88e272b40dd9b0a182662ac77296dc2330b2027f.tar
ActorViewer-88e272b40dd9b0a182662ac77296dc2330b2027f.tar.gz
ActorViewer-88e272b40dd9b0a182662ac77296dc2330b2027f.zip
Make a QAction from the Search button
This allows us to have an action in the menu bar and a keyboard shortcut.
Diffstat (limited to 'src/mainwindow.ui')
-rw-r--r--src/mainwindow.ui9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index f4a9263..f4bd5a0 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -125,6 +125,7 @@ p, li { white-space: pre-wrap; }
<string>Edit</string>
</property>
<addaction name="actionCopy_status"/>
+ <addaction name="actionFind"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuEdit"/>
@@ -247,6 +248,14 @@ p, li { white-space: pre-wrap; }
<string>Copy status text</string>
</property>
</action>
+ <action name="actionFind">
+ <property name="text">
+ <string>Find in list…</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+F</string>
+ </property>
+ </action>
</widget>
<tabstops>
<tabstop>listWidget</tabstop>