Warning, /frameworks/ktexttemplate/examples/codegen/designwidget.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>DesignWidget</class> 0004 <widget class="QWidget" name="DesignWidget"> 0005 <property name="geometry"> 0006 <rect> 0007 <x>0</x> 0008 <y>0</y> 0009 <width>759</width> 0010 <height>734</height> 0011 </rect> 0012 </property> 0013 <property name="sizePolicy"> 0014 <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> 0015 <horstretch>20</horstretch> 0016 <verstretch>0</verstretch> 0017 </sizepolicy> 0018 </property> 0019 <property name="windowTitle"> 0020 <string>Form</string> 0021 </property> 0022 <layout class="QFormLayout" name="formLayout_2"> 0023 <property name="fieldGrowthPolicy"> 0024 <enum>QFormLayout::ExpandingFieldsGrow</enum> 0025 </property> 0026 <item row="0" column="0"> 0027 <widget class="QLabel" name="label_2"> 0028 <property name="text"> 0029 <string>Language</string> 0030 </property> 0031 </widget> 0032 </item> 0033 <item row="0" column="1"> 0034 <widget class="QComboBox" name="language_combo"> 0035 <item> 0036 <property name="text"> 0037 <string>cpp</string> 0038 </property> 0039 </item> 0040 <item> 0041 <property name="text"> 0042 <string>py</string> 0043 </property> 0044 </item> 0045 <item> 0046 <property name="text"> 0047 <string>rb</string> 0048 </property> 0049 </item> 0050 </widget> 0051 </item> 0052 <item row="1" column="0"> 0053 <widget class="QLabel" name="label_8"> 0054 <property name="text"> 0055 <string>Licence</string> 0056 </property> 0057 </widget> 0058 </item> 0059 <item row="1" column="1"> 0060 <widget class="QComboBox" name="licence_combo"> 0061 <item> 0062 <property name="text"> 0063 <string>lgpl</string> 0064 </property> 0065 </item> 0066 <item> 0067 <property name="text"> 0068 <string>gpl</string> 0069 </property> 0070 </item> 0071 <item> 0072 <property name="text"> 0073 <string>bsd</string> 0074 </property> 0075 </item> 0076 </widget> 0077 </item> 0078 <item row="2" column="0"> 0079 <widget class="QLabel" name="label_7"> 0080 <property name="text"> 0081 <string>Author</string> 0082 </property> 0083 </widget> 0084 </item> 0085 <item row="2" column="1"> 0086 <layout class="QHBoxLayout" name="horizontalLayout_3"> 0087 <item> 0088 <widget class="QLineEdit" name="author_edit"> 0089 <property name="sizePolicy"> 0090 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 0091 <horstretch>0</horstretch> 0092 <verstretch>0</verstretch> 0093 </sizepolicy> 0094 </property> 0095 </widget> 0096 </item> 0097 <item> 0098 <widget class="QLabel" name="label_9"> 0099 <property name="text"> 0100 <string>Email</string> 0101 </property> 0102 </widget> 0103 </item> 0104 <item> 0105 <widget class="QLineEdit" name="email_edit"/> 0106 </item> 0107 </layout> 0108 </item> 0109 <item row="3" column="0"> 0110 <widget class="QLabel" name="label"> 0111 <property name="text"> 0112 <string>Class name</string> 0113 </property> 0114 </widget> 0115 </item> 0116 <item row="3" column="1"> 0117 <layout class="QHBoxLayout" name="horizontalLayout"> 0118 <item> 0119 <widget class="QLineEdit" name="className_edit"> 0120 <property name="sizePolicy"> 0121 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 0122 <horstretch>0</horstretch> 0123 <verstretch>0</verstretch> 0124 </sizepolicy> 0125 </property> 0126 </widget> 0127 </item> 0128 <item> 0129 <widget class="QCheckBox" name="pimpl_check"> 0130 <property name="text"> 0131 <string>Pimpl</string> 0132 </property> 0133 </widget> 0134 </item> 0135 <item> 0136 <spacer name="horizontalSpacer"> 0137 <property name="orientation"> 0138 <enum>Qt::Horizontal</enum> 0139 </property> 0140 <property name="sizeHint" stdset="0"> 0141 <size> 0142 <width>40</width> 0143 <height>20</height> 0144 </size> 0145 </property> 0146 </spacer> 0147 </item> 0148 </layout> 0149 </item> 0150 <item row="4" column="0"> 0151 <widget class="QLabel" name="label_5"> 0152 <property name="text"> 0153 <string>Base class</string> 0154 </property> 0155 </widget> 0156 </item> 0157 <item row="4" column="1"> 0158 <layout class="QHBoxLayout" name="horizontalLayout_2"> 0159 <item> 0160 <widget class="QComboBox" name="baseClassAccess"> 0161 <item> 0162 <property name="text"> 0163 <string>None</string> 0164 </property> 0165 </item> 0166 <item> 0167 <property name="text"> 0168 <string>public</string> 0169 </property> 0170 </item> 0171 <item> 0172 <property name="text"> 0173 <string>protected</string> 0174 </property> 0175 </item> 0176 <item> 0177 <property name="text"> 0178 <string>private</string> 0179 </property> 0180 </item> 0181 </widget> 0182 </item> 0183 <item> 0184 <widget class="QComboBox" name="baseModule"> 0185 <item> 0186 <property name="text"> 0187 <string>QtGui</string> 0188 </property> 0189 </item> 0190 <item> 0191 <property name="text"> 0192 <string>QtCore</string> 0193 </property> 0194 </item> 0195 <item> 0196 <property name="text"> 0197 <string>QtNetwork</string> 0198 </property> 0199 </item> 0200 <item> 0201 <property name="text"> 0202 <string>QtSql</string> 0203 </property> 0204 </item> 0205 </widget> 0206 </item> 0207 <item> 0208 <widget class="QComboBox" name="baseClassType"> 0209 <item> 0210 <property name="text"> 0211 <string>QWidget</string> 0212 </property> 0213 </item> 0214 <item> 0215 <property name="text"> 0216 <string>QAbstractItemModel</string> 0217 </property> 0218 </item> 0219 <item> 0220 <property name="text"> 0221 <string>QTextEdit</string> 0222 </property> 0223 </item> 0224 </widget> 0225 </item> 0226 </layout> 0227 </item> 0228 <item row="5" column="0"> 0229 <widget class="QLabel" name="label_6"> 0230 <property name="text"> 0231 <string>Properties</string> 0232 </property> 0233 </widget> 0234 </item> 0235 <item row="5" column="1"> 0236 <widget class="PropertyTableWidget" name="properties_table"> 0237 <property name="sizePolicy"> 0238 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding"> 0239 <horstretch>0</horstretch> 0240 <verstretch>0</verstretch> 0241 </sizepolicy> 0242 </property> 0243 <property name="selectionMode"> 0244 <enum>QAbstractItemView::SingleSelection</enum> 0245 </property> 0246 <property name="selectionBehavior"> 0247 <enum>QAbstractItemView::SelectRows</enum> 0248 </property> 0249 <column> 0250 <property name="text"> 0251 <string>type</string> 0252 </property> 0253 </column> 0254 <column> 0255 <property name="text"> 0256 <string>name</string> 0257 </property> 0258 </column> 0259 <column> 0260 <property name="text"> 0261 <string>readonly</string> 0262 </property> 0263 </column> 0264 </widget> 0265 </item> 0266 <item row="6" column="0"> 0267 <widget class="QLabel" name="label_3"> 0268 <property name="text"> 0269 <string>Methods</string> 0270 </property> 0271 </widget> 0272 </item> 0273 <item row="6" column="1"> 0274 <widget class="MethodTableView" name="methods_table"> 0275 <property name="sizePolicy"> 0276 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> 0277 <horstretch>0</horstretch> 0278 <verstretch>0</verstretch> 0279 </sizepolicy> 0280 </property> 0281 <property name="minimumSize"> 0282 <size> 0283 <width>0</width> 0284 <height>220</height> 0285 </size> 0286 </property> 0287 <property name="maximumSize"> 0288 <size> 0289 <width>16777215</width> 0290 <height>272</height> 0291 </size> 0292 </property> 0293 <property name="selectionMode"> 0294 <enum>QAbstractItemView::SingleSelection</enum> 0295 </property> 0296 <property name="selectionBehavior"> 0297 <enum>QAbstractItemView::SelectRows</enum> 0298 </property> 0299 </widget> 0300 </item> 0301 <item row="7" column="1"> 0302 <layout class="QFormLayout" name="formLayout"> 0303 <item row="0" column="0"> 0304 <widget class="QLabel" name="label_4"> 0305 <property name="text"> 0306 <string>Arguments</string> 0307 </property> 0308 </widget> 0309 </item> 0310 <item row="0" column="1"> 0311 <widget class="ArgsTableView" name="args_table"> 0312 <property name="sizePolicy"> 0313 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding"> 0314 <horstretch>0</horstretch> 0315 <verstretch>0</verstretch> 0316 </sizepolicy> 0317 </property> 0318 <property name="selectionMode"> 0319 <enum>QAbstractItemView::SingleSelection</enum> 0320 </property> 0321 <property name="selectionBehavior"> 0322 <enum>QAbstractItemView::SelectRows</enum> 0323 </property> 0324 </widget> 0325 </item> 0326 </layout> 0327 </item> 0328 <item row="8" column="1"> 0329 <widget class="QPushButton" name="pushButton"> 0330 <property name="sizePolicy"> 0331 <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> 0332 <horstretch>0</horstretch> 0333 <verstretch>0</verstretch> 0334 </sizepolicy> 0335 </property> 0336 <property name="text"> 0337 <string>Generate!</string> 0338 </property> 0339 </widget> 0340 </item> 0341 </layout> 0342 </widget> 0343 <customwidgets> 0344 <customwidget> 0345 <class>MethodTableView</class> 0346 <extends>QTableView</extends> 0347 <header>codegentableview.h</header> 0348 </customwidget> 0349 <customwidget> 0350 <class>PropertyTableWidget</class> 0351 <extends>QTableWidget</extends> 0352 <header>propertytablewidget.h</header> 0353 </customwidget> 0354 <customwidget> 0355 <class>ArgsTableView</class> 0356 <extends>QTableView</extends> 0357 <header>codegentableview.h</header> 0358 </customwidget> 0359 </customwidgets> 0360 <resources/> 0361 <connections/> 0362 </ui>