Jean-Marc Lasgouttes wrote:
Is there a way to tell qtdesigner not to output this?

i don't know why they are set

the attached patch removes them

ok to commit?

ed.


Index: qt3/ui/QAskForTextDialog.ui
===================================================================
--- qt3/ui/QAskForTextDialog.ui (revision 14591)
+++ qt3/ui/QAskForTextDialog.ui (working copy)
@@ -99,9 +99,6 @@
                     <property name="text">
                         <string>&amp;OK</string>
                     </property>
-                    <property name="accel">
-                        <string>Alt+O</string>
-                    </property>
                     <property name="default">
                         <bool>true</bool>
                     </property>
Index: qt3/ui/QCitationFindDialogBase.ui
===================================================================
--- qt3/ui/QCitationFindDialogBase.ui   (revision 14591)
+++ qt3/ui/QCitationFindDialogBase.ui   (working copy)
@@ -224,9 +224,6 @@
                     <property name="text">
                         <string>&amp;Next</string>
                     </property>
-                    <property name="accel">
-                        <string>Alt+N</string>
-                    </property>
                     <property name="autoDefault">
                         <bool>false</bool>
                     </property>
Index: qt3/ui/QPrefFileformatsModule.ui
===================================================================
--- qt3/ui/QPrefFileformatsModule.ui    (revision 14591)
+++ qt3/ui/QPrefFileformatsModule.ui    (working copy)
@@ -56,9 +56,6 @@
                     <property name="text">
                         <string>&amp;Document format</string>
                     </property>
-                    <property name="accel">
-                        <string>Alt+D</string>
-                    </property>
                     <property name="toolTip" stdset="0">
                         <string>Tell whether this format is a document format. 
A document can not be exported to or viewed in a non-document format.</string>
                     </property>
Index: qt3/ui/QTabularDialogBase.ui
===================================================================
--- qt3/ui/QTabularDialogBase.ui        (revision 14591)
+++ qt3/ui/QTabularDialogBase.ui        (working copy)
@@ -217,9 +217,6 @@
                         <property name="text">
                             <string>&amp;Rotate table 90 degrees</string>
                         </property>
-                        <property name="accel">
-                            <string>Alt+R</string>
-                        </property>
                         <property name="toolTip" stdset="0">
                             <string>Rotate the table by 90 degrees</string>
                         </property>
@@ -231,9 +228,6 @@
                         <property name="text">
                             <string>Rotate &amp;cell 90 degrees</string>
                         </property>
-                        <property name="accel">
-                            <string>Alt+C</string>
-                        </property>
                         <property name="toolTip" stdset="0">
                             <string>Rotate this cell by 90 degrees</string>
                         </property>
@@ -824,9 +818,6 @@
                                         <property name="text">
                                             <string>Fo&amp;rmal</string>
                                         </property>
-                                        <property name="accel">
-                                            <string>Alt+R</string>
-                                        </property>
                                         <property name="toolTip" stdset="0">
                                             <string>Use formal (a.k.a. 
booktabs) border style (no vertical borders)</string>
                                         </property>
@@ -838,9 +829,6 @@
                                         <property name="text">
                                             <string>De&amp;fault</string>
                                         </property>
-                                        <property name="accel">
-                                            <string>Alt+F</string>
-                                        </property>
                                         <property name="toolTip" stdset="0">
                                             <string>Use default (grid-like) 
border style</string>
                                         </property>
Index: qt3/ui/QURLDialogBase.ui
===================================================================
--- qt3/ui/QURLDialogBase.ui    (revision 14591)
+++ qt3/ui/QURLDialogBase.ui    (working copy)
@@ -93,9 +93,6 @@
                     <property name="text">
                         <string>&amp;Generate hyperlink</string>
                     </property>
-                    <property name="accel">
-                        <string>Alt+G</string>
-                    </property>
                     <property name="toolTip" stdset="0">
                         <string>Output as a hyperlink ?</string>
                     </property>
Index: qt3/ui/FontModuleBase.ui
===================================================================
--- qt3/ui/FontModuleBase.ui    (revision 14591)
+++ qt3/ui/FontModuleBase.ui    (working copy)
@@ -163,9 +163,6 @@
                     <property name="text">
                         <string>Use true S&amp;mall Caps</string>
                     </property>
-                    <property name="accel">
-                        <string>Alt+M</string>
-                    </property>
                 </widget>
                 <widget class="QCheckBox" row="1" column="0">
                     <property name="name">
@@ -174,9 +171,6 @@
                     <property name="text">
                         <string>Use &amp;Old Style Figures</string>
                     </property>
-                    <property name="accel">
-                        <string>Alt+O</string>
-                    </property>
                 </widget>
             </grid>
         </widget>
Index: qt3/ui/QPrefUIModule.ui
===================================================================
--- qt3/ui/QPrefUIModule.ui     (revision 14591)
+++ qt3/ui/QPrefUIModule.ui     (working copy)
@@ -215,9 +215,6 @@
                             <property name="text">
                                 <string>B&amp;ackup documents </string>
                             </property>
-                            <property name="accel">
-                                <string>Alt+A</string>
-                            </property>
                         </widget>
                     </grid>
                 </widget>
@@ -466,9 +463,6 @@
             <property name="text">
                 <string>Cursor follows &amp;scrollbar</string>
             </property>
-            <property name="accel">
-                <string>Alt+S</string>
-            </property>
         </widget>
         <spacer>
             <property name="name">
Index: qt3/ui/QViewSourceDialogBase.ui
===================================================================
--- qt3/ui/QViewSourceDialogBase.ui     (revision 14591)
+++ qt3/ui/QViewSourceDialogBase.ui     (working copy)
@@ -128,9 +128,6 @@
                     <property name="text">
                         <string>&amp;Close</string>
                     </property>
-                    <property name="accel">
-                        <string>Alt+C</string>
-                    </property>
                 </widget>
             </hbox>
         </widget>
Index: qt3/ui/QBranchDialogBase.ui
===================================================================
--- qt3/ui/QBranchDialogBase.ui (revision 14591)
+++ qt3/ui/QBranchDialogBase.ui (working copy)
@@ -8,7 +8,7 @@
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>188</width>
+            <width>196</width>
             <height>129</height>
         </rect>
     </property>
@@ -35,9 +35,6 @@
             <property name="text">
                 <string>&amp;OK</string>
             </property>
-            <property name="accel">
-                <string>Alt+O</string>
-            </property>
             <property name="default">
                 <bool>false</bool>
             </property>
Index: qt4/ui/FontUi.ui
===================================================================
--- qt4/ui/FontUi.ui    (revision 14591)
+++ qt4/ui/FontUi.ui    (working copy)
@@ -55,9 +55,6 @@
         <property name="text" >
          <string>Use true S&amp;mall Caps</string>
         </property>
-        <property name="shortcut" >
-         <string>Alt+M</string>
-        </property>
        </widget>
       </item>
       <item row="1" column="0" >
@@ -65,9 +62,6 @@
         <property name="text" >
          <string>Use &amp;Old Style Figures</string>
         </property>
-        <property name="shortcut" >
-         <string>Alt+O</string>
-        </property>
        </widget>
       </item>
      </layout>

Reply via email to