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