]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/ui/ParagraphUi.ui
Tooltip change as suggested by Jean-Pierre
[lyx.git] / src / frontends / qt4 / ui / ParagraphUi.ui
index 02b3906ca08b51b0e590bf45c043ae38a74dc3c1..dd32694b06f2ddfade5b078cb7acaa1c14d1c3de 100644 (file)
 <ui version="4.0" >
- <author></author>
- <comment></comment>
- <exportmacro></exportmacro>
  <class>ParagraphUi</class>
- <widget class="QWidget" name="ParagraphUi" >
+ <widget class="QDialog" name="ParagraphUi" >
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>222</width>
-    <height>488</height>
+    <width>438</width>
+    <height>292</height>
    </rect>
   </property>
-  <property name="sizePolicy" >
-   <sizepolicy>
-    <hsizetype>5</hsizetype>
-    <vsizetype>5</vsizetype>
-    <horstretch>0</horstretch>
-    <verstretch>0</verstretch>
-   </sizepolicy>
-  </property>
-  <property name="minimumSize" >
-   <size>
-    <width>222</width>
-    <height>16</height>
-   </size>
-  </property>
   <property name="focusPolicy" >
    <enum>Qt::NoFocus</enum>
   </property>
   <property name="windowTitle" >
    <string/>
   </property>
-  <widget class="QWidget" name="" >
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>440</y>
-     <width>201</width>
-     <height>26</height>
-    </rect>
+  <layout class="QGridLayout" >
+   <property name="margin" >
+    <number>9</number>
    </property>
-   <layout class="QHBoxLayout" >
-    <property name="margin" >
-     <number>0</number>
-    </property>
-    <property name="spacing" >
-     <number>6</number>
-    </property>
-    <item>
-     <widget class="QPushButton" name="restorePB" >
-      <property name="text" >
-       <string>Restore</string>
-      </property>
-      <property name="autoDefault" >
-       <bool>false</bool>
-      </property>
-     </widget>
-    </item>
-    <item>
-     <spacer>
-      <property name="orientation" >
-       <enum>Qt::Horizontal</enum>
-      </property>
-      <property name="sizeType" >
-       <enum>QSizePolicy::Expanding</enum>
-      </property>
-      <property name="sizeHint" >
-       <size>
-        <width>20</width>
-        <height>20</height>
-       </size>
-      </property>
-     </spacer>
-    </item>
-    <item>
-     <widget class="QPushButton" name="applyPB" >
-      <property name="text" >
-       <string>Apply</string>
-      </property>
-      <property name="autoDefault" >
-       <bool>false</bool>
-      </property>
-     </widget>
-    </item>
-   </layout>
-  </widget>
-  <widget class="QGroupBox" name="groupBox" >
-   <property name="geometry" >
-    <rect>
-     <x>11</x>
-     <y>11</y>
-     <width>201</width>
-     <height>51</height>
-    </rect>
+   <property name="spacing" >
+    <number>6</number>
    </property>
-   <property name="title" >
-    <string>Line spacing</string>
-   </property>
-   <widget class="QLineEdit" name="linespacingValue" >
-    <property name="enabled" >
-     <bool>false</bool>
-    </property>
-    <property name="geometry" >
-     <rect>
-      <x>80</x>
-      <y>20</y>
-      <width>111</width>
-      <height>22</height>
-     </rect>
-    </property>
-   </widget>
-   <widget class="QComboBox" name="linespacing" >
-    <property name="geometry" >
-     <rect>
-      <x>10</x>
-      <y>20</y>
-      <width>63</width>
-      <height>20</height>
-     </rect>
-    </property>
-    <item>
-     <property name="text" >
-      <string>Default</string>
+   <item row="4" column="0" colspan="2" >
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Horizontal</enum>
      </property>
-    </item>
-    <item>
-     <property name="text" >
-      <string>Single</string>
+     <property name="sizeHint" >
+      <size>
+       <width>281</width>
+       <height>31</height>
+      </size>
      </property>
-    </item>
-    <item>
-     <property name="text" >
-      <string>1.5</string>
+    </spacer>
+   </item>
+   <item row="4" column="2" >
+    <widget class="QCheckBox" name="synchronizedViewCB" >
+     <property name="layoutDirection" >
+      <enum>Qt::LeftToRight</enum>
      </property>
-    </item>
-    <item>
      <property name="text" >
-      <string>Double</string>
+      <string>I&amp;mmediate Apply</string>
      </property>
-    </item>
-    <item>
-     <property name="text" >
-      <string>Custom</string>
+    </widget>
+   </item>
+   <item row="1" column="0" >
+    <widget class="QGroupBox" name="labelwidthGB" >
+     <property name="enabled" >
+      <bool>false</bool>
      </property>
