[LyX/master] MasterChild.ui: Group radio buttons (part of #12470)

Juergen Spitzmueller spitz at lyx.org
Tue Dec 27 13:13:24 UTC 2022


commit 4c8a698a281bf68fe4b70ee3c0a5a2348d413a1f
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Tue Dec 27 15:09:37 2022 +0100

    MasterChild.ui: Group radio buttons (part of #12470)
---
 src/frontends/qt/ui/MasterChildUi.ui |   47 ++++++++++++++++++++-------------
 1 files changed, 28 insertions(+), 19 deletions(-)

diff --git a/src/frontends/qt/ui/MasterChildUi.ui b/src/frontends/qt/ui/MasterChildUi.ui
index f42e800..4e2e19d 100644
--- a/src/frontends/qt/ui/MasterChildUi.ui
+++ b/src/frontends/qt/ui/MasterChildUi.ui
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>306</width>
-    <height>435</height>
+    <width>359</width>
+    <height>444</height>
    </rect>
   </property>
   <property name="windowTitle">
@@ -23,16 +23,6 @@
       <bool>true</bool>
      </property>
      <layout class="QGridLayout" name="gridLayout_2">
-      <item row="0" column="0">
-       <widget class="QRadioButton" name="includeallRB">
-        <property name="toolTip">
-         <string>Include all subdocuments in the output</string>
-        </property>
-        <property name="text">
-         <string>&Include all children</string>
-        </property>
-       </widget>
-      </item>
       <item row="1" column="0">
        <widget class="QRadioButton" name="includeonlyRB">
         <property name="toolTip">
@@ -41,15 +31,22 @@
         <property name="text">
          <string>Include only &selected children</string>
         </property>
+        <attribute name="buttonGroup">
+         <string notr="true">buttonGroup</string>
+        </attribute>
        </widget>
       </item>
-      <item row="2" column="0">
-       <widget class="QTreeWidget" name="childrenTW">
-        <column>
-         <property name="text">
-          <string notr="true">1</string>
-         </property>
-        </column>
+      <item row="0" column="0">
+       <widget class="QRadioButton" name="includeallRB">
+        <property name="toolTip">
+         <string>Include all subdocuments in the output</string>
+        </property>
+        <property name="text">
+         <string>&Include all children</string>
+        </property>
+        <attribute name="buttonGroup">
+         <string notr="true">buttonGroup</string>
+        </attribute>
        </widget>
       </item>
       <item row="3" column="0">
@@ -94,6 +91,15 @@
         </layout>
        </widget>
       </item>
+      <item row="2" column="0">
+       <widget class="QTreeWidget" name="childrenTW">
+        <column>
+         <property name="text">
+          <string notr="true">1</string>
+         </property>
+        </column>
+       </widget>
+      </item>
      </layout>
     </widget>
    </item>
@@ -104,4 +110,7 @@
  </includes>
  <resources/>
  <connections/>
+ <buttongroups>
+  <buttongroup name="buttonGroup"/>
+ </buttongroups>
 </ui>


More information about the lyx-cvs mailing list