Warning, /graphics/kxstitch/ui/TextElement.ui is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <ui version="4.0">
0003  <class>TextElement</class>
0004  <widget class="QWidget" name="TextElement">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>774</width>
0010     <height>410</height>
0011    </rect>
0012   </property>
0013   <property name="windowTitle">
0014    <string>Text Element Properties</string>
0015   </property>
0016   <layout class="QGridLayout" name="gridLayout_3">
0017    <item row="0" column="0">
0018     <widget class="QGroupBox" name="groupBox_4">
0019      <property name="title">
0020       <string>Margins</string>
0021      </property>
0022      <layout class="QGridLayout" name="gridLayout_4">
0023       <item row="0" column="0">
0024        <spacer name="horizontalSpacer_2">
0025         <property name="orientation">
0026          <enum>Qt::Horizontal</enum>
0027         </property>
0028         <property name="sizeHint" stdset="0">
0029          <size>
0030           <width>59</width>
0031           <height>20</height>
0032          </size>
0033         </property>
0034        </spacer>
0035       </item>
0036       <item row="0" column="1">
0037        <widget class="QSpinBox" name="MarginTop">
0038         <property name="toolTip">
0039          <string>Top margin in mm, internal to the border.</string>
0040         </property>
0041         <property name="alignment">
0042          <set>Qt::AlignCenter</set>
0043         </property>
0044         <property name="suffix">
0045          <string>mm</string>
0046         </property>
0047         <property name="maximum">
0048          <number>20</number>
0049         </property>
0050        </widget>
0051       </item>
0052       <item row="0" column="2">
0053        <spacer name="horizontalSpacer_3">
0054         <property name="orientation">
0055          <enum>Qt::Horizontal</enum>
0056         </property>
0057         <property name="sizeHint" stdset="0">
0058          <size>
0059           <width>59</width>
0060           <height>20</height>
0061          </size>
0062         </property>
0063        </spacer>
0064       </item>
0065       <item row="1" column="0">
0066        <widget class="QSpinBox" name="MarginLeft">
0067         <property name="toolTip">
0068          <string>Left margin in mm, internal to the border.</string>
0069         </property>
0070         <property name="alignment">
0071          <set>Qt::AlignCenter</set>
0072         </property>
0073         <property name="suffix">
0074          <string>mm</string>
0075         </property>
0076         <property name="maximum">
0077          <number>20</number>
0078         </property>
0079        </widget>
0080       </item>
0081       <item row="1" column="1">
0082        <spacer name="horizontalSpacer_4">
0083         <property name="orientation">
0084          <enum>Qt::Horizontal</enum>
0085         </property>
0086         <property name="sizeHint" stdset="0">
0087          <size>
0088           <width>60</width>
0089           <height>20</height>
0090          </size>
0091         </property>
0092        </spacer>
0093       </item>
0094       <item row="1" column="2">
0095        <widget class="QSpinBox" name="MarginRight">
0096         <property name="toolTip">
0097          <string>Right margin in mm, internal to the border.</string>
0098         </property>
0099         <property name="alignment">
0100          <set>Qt::AlignCenter</set>
0101         </property>
0102         <property name="suffix">
0103          <string>mm</string>
0104         </property>
0105         <property name="maximum">
0106          <number>20</number>
0107         </property>
0108        </widget>
0109       </item>
0110       <item row="2" column="0">
0111        <spacer name="horizontalSpacer_5">
0112         <property name="orientation">
0113          <enum>Qt::Horizontal</enum>
0114         </property>
0115         <property name="sizeHint" stdset="0">
0116          <size>
0117           <width>59</width>
0118           <height>20</height>
0119          </size>
0120         </property>
0121        </spacer>
0122       </item>
0123       <item row="2" column="1">
0124        <widget class="QSpinBox" name="MarginBottom">
0125         <property name="toolTip">
0126          <string>Bottom margin in mm, internal to the border.</string>
0127         </property>
0128         <property name="alignment">
0129          <set>Qt::AlignCenter</set>
0130         </property>
0131         <property name="suffix">
0132          <string>mm</string>
0133         </property>
0134         <property name="maximum">
0135          <number>20</number>
0136         </property>
0137        </widget>
0138       </item>
0139       <item row="2" column="2">
0140        <spacer name="horizontalSpacer_6">
0141         <property name="orientation">
0142          <enum>Qt::Horizontal</enum>
0143         </property>
0144         <property name="sizeHint" stdset="0">
0145          <size>
0146           <width>59</width>
0147           <height>20</height>
0148          </size>
0149         </property>
0150        </spacer>
0151       </item>
0152      </layout>
0153     </widget>
0154    </item>
0155    <item row="0" column="1" colspan="3">
0156     <widget class="QGroupBox" name="groupBox">
0157      <property name="title">
0158       <string>Border</string>
0159      </property>
0160      <layout class="QGridLayout" name="gridLayout">
0161       <item row="0" column="0">
0162        <widget class="QCheckBox" name="ShowBorder">
0163         <property name="toolTip">
0164          <string>Show border around the text box</string>
0165         </property>
0166         <property name="text">
0167          <string>Show border</string>
0168         </property>
0169        </widget>
0170       </item>
0171       <item row="1" column="0">
0172        <widget class="QLabel" name="label">
0173         <property name="text">
0174          <string comment="Label for color value">Color</string>
0175         </property>
0176        </widget>
0177       </item>
0178       <item row="1" column="1">
0179        <widget class="KColorCombo" name="BorderColor">
0180         <property name="enabled">
0181          <bool>false</bool>
0182         </property>
0183         <property name="toolTip">
0184          <string>The border color</string>
0185         </property>
0186        </widget>
0187       </item>
0188       <item row="2" column="0">
0189        <widget class="QLabel" name="label_2">
0190         <property name="text">
0191          <string>Line thickness</string>
0192         </property>
0193        </widget>
0194       </item>
0195       <item row="2" column="1">
0196        <widget class="QDoubleSpinBox" name="BorderThickness">
0197         <property name="enabled">
0198          <bool>false</bool>
0199         </property>
0200         <property name="toolTip">
0201          <string>Thickness of the border in 1/10 mm</string>
0202         </property>
0203         <property name="suffix">
0204          <string>mm</string>
0205         </property>
0206         <property name="decimals">
0207          <number>1</number>
0208         </property>
0209         <property name="minimum">
0210          <double>0.100000000000000</double>
0211         </property>
0212         <property name="maximum">
0213          <double>10.000000000000000</double>
0214         </property>
0215         <property name="singleStep">
0216          <double>0.100000000000000</double>
0217         </property>
0218         <property name="value">
0219          <double>0.500000000000000</double>
0220         </property>
0221        </widget>
0222       </item>
0223      </layout>
0224     </widget>
0225    </item>
0226    <item row="0" column="5" colspan="6">
0227     <widget class="QGroupBox" name="groupBox_2">
0228      <property name="title">
0229       <string comment="Groupbox title for background properties">Background</string>
0230      </property>
0231      <layout class="QGridLayout" name="gridLayout_2">
0232       <item row="0" column="0">
0233        <widget class="QCheckBox" name="FillBackground">
0234         <property name="toolTip">
0235          <string>Fill the background with a color</string>
0236         </property>
0237         <property name="text">
0238          <string>Fill background</string>
0239         </property>
0240        </widget>
0241       </item>
0242       <item row="1" column="0">
0243        <widget class="QLabel" name="label_3">
0244         <property name="text">
0245          <string comment="Label for color value">Color</string>
0246         </property>
0247        </widget>
0248       </item>
0249       <item row="1" column="1">
0250        <widget class="KColorCombo" name="BackgroundColor">
0251         <property name="enabled">
0252          <bool>false</bool>
0253         </property>
0254         <property name="toolTip">
0255          <string>Background color</string>
0256         </property>
0257        </widget>
0258       </item>
0259       <item row="2" column="0">
0260        <widget class="QLabel" name="label_4">
0261         <property name="text">
0262          <string>Transparency</string>
0263         </property>
0264        </widget>
0265       </item>
0266       <item row="2" column="1">
0267        <widget class="QSpinBox" name="BackgroundTransparency">
0268         <property name="enabled">
0269          <bool>false</bool>
0270         </property>
0271         <property name="toolTip">
0272          <string>Transparency of the text box</string>
0273         </property>
0274         <property name="maximum">
0275          <number>255</number>
0276         </property>
0277         <property name="value">
0278          <number>255</number>
0279         </property>
0280        </widget>
0281       </item>
0282      </layout>
0283     </widget>
0284    </item>
0285    <item row="1" column="0">
0286     <widget class="QFontComboBox" name="FontFamily">
0287      <property name="toolTip">
0288       <string>Text font family</string>
0289      </property>
0290     </widget>
0291    </item>
0292    <item row="1" column="1">
0293     <widget class="QSpinBox" name="PointSize">
0294      <property name="sizePolicy">
0295       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
0296        <horstretch>0</horstretch>
0297        <verstretch>0</verstretch>
0298       </sizepolicy>
0299      </property>
0300      <property name="toolTip">
0301       <string>Text point size</string>
0302      </property>
0303      <property name="minimum">
0304       <number>5</number>
0305      </property>
0306      <property name="maximum">
0307       <number>100</number>
0308      </property>
0309      <property name="value">
0310       <number>10</number>
0311      </property>
0312     </widget>
0313    </item>
0314    <item row="1" column="2">
0315     <spacer name="horizontalSpacer">
0316      <property name="orientation">
0317       <enum>Qt::Horizontal</enum>
0318      </property>
0319      <property name="sizeHint" stdset="0">
0320       <size>
0321        <width>138</width>
0322        <height>20</height>
0323       </size>
0324      </property>
0325     </spacer>
0326    </item>
0327    <item row="1" column="3">
0328     <widget class="QToolButton" name="BoldButton">
0329      <property name="toolTip">
0330       <string>Bold text</string>
0331      </property>
0332      <property name="text">
0333       <string notr="true">...</string>
0334      </property>
0335      <property name="iconSize">
0336       <size>
0337        <width>22</width>
0338        <height>22</height>
0339       </size>
0340      </property>
0341      <property name="checkable">
0342       <bool>true</bool>
0343      </property>
0344     </widget>
0345    </item>
0346    <item row="1" column="4">
0347     <widget class="QToolButton" name="ItalicButton">
0348      <property name="toolTip">
0349       <string>Italics text</string>
0350      </property>
0351      <property name="text">
0352        <string notr="true">...</string>
0353      </property>
0354      <property name="iconSize">
0355       <size>
0356        <width>22</width>
0357        <height>22</height>
0358       </size>
0359      </property>
0360      <property name="checkable">
0361       <bool>true</bool>
0362      </property>
0363     </widget>
0364    </item>
0365    <item row="1" column="5">
0366     <widget class="QToolButton" name="UnderlineButton">
0367      <property name="toolTip">
0368       <string>Underline text</string>
0369      </property>
0370      <property name="text">
0371        <string notr="true">...</string>
0372      </property>
0373      <property name="iconSize">
0374       <size>
0375        <width>22</width>
0376        <height>22</height>
0377       </size>
0378      </property>
0379      <property name="checkable">
0380       <bool>true</bool>
0381      </property>
0382     </widget>
0383    </item>
0384    <item row="1" column="6">
0385     <widget class="QToolButton" name="AlignLeft">
0386      <property name="toolTip">
0387       <string>Align left</string>
0388      </property>
0389      <property name="text">
0390        <string notr="true">...</string>
0391      </property>
0392      <property name="iconSize">
0393       <size>
0394        <width>22</width>
0395        <height>22</height>
0396       </size>
0397      </property>
0398      <property name="checkable">
0399       <bool>true</bool>
0400      </property>
0401     </widget>
0402    </item>
0403    <item row="1" column="7">
0404     <widget class="QToolButton" name="AlignHCenter">
0405      <property name="toolTip">
0406       <string>Align centrally</string>
0407      </property>
0408      <property name="text">
0409        <string notr="true">...</string>
0410      </property>
0411      <property name="iconSize">
0412       <size>
0413        <width>22</width>
0414        <height>22</height>
0415       </size>
0416      </property>
0417      <property name="checkable">
0418       <bool>true</bool>
0419      </property>
0420     </widget>
0421    </item>
0422    <item row="1" column="8">
0423     <widget class="QToolButton" name="AlignRight">
0424      <property name="toolTip">
0425       <string>Align right</string>
0426      </property>
0427      <property name="text">
0428        <string notr="true">...</string>
0429      </property>
0430      <property name="iconSize">
0431       <size>
0432        <width>22</width>
0433        <height>22</height>
0434       </size>
0435      </property>
0436      <property name="checkable">
0437       <bool>true</bool>
0438      </property>
0439     </widget>
0440    </item>
0441    <item row="1" column="9">
0442     <widget class="QToolButton" name="AlignJustify">
0443      <property name="toolTip">
0444       <string>Align justified</string>
0445      </property>
0446      <property name="text">
0447        <string notr="true">...</string>
0448      </property>
0449      <property name="iconSize">
0450       <size>
0451        <width>22</width>
0452        <height>22</height>
0453       </size>
0454      </property>
0455      <property name="checkable">
0456       <bool>true</bool>
0457      </property>
0458     </widget>
0459    </item>
0460    <item row="1" column="10">
0461     <widget class="QToolButton" name="TextColor">
0462      <property name="toolTip">
0463       <string>Text color</string>
0464      </property>
0465      <property name="text">
0466        <string notr="true">...</string>
0467      </property>
0468     </widget>
0469    </item>
0470    <item row="2" column="0" colspan="11">
0471     <widget class="KTextEdit" name="Text">
0472      <property name="autoFormatting">
0473       <set>QTextEdit::AutoAll</set>
0474      </property>
0475     </widget>
0476    </item>
0477    <item row="3" column="0" colspan="11">
0478     <widget class="QDialogButtonBox" name="DialogButtonBox">
0479      <property name="standardButtons">
0480       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
0481      </property>
0482     </widget>
0483    </item>
0484   </layout>
0485  </widget>
0486  <customwidgets>
0487   <customwidget>
0488    <class>KColorCombo</class>
0489    <extends>QComboBox</extends>
0490    <header>kcolorcombo.h</header>
0491   </customwidget>
0492   <customwidget>
0493    <class>KTextEdit</class>
0494    <extends>QTextEdit</extends>
0495    <header>ktextedit.h</header>
0496   </customwidget>
0497  </customwidgets>
0498  <resources/>
0499  <connections>
0500   <connection>
0501    <sender>ShowBorder</sender>
0502    <signal>toggled(bool)</signal>
0503    <receiver>BorderColor</receiver>
0504    <slot>setEnabled(bool)</slot>
0505    <hints>
0506     <hint type="sourcelabel">
0507      <x>254</x>
0508      <y>45</y>
0509     </hint>
0510     <hint type="destinationlabel">
0511      <x>364</x>
0512      <y>73</y>
0513     </hint>
0514    </hints>
0515   </connection>
0516   <connection>
0517    <sender>ShowBorder</sender>
0518    <signal>toggled(bool)</signal>
0519    <receiver>BorderThickness</receiver>
0520    <slot>setEnabled(bool)</slot>
0521    <hints>
0522     <hint type="sourcelabel">
0523      <x>293</x>
0524      <y>44</y>
0525     </hint>
0526     <hint type="destinationlabel">
0527      <x>375</x>
0528      <y>99</y>
0529     </hint>
0530    </hints>
0531   </connection>
0532   <connection>
0533    <sender>FillBackground</sender>
0534    <signal>toggled(bool)</signal>
0535    <receiver>BackgroundColor</receiver>
0536    <slot>setEnabled(bool)</slot>
0537    <hints>
0538     <hint type="sourcelabel">
0539      <x>485</x>
0540      <y>50</y>
0541     </hint>
0542     <hint type="destinationlabel">
0543      <x>607</x>
0544      <y>72</y>
0545     </hint>
0546    </hints>
0547   </connection>
0548   <connection>
0549    <sender>FillBackground</sender>
0550    <signal>toggled(bool)</signal>
0551    <receiver>BackgroundTransparency</receiver>
0552    <slot>setEnabled(bool)</slot>
0553    <hints>
0554     <hint type="sourcelabel">
0555      <x>516</x>
0556      <y>47</y>
0557     </hint>
0558     <hint type="destinationlabel">
0559      <x>619</x>
0560      <y>106</y>
0561     </hint>
0562    </hints>
0563   </connection>
0564  </connections>
0565 </ui>