-    </item>
-   </widget>
-  </widget>
-  <widget class="QCheckBox" name="indentCB" >
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>250</y>
-     <width>201</width>
-     <height>19</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>Indent Paragraph</string>
-   </property>
-  </widget>
-  <widget class="QGroupBox" name="aligmentGB" >
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>70</y>
-     <width>201</width>
-     <height>155</height>
-    </rect>
-   </property>
-   <property name="sizePolicy" >
-    <sizepolicy>
-     <hsizetype>3</hsizetype>
-     <vsizetype>5</vsizetype>
-     <horstretch>0</horstretch>
-     <verstretch>0</verstretch>
-    </sizepolicy>
-   </property>
-   <property name="title" >
-    <string>Alignment</string>
-   </property>
-   <layout class="QGridLayout" >
-    <property name="margin" >
-     <number>9</number>
-    </property>
-    <property name="spacing" >
-     <number>6</number>
-    </property>
-    <item row="4" column="0" >
-     <widget class="QRadioButton" name="alignRightRB" >
-      <property name="text" >
-       <string>Right</string>
-      </property>
-     </widget>
-    </item>
-    <item row="3" column="0" >
-     <widget class="QRadioButton" name="alignCenterRB" >
-      <property name="text" >
-       <string>Center</string>
-      </property>
-     </widget>
-    </item>
-    <item row="2" column="0" >
-     <widget class="QRadioButton" name="alignLeftRB" >
-      <property name="text" >
-       <string>Left</string>
-      </property>
-     </widget>
-    </item>
-    <item row="1" column="0" >
-     <widget class="QRadioButton" name="alignJustRB" >
-      <property name="text" >
-       <string>Justified</string>
-      </property>
-     </widget>
-    </item>
-    <item row="0" column="0" >
-     <widget class="QRadioButton" name="alignDefaultRB" >
-      <property name="font" >
-       <font>
-        <family>MS Shell Dlg 2</family>
-        <pointsize>8</pointsize>
-        <weight>50</weight>
-        <italic>false</italic>
-        <bold>false</bold>
-        <underline>false</underline>
-        <strikeout>false</strikeout>
-       </font>
-      </property>
-      <property name="toolTip" >
-       <string>Use the default alignment for this paragraph, whatever it is.</string>
+     <property name="title" >
+      <string>Label Width</string>
+     </property>
+     <property name="flat" >
+      <bool>true</bool>
+     </property>
+     <layout class="QGridLayout" >
+      <property name="margin" >
+       <number>9</number>
       </property>
-      <property name="text" >
-       <string>Paragraph's Default</string>
+      <property name="spacing" >
+       <number>6</number>
       </property>
-     </widget>
-    </item>
-   </layout>
-  </widget>
-  <widget class="QGroupBox" name="labelwidthGB" >
-   <property name="enabled" >
-    <bool>false</bool>
-   </property>
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>280</y>
-     <width>201</width>
-     <height>107</height>
-    </rect>
-   </property>
-   <property name="sizePolicy" >
-    <sizepolicy>
-     <hsizetype>5</hsizetype>
-     <vsizetype>1</vsizetype>
-     <horstretch>0</horstretch>
-     <verstretch>0</verstretch>
-    </sizepolicy>
-   </property>
-   <property name="title" >
-    <string>Label Width</string>
-   </property>
-   <layout class="QGridLayout" >
-    <property name="margin" >
-     <number>9</number>
-    </property>
-    <property name="spacing" >
-     <number>6</number>
-    </property>
-    <item row="0" column="1" >
-     <widget class="QLineEdit" name="labelWidth" >
-      <property name="toolTip" >
-       <string>This text defines the width of the paragraph label</string>
+      <item row="0" column="0" >
+       <widget class="QLabel" name="TextLabel2" >
+        <property name="toolTip" >
+         <string>This text defines the width of the paragraph label</string>
+        </property>
+        <property name="text" >
+         <string>Lo&amp;ngest label</string>
+        </property>
+        <property name="buddy" >
+         <cstring>labelWidth</cstring>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="1" >
+       <widget class="QLineEdit" name="labelWidth" >
+        <property name="toolTip" >
+         <string>This text defines the width of the paragraph label</string>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item row="0" column="0" >
+    <widget class="QGroupBox" name="groupBox" >
+     <property name="title" >
+      <string>Line &amp;spacing</string>
+     </property>
+     <property name="flat" >
+      <bool>true</bool>
+     </property>
+     <layout class="QGridLayout" >
+      <property name="margin" >
+       <number>9</number>
       </property>
-     </widget>
-    </item>
-    <item row="0" column="0" >
-     <widget class="QLabel" name="TextLabel2" >
-      <property name="toolTip" >
-       <string>This text defines the width of the paragraph label</string>
+      <property name="spacing" >
+       <number>6</number>
       </property>
