Also connect up "Select all"

Sun, 09 Apr 2023 16:27:22 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Sun, 09 Apr 2023 16:27:22 +0300
changeset 366
ea656dead697
parent 365
9d5cb5635c18
child 367
df61cd3d5ab4

Also connect up "Select all"

src/mainwindow.ui file | annotate | diff | comparison | revisions
--- a/src/mainwindow.ui	Sun Apr 09 16:23:05 2023 +0300
+++ b/src/mainwindow.ui	Sun Apr 09 16:27:22 2023 +0300
@@ -94,6 +94,8 @@
     <addaction name="actionCopy"/>
     <addaction name="actionPaste"/>
     <addaction name="separator"/>
+    <addaction name="actionSelectAll"/>
+    <addaction name="separator"/>
     <addaction name="actionInvert"/>
     <addaction name="separator"/>
     <addaction name="actionGridFine"/>
@@ -331,6 +333,7 @@
    <addaction name="actionCut"/>
    <addaction name="actionCopy"/>
    <addaction name="actionPaste"/>
+   <addaction name="actionSelectAll"/>
   </widget>
   <action name="actionQuit">
    <property name="icon">
@@ -746,5 +749,21 @@
     </hint>
    </hints>
   </connection>
+  <connection>
+   <sender>actionSelectAll</sender>
+   <signal>triggered()</signal>
+   <receiver>modelEdit</receiver>
+   <slot>selectAll()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>-1</x>
+     <y>-1</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>1041</x>
+     <y>163</y>
+    </hint>
+   </hints>
+  </connection>
  </connections>
 </ui>

mercurial