branchpropwindow.ui
author insilmaril
Thu, 08 Nov 2007 15:28:03 +0000
changeset 616 16d63fc9ae42
parent 481 31196a98699c
child 674 94cf31acc272
permissions -rw-r--r--
1.11.2 split up of xml helper functions. started to work on attributes
     1 <ui version="4.0" >
     2  <class>BranchPropertyWindow</class>
     3  <widget class="QWidget" name="BranchPropertyWindow" >
     4   <property name="geometry" >
     5    <rect>
     6     <x>0</x>
     7     <y>0</y>
     8     <width>257</width>
     9     <height>334</height>
    10    </rect>
    11   </property>
    12   <property name="windowTitle" >
    13    <string>Branch Property Editor</string>
    14   </property>
    15   <layout class="QVBoxLayout" >
    16    <item>
    17     <widget class="QTabWidget" name="tabWidget" >
    18      <property name="currentIndex" >
    19       <number>0</number>
    20      </property>
    21      <widget class="QWidget" name="tab" >
    22       <attribute name="title" >
    23        <string>Frame</string>
    24       </attribute>
    25       <layout class="QVBoxLayout" >
    26        <property name="spacing" >
    27         <number>6</number>
    28        </property>
    29        <property name="leftMargin" >
    30         <number>9</number>
    31        </property>
    32        <property name="topMargin" >
    33         <number>9</number>
    34        </property>
    35        <property name="rightMargin" >
    36         <number>9</number>
    37        </property>
    38        <property name="bottomMargin" >
    39         <number>9</number>
    40        </property>
    41        <item>
    42         <widget class="QGroupBox" name="groupBox" >
    43          <property name="title" >
    44           <string>Geometry</string>
    45          </property>
    46          <layout class="QGridLayout" >
    47           <item row="0" column="0" colspan="4" >
    48            <widget class="QComboBox" name="frameTypeCombo" >
    49             <property name="sizePolicy" >
    50              <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
    51               <horstretch>0</horstretch>
    52               <verstretch>0</verstretch>
    53              </sizepolicy>
    54             </property>
    55             <item>
    56              <property name="text" >
    57               <string>No Frame</string>
    58              </property>
    59             </item>
    60             <item>
    61              <property name="text" >
    62               <string>Rectangle</string>
    63              </property>
    64             </item>
    65             <item>
    66              <property name="text" >
    67               <string>Ellipse</string>
    68              </property>
    69             </item>
    70            </widget>
    71           </item>
    72           <item row="1" column="3" >
    73            <spacer>
    74             <property name="orientation" >
    75              <enum>Qt::Horizontal</enum>
    76             </property>
    77             <property name="sizeHint" >
    78              <size>
    79               <width>40</width>
    80               <height>20</height>
    81              </size>
    82             </property>
    83            </spacer>
    84           </item>
    85           <item row="1" column="1" colspan="2" >
    86            <widget class="QLabel" name="framePaddingLabel" >
    87             <property name="text" >
    88              <string>Padding</string>
    89             </property>
    90            </widget>
    91           </item>
    92           <item row="2" column="1" colspan="2" >
    93            <widget class="QLabel" name="frameBorderLabel" >
    94             <property name="text" >
    95              <string>Borderline width</string>
    96             </property>
    97            </widget>
    98           </item>
    99           <item row="1" column="0" >
   100            <widget class="QSpinBox" name="framePaddingSpinBox" >
   101             <property name="maximum" >
   102              <number>50</number>
   103             </property>
   104            </widget>
   105           </item>
   106           <item row="2" column="0" >
   107            <widget class="QSpinBox" name="frameWidthSpinBox" >
   108             <property name="minimum" >
   109              <number>1</number>
   110             </property>
   111             <property name="maximum" >
   112              <number>20</number>
   113             </property>
   114            </widget>
   115           </item>
   116          </layout>
   117         </widget>
   118        </item>
   119        <item>
   120         <layout class="QVBoxLayout" >
   121          <property name="spacing" >
   122           <number>6</number>
   123          </property>
   124          <property name="leftMargin" >
   125           <number>0</number>
   126          </property>
   127          <property name="topMargin" >
   128           <number>0</number>
   129          </property>
   130          <property name="rightMargin" >
   131           <number>0</number>
   132          </property>
   133          <property name="bottomMargin" >
   134           <number>0</number>
   135          </property>
   136          <item>
   137           <widget class="QGroupBox" name="colorGroupBox" >
   138            <property name="sizePolicy" >
   139             <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
   140              <horstretch>0</horstretch>
   141              <verstretch>0</verstretch>
   142             </sizepolicy>
   143            </property>
   144            <property name="title" >
   145             <string>Colors</string>
   146            </property>
   147            <layout class="QGridLayout" >
   148             <property name="leftMargin" >
   149              <number>7</number>
   150             </property>
   151             <property name="topMargin" >
   152              <number>7</number>
   153             </property>
   154             <property name="rightMargin" >
   155              <number>7</number>
   156             </property>
   157             <property name="bottomMargin" >
   158              <number>7</number>
   159             </property>
   160             <property name="horizontalSpacing" >
   161              <number>6</number>
   162             </property>
   163             <property name="verticalSpacing" >
   164              <number>6</number>
   165             </property>
   166             <item row="0" column="0" >
   167              <widget class="QPushButton" name="framePenColorButton" >
   168               <property name="maximumSize" >
   169                <size>
   170                 <width>20</width>
   171                 <height>16777215</height>
   172                </size>
   173               </property>
   174               <property name="text" >
   175                <string/>
   176               </property>
   177              </widget>
   178             </item>
   179             <item row="0" column="1" >
   180              <widget class="QLabel" name="penColorLabelDesc" >
   181               <property name="sizePolicy" >
   182                <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
   183                 <horstretch>0</horstretch>
   184                 <verstretch>0</verstretch>
   185                </sizepolicy>
   186               </property>
   187               <property name="text" >
   188                <string>Borderline color</string>
   189               </property>
   190               <property name="buddy" >
   191                <cstring>framePenColorButton</cstring>
   192               </property>
   193              </widget>
   194             </item>
   195             <item row="1" column="0" >
   196              <widget class="QPushButton" name="frameBrushColorButton" >
   197               <property name="maximumSize" >
   198                <size>
   199                 <width>20</width>
   200                 <height>16777215</height>
   201                </size>
   202               </property>
   203               <property name="text" >
   204                <string/>
   205               </property>
   206              </widget>
   207             </item>
   208             <item row="1" column="1" >
   209              <widget class="QLabel" name="brushColorLabelDesc" >
   210               <property name="text" >
   211                <string>Background color</string>
   212               </property>
   213               <property name="buddy" >
   214                <cstring>frameBrushColorButton</cstring>
   215               </property>
   216              </widget>
   217             </item>
   218             <item row="0" column="2" >
   219              <spacer>
   220               <property name="orientation" >
   221                <enum>Qt::Horizontal</enum>
   222               </property>
   223               <property name="sizeHint" >
   224                <size>
   225                 <width>40</width>
   226                 <height>20</height>
   227                </size>
   228               </property>
   229              </spacer>
   230             </item>
   231            </layout>
   232           </widget>
   233          </item>
   234         </layout>
   235        </item>
   236       </layout>
   237      </widget>
   238      <widget class="QWidget" name="Layout" >
   239       <attribute name="title" >
   240        <string>Layout</string>
   241       </attribute>
   242       <layout class="QVBoxLayout" >
   243        <item>
   244         <layout class="QVBoxLayout" >
   245          <item>
   246           <widget class="QCheckBox" name="incImgHor" >
   247            <property name="text" >
   248             <string>Include images horizontally</string>
   249            </property>
   250           </widget>
   251          </item>
   252          <item>
   253           <widget class="QCheckBox" name="incImgVer" >
   254            <property name="text" >
   255             <string>Include images vertically</string>
   256            </property>
   257           </widget>
   258          </item>
   259         </layout>
   260        </item>
   261        <item>
   262         <spacer>
   263          <property name="orientation" >
   264           <enum>Qt::Vertical</enum>
   265          </property>
   266          <property name="sizeHint" >
   267           <size>
   268            <width>20</width>
   269            <height>40</height>
   270           </size>
   271          </property>
   272         </spacer>
   273        </item>
   274       </layout>
   275      </widget>
   276      <widget class="QWidget" name="tab_2" >
   277       <attribute name="title" >
   278        <string>Link</string>
   279       </attribute>
   280       <layout class="QVBoxLayout" >
   281        <item>
   282         <widget class="QCheckBox" name="hideLinkIfUnselected" >
   283          <property name="text" >
   284           <string>Hide link if unselected</string>
   285          </property>
   286         </widget>
   287        </item>
   288        <item>
   289         <spacer>
   290          <property name="orientation" >
   291           <enum>Qt::Vertical</enum>
   292          </property>
   293          <property name="sizeHint" >
   294           <size>
   295            <width>20</width>
   296            <height>40</height>
   297           </size>
   298          </property>
   299         </spacer>
   300        </item>
   301       </layout>
   302      </widget>
   303     </widget>
   304    </item>
   305    <item>
   306     <spacer>
   307      <property name="orientation" >
   308       <enum>Qt::Vertical</enum>
   309      </property>
   310      <property name="sizeHint" >
   311       <size>
   312        <width>20</width>
   313        <height>71</height>
   314       </size>
   315      </property>
   316     </spacer>
   317    </item>
   318    <item>
   319     <layout class="QHBoxLayout" >
   320      <property name="spacing" >
   321       <number>6</number>
   322      </property>
   323      <property name="leftMargin" >
   324       <number>0</number>
   325      </property>
   326      <property name="topMargin" >
   327       <number>0</number>
   328      </property>
   329      <property name="rightMargin" >
   330       <number>0</number>
   331      </property>
   332      <property name="bottomMargin" >
   333       <number>0</number>
   334      </property>
   335      <item>
   336       <spacer>
   337        <property name="orientation" >
   338         <enum>Qt::Horizontal</enum>
   339        </property>
   340        <property name="sizeHint" >
   341         <size>
   342          <width>41</width>
   343          <height>31</height>
   344         </size>
   345        </property>
   346       </spacer>
   347      </item>
   348      <item>
   349       <widget class="QPushButton" name="closeButton" >
   350        <property name="text" >
   351         <string>Close</string>
   352        </property>
   353       </widget>
   354      </item>
   355     </layout>
   356    </item>
   357   </layout>
   358  </widget>
   359  <resources/>
   360  <connections>
   361   <connection>
   362    <sender>closeButton</sender>
   363    <signal>clicked()</signal>
   364    <receiver>BranchPropertyWindow</receiver>
   365    <slot>close()</slot>
   366    <hints>
   367     <hint type="sourcelabel" >
   368      <x>315</x>
   369      <y>173</y>
   370     </hint>
   371     <hint type="destinationlabel" >
   372      <x>171</x>
   373      <y>103</y>
   374     </hint>
   375    </hints>
   376   </connection>
   377  </connections>
   378 </ui>