-      <property name="text" >
-       <string>&amp;Longest label</string>
+      <item row="0" column="1" >
+       <widget class="QLineEdit" name="linespacingValue" >
+        <property name="enabled" >
+         <bool>false</bool>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="0" >
+       <widget class="QComboBox" name="linespacing" >
+        <item>
+         <property name="text" >
+          <string>Default</string>
+         </property>
+        </item>
+        <item>
+         <property name="text" >
+          <string>Single</string>
+         </property>
+        </item>
+        <item>
+         <property name="text" >
+          <string>1.5</string>
+         </property>
+        </item>
+        <item>
+         <property name="text" >
+          <string>Double</string>
+         </property>
+        </item>
+        <item>
+         <property name="text" >
+          <string>Custom</string>
+         </property>
+        </item>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item row="2" column="0" >
+    <widget class="QCheckBox" name="indentCB" >
+     <property name="text" >
+      <string>&amp;Indent Paragraph</string>
+     </property>
+    </widget>
+   </item>
+   <item rowspan="3" row="0" column="1" colspan="2" >
+    <widget class="QGroupBox" name="aligmentGB" >
+     <property name="title" >
+      <string>Alignment</string>
+     </property>
+     <property name="flat" >
+      <bool>true</bool>
+     </property>
+     <layout class="QGridLayout" >
+      <property name="margin" >
+       <number>9</number>
       </property>
-      <property name="buddy" >
-       <cstring>labelWidth</cstring>
+      <property name="spacing" >
+       <number>6</number>
       </property>
-     </widget>
-    </item>
-   </layout>
-  </widget>
-  <widget class="QCheckBox" name="synchronizedViewCB" >
-   <property name="geometry" >
-    <rect>
-     <x>10</x>
-     <y>410</y>
-     <width>201</width>
-     <height>19</height>
-    </rect>
-   </property>
-   <property name="text" >
-    <string>Synchronized view</string>
-   </property>
-  </widget>
+      <item row="1" column="0" >
+       <widget class="QRadioButton" name="alignJustRB" >
+        <property name="text" >
+         <string>&amp;Justified</string>
+        </property>
+       </widget>
+      </item>
+      <item row="2" column="0" >
+       <widget class="QRadioButton" name="alignLeftRB" >
+        <property name="text" >
+         <string>&amp;Left</string>
+        </property>
+       </widget>
+      </item>
+      <item row="3" column="0" >
+       <widget class="QRadioButton" name="alignCenterRB" >
+        <property name="text" >
+         <string>C&amp;enter</string>
+        </property>
+       </widget>
+      </item>
+      <item row="4" column="0" >
+       <widget class="QRadioButton" name="alignRightRB" >
+        <property name="text" >
+         <string>Ri&amp;ght</string>
+        </property>
+       </widget>
+      </item>
+      <item row="0" column="0" >
+       <widget class="QRadioButton" name="alignDefaultRB" >
+        <property name="toolTip" >
+         <string>Use the default alignment for this paragraph, whatever it is.</string>
+        </property>
+        <property name="text" >
+         <string>Paragraph's &amp;Default</string>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </widget>
+   </item>
+   <item row="5" column="0" colspan="3" >
+    <layout class="QHBoxLayout" >
+     <property name="margin" >
+      <number>0</number>
+     </property>
+     <property name="spacing" >
+      <number>6</number>
+     </property>
+     <item>
+      <widget class="QPushButton" name="restorePB" >
+       <property name="text" >
+        <string>&amp;Restore</string>
+       </property>
+       <property name="autoDefault" >
+        <bool>false</bool>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>31</width>
+         <height>27</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+     <item>
+      <widget class="QPushButton" name="okPB" >
+       <property name="text" >
+        <string>&amp;OK</string>
+       </property>
+       <property name="default" >
+        <bool>true</bool>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="applyPB" >
+       <property name="text" >
+        <string>&amp;Apply</string>
+       </property>
+       <property name="autoDefault" >
+        <bool>false</bool>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <widget class="QPushButton" name="closePB" >
+       <property name="text" >
+        <string>&amp;Close</string>
+       </property>
+       <property name="autoDefault" >
+        <bool>false</bool>
+       </property>
+      </widget>
+     </item>
+    </layout>
+   </item>
+   <item row="3" column="0" colspan="3" >
+    <spacer>
+     <property name="orientation" >
+      <enum>Qt::Vertical</enum>
+     </property>
+     <property name="sizeHint" >
+      <size>
+       <width>351</width>
+       <height>16</height>
+      </size>
+     </property>
+    </spacer>
+   </item>
+  </layout>
  </widget>
- <pixmapfunction></pixmapfunction>
  <tabstops>
   <tabstop>linespacing</tabstop>
   <tabstop>linespacingValue</tabstop>
-  <tabstop>indentCB</tabstop>
   <tabstop>labelWidth</tabstop>
+  <tabstop>indentCB</tabstop>
+  <tabstop>alignDefaultRB</tabstop>
+  <tabstop>alignJustRB</tabstop>
+  <tabstop>alignLeftRB</tabstop>
+  <tabstop>alignCenterRB</tabstop>
+  <tabstop>alignRightRB</tabstop>
+  <tabstop>synchronizedViewCB</tabstop>
   <tabstop>restorePB</tabstop>
+  <tabstop>okPB</tabstop>
   <tabstop>applyPB</tabstop>
+  <tabstop>closePB</tabstop>
  </tabstops>
  <includes>
-  <include location="local" >qt_helpers.h</include>
+  <include location="local" >qt_i18n.h</include>
  </includes>
  <resources/>
  <connections/>