| 1 |
<ui version="4.0" > |
| 2 |
<comment>********************************************************************* |
| 3 |
** |
| 4 |
** Copyright (C) 2016 The Qt Company Ltd. |
| 5 |
** Contact: https://www.qt.io/licensing/ |
| 6 |
** |
| 7 |
** This file is part of the autotests of the Qt Toolkit. |
| 8 |
** |
| 9 |
** $QT_BEGIN_LICENSE:GPL-EXCEPT$ |
| 10 |
** Commercial License Usage |
| 11 |
** Licensees holding valid commercial Qt licenses may use this file in |
| 12 |
** accordance with the commercial license agreement provided with the |
| 13 |
** Software or, alternatively, in accordance with the terms contained in |
| 14 |
** a written agreement between you and The Qt Company. For licensing terms |
| 15 |
** and conditions see https://www.qt.io/terms-conditions. For further |
| 16 |
** information use the contact form at https://www.qt.io/contact-us. |
| 17 |
** |
| 18 |
** GNU General Public License Usage |
| 19 |
** Alternatively, this file may be used under the terms of the GNU |
| 20 |
** General Public License version 3 as published by the Free Software |
| 21 |
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT |
| 22 |
** included in the packaging of this file. Please review the following |
| 23 |
** information to ensure the GNU General Public License requirements will |
| 24 |
** be met: https://www.gnu.org/licenses/gpl-3.0.html. |
| 25 |
** |
| 26 |
** $QT_END_LICENSE$ |
| 27 |
** |
| 28 |
*********************************************************************</comment> |
| 29 |
<class>qdesigner_internal::TreeWidgetEditor</class> |
| 30 |
<widget class="QDialog" name="qdesigner_internal::TreeWidgetEditor" > |
| 31 |
<property name="geometry" > |
| 32 |
<rect> |
| 33 |
<x>0</x> |
| 34 |
<y>0</y> |
| 35 |
<width>619</width> |
| 36 |
<height>321</height> |
| 37 |
</rect> |
| 38 |
</property> |
| 39 |
<property name="windowTitle" > |
| 40 |
<string>Edit Tree Widget</string> |
| 41 |
</property> |
| 42 |
<layout class="QGridLayout" name="gridLayout_3" > |
| 43 |
<item row="0" column="0" > |
| 44 |
<widget class="QGroupBox" name="itemsBox" > |
| 45 |
<property name="title" > |
| 46 |
<string>Tree Items</string> |
| 47 |
</property> |
| 48 |
<layout class="QGridLayout" name="gridLayout" > |
| 49 |
<item row="0" column="0" > |
| 50 |
<widget class="QTreeWidget" name="treeWidget" > |
| 51 |
<property name="focusPolicy" > |
| 52 |
<enum>Qt::TabFocus</enum> |
| 53 |
</property> |
| 54 |
<property name="toolTip" > |
| 55 |
<string>Tree Items</string> |
| 56 |
</property> |
| 57 |
<column> |
| 58 |
<property name="text" > |
| 59 |
<string>1</string> |
| 60 |
</property> |
| 61 |
</column> |
| 62 |
</widget> |
| 63 |
</item> |
| 64 |
<item row="1" column="0" > |
| 65 |
<layout class="QHBoxLayout" name="horizontalLayout_4" > |
| 66 |
<item> |
| 67 |
<widget class="QToolButton" name="newItemButton" > |
| 68 |
<property name="toolTip" > |
| 69 |
<string>New Item</string> |
| 70 |
</property> |
| 71 |
<property name="text" > |
| 72 |
<string>&New</string> |
| 73 |
</property> |
| 74 |
</widget> |
| 75 |
</item> |
| 76 |
<item> |
| 77 |
<widget class="QToolButton" name="newSubItemButton" > |
| 78 |
<property name="toolTip" > |
| 79 |
<string>New Subitem</string> |
| 80 |
</property> |
| 81 |
<property name="text" > |
| 82 |
<string>New &Subitem</string> |
| 83 |
</property> |
| 84 |
</widget> |
| 85 |
</item> |
| 86 |
<item> |
| 87 |
<widget class="QToolButton" name="deleteItemButton" > |
| 88 |
<property name="toolTip" > |
| 89 |
<string>Delete Item</string> |
| 90 |
</property> |
| 91 |
<property name="text" > |
| 92 |
<string>&Delete</string> |
| 93 |
</property> |
| 94 |
</widget> |
| 95 |
</item> |
| 96 |
<item> |
| 97 |
<spacer> |
| 98 |
<property name="orientation" > |
| 99 |
<enum>Qt::Horizontal</enum> |
| 100 |
</property> |
| 101 |
<property name="sizeHint" stdset="0" > |
| 102 |
<size> |
| 103 |
<width>28</width> |
| 104 |
<height>23</height> |
| 105 |
</size> |
| 106 |
</property> |
| 107 |
</spacer> |
| 108 |
</item> |
| 109 |
<item> |
| 110 |
<widget class="QToolButton" name="moveItemLeftButton" > |
| 111 |
<property name="toolTip" > |
| 112 |
<string>Move Item Left (before Parent Item)</string> |
| 113 |
</property> |
| 114 |
<property name="text" > |
| 115 |
<string>L</string> |
| 116 |
</property> |
| 117 |
</widget> |
| 118 |
</item> |
| 119 |
<item> |
| 120 |
<widget class="QToolButton" name="moveItemRightButton" > |
| 121 |
<property name="toolTip" > |
| 122 |
<string>Move Item Right (as a First Subitem of the Next Sibling Item)</string> |
| 123 |
</property> |
| 124 |
<property name="text" > |
| 125 |
<string>R</string> |
| 126 |
</property> |
| 127 |
</widget> |
| 128 |
</item> |
| 129 |
<item> |
| 130 |
<widget class="QToolButton" name="moveItemUpButton" > |
| 131 |
<property name="toolTip" > |
| 132 |
<string>Move Item Up</string> |
| 133 |
</property> |
| 134 |
<property name="text" > |
| 135 |
<string>U</string> |
| 136 |
</property> |
| 137 |
</widget> |
| 138 |
</item> |
| 139 |
<item> |
| 140 |
<widget class="QToolButton" name="moveItemDownButton" > |
| 141 |
<property name="toolTip" > |
| 142 |
<string>Move Item Down</string> |
| 143 |
</property> |
| 144 |
<property name="text" > |
| 145 |
<string>D</string> |
| 146 |
</property> |
| 147 |
</widget> |
| 148 |
</item> |
| 149 |
</layout> |
| 150 |
</item> |
| 151 |
<item row="2" column="0" > |
| 152 |
<layout class="QHBoxLayout" name="horizontalLayout_2" > |
| 153 |
<item> |
| 154 |
<widget class="QLabel" name="label_2" > |
| 155 |
<property name="text" > |
| 156 |
<string>Icon</string> |
| 157 |
</property> |
| 158 |
</widget> |
| 159 |
</item> |
| 160 |
<item> |
| 161 |
<widget class="qdesigner_internal::IconSelector" native="1" name="itemIconSelector" /> |
| 162 |
</item> |
| 163 |
<item> |
| 164 |
<spacer name="horizontalSpacer" > |
| 165 |
<property name="orientation" > |
| 166 |
<enum>Qt::Horizontal</enum> |
| 167 |
</property> |
| 168 |
<property name="sizeHint" stdset="0" > |
| 169 |
<size> |
| 170 |
<width>288</width> |
| 171 |
<height>21</height> |
| 172 |
</size> |
| 173 |
</property> |
| 174 |
</spacer> |
| 175 |
</item> |
| 176 |
</layout> |
| 177 |
</item> |
| 178 |
</layout> |
| 179 |
</widget> |
| 180 |
</item> |
| 181 |
<item row="0" column="1" > |
| 182 |
<widget class="QGroupBox" name="columnsBox" > |
| 183 |
<property name="sizePolicy" > |
| 184 |
<sizepolicy vsizetype="Preferred" hsizetype="Fixed" > |
| 185 |
<horstretch>0</horstretch> |
| 186 |
<verstretch>0</verstretch> |
| 187 |
</sizepolicy> |
| 188 |
</property> |
| 189 |
<property name="title" > |
| 190 |
<string>Columns</string> |
| 191 |
</property> |
| 192 |
<layout class="QGridLayout" name="gridLayout_2" > |
| 193 |
<item row="0" column="0" > |
| 194 |
<widget class="QListWidget" name="listWidget" > |
| 195 |
<property name="sizePolicy" > |
| 196 |
<sizepolicy vsizetype="Expanding" hsizetype="Ignored" > |
| 197 |
<horstretch>0</horstretch> |
| 198 |
<verstretch>0</verstretch> |
| 199 |
</sizepolicy> |
| 200 |
</property> |
| 201 |
<property name="focusPolicy" > |
| 202 |
<enum>Qt::TabFocus</enum> |
| 203 |
</property> |
| 204 |
<property name="toolTip" > |
| 205 |
<string>Tree Columns</string> |
| 206 |
</property> |
| 207 |
</widget> |
| 208 |
</item> |
| 209 |
<item row="1" column="0" > |
| 210 |
<layout class="QHBoxLayout" name="horizontalLayout_3" > |
| 211 |
<item> |
| 212 |
<widget class="QToolButton" name="newColumnButton" > |
| 213 |
<property name="toolTip" > |
| 214 |
<string>New Column</string> |
| 215 |
</property> |
| 216 |
<property name="text" > |
| 217 |
<string>New</string> |
| 218 |
</property> |
| 219 |
</widget> |
| 220 |
</item> |
| 221 |
<item> |
| 222 |
<widget class="QToolButton" name="deleteColumnButton" > |
| 223 |
<property name="toolTip" > |
| 224 |
<string>Delete Column</string> |
| 225 |
</property> |
| 226 |
<property name="text" > |
| 227 |
<string>Delete</string> |
| 228 |
</property> |
| 229 |
</widget> |
| 230 |
</item> |
| 231 |
<item> |
| 232 |
<spacer> |
| 233 |
<property name="orientation" > |
| 234 |
<enum>Qt::Horizontal</enum> |
| 235 |
</property> |
| 236 |
<property name="sizeHint" stdset="0" > |
| 237 |
<size> |
| 238 |
<width>13</width> |
| 239 |
<height>23</height> |
| 240 |
</size> |
| 241 |
</property> |
| 242 |
</spacer> |
| 243 |
</item> |
| 244 |
<item> |
| 245 |
<widget class="QToolButton" name="moveColumnUpButton" > |
| 246 |
<property name="toolTip" > |
| 247 |
<string>Move Column Up</string> |
| 248 |
</property> |
| 249 |
<property name="text" > |
| 250 |
<string>U</string> |
| 251 |
</property> |
| 252 |
</widget> |
| 253 |
</item> |
| 254 |
<item> |
| 255 |
<widget class="QToolButton" name="moveColumnDownButton" > |
| 256 |
<property name="toolTip" > |
| 257 |
<string>Move Column Down</string> |
| 258 |
</property> |
| 259 |
<property name="text" > |
| 260 |
<string>D</string> |
| 261 |
</property> |
| 262 |
</widget> |
| 263 |
</item> |
| 264 |
</layout> |
| 265 |
</item> |
| 266 |
<item row="2" column="0" > |
| 267 |
<layout class="QHBoxLayout" name="horizontalLayout" > |
| 268 |
<item> |
| 269 |
<widget class="QLabel" name="label" > |
| 270 |
<property name="text" > |
| 271 |
<string>Icon</string> |
| 272 |
</property> |
| 273 |
</widget> |
| 274 |
</item> |
| 275 |
<item> |
| 276 |
<widget class="qdesigner_internal::IconSelector" native="1" name="columnIconSelector" /> |
| 277 |
</item> |
| 278 |
<item> |
| 279 |
<spacer> |
| 280 |
<property name="orientation" > |
| 281 |
<enum>Qt::Horizontal</enum> |
| 282 |
</property> |
| 283 |
<property name="sizeHint" stdset="0" > |
| 284 |
<size> |
| 285 |
<width>0</width> |
| 286 |
<height>10</height> |
| 287 |
</size> |
| 288 |
</property> |
| 289 |
</spacer> |
| 290 |
</item> |
| 291 |
</layout> |
| 292 |
</item> |
| 293 |
</layout> |
| 294 |
</widget> |
| 295 |
</item> |
| 296 |
<item row="1" column="0" colspan="2" > |
| 297 |
<widget class="QDialogButtonBox" name="buttonBox" > |
| 298 |
<property name="orientation" > |
| 299 |
<enum>Qt::Horizontal</enum> |
| 300 |
</property> |
| 301 |
<property name="standardButtons" > |
| 302 |
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
| 303 |
</property> |
| 304 |
</widget> |
| 305 |
</item> |
| 306 |
</layout> |
| 307 |
</widget> |
| 308 |
<customwidgets> |
| 309 |
<customwidget> |
| 310 |
<class>qdesigner_internal::IconSelector</class> |
| 311 |
<extends>QWidget</extends> |
| 312 |
<header>iconselector_p.h</header> |
| 313 |
<container>1</container> |
| 314 |
</customwidget> |
| 315 |
</customwidgets> |
| 316 |
<tabstops> |
| 317 |
<tabstop>treeWidget</tabstop> |
| 318 |
<tabstop>newItemButton</tabstop> |
| 319 |
<tabstop>newSubItemButton</tabstop> |
| 320 |
<tabstop>deleteItemButton</tabstop> |
| 321 |
<tabstop>moveItemLeftButton</tabstop> |
| 322 |
<tabstop>moveItemRightButton</tabstop> |
| 323 |
<tabstop>moveItemUpButton</tabstop> |
| 324 |
<tabstop>moveItemDownButton</tabstop> |
| 325 |
<tabstop>listWidget</tabstop> |
| 326 |
<tabstop>newColumnButton</tabstop> |
| 327 |
<tabstop>deleteColumnButton</tabstop> |
| 328 |
<tabstop>moveColumnUpButton</tabstop> |
| 329 |
<tabstop>moveColumnDownButton</tabstop> |
| 330 |
</tabstops> |
| 331 |
<resources/> |
| 332 |
<connections> |
| 333 |
<connection> |
| 334 |
<sender>buttonBox</sender> |
| 335 |
<signal>accepted()</signal> |
| 336 |
<receiver>qdesigner_internal::TreeWidgetEditor</receiver> |
| 337 |
<slot>accept()</slot> |
| 338 |
<hints> |
| 339 |
<hint type="sourcelabel" > |
| 340 |
<x>450</x> |
| 341 |
<y>259</y> |
| 342 |
</hint> |
| 343 |
<hint type="destinationlabel" > |
| 344 |
<x>292</x> |
| 345 |
<y>272</y> |
| 346 |
</hint> |
| 347 |
</hints> |
| 348 |
</connection> |
| 349 |
<connection> |
| 350 |
<sender>buttonBox</sender> |
| 351 |
<signal>rejected()</signal> |
| 352 |
<receiver>qdesigner_internal::TreeWidgetEditor</receiver> |
| 353 |
<slot>reject()</slot> |
| 354 |
<hints> |
| 355 |
<hint type="sourcelabel" > |
| 356 |
<x>539</x> |
| 357 |
<y>266</y> |
| 358 |
</hint> |
| 359 |
<hint type="destinationlabel" > |
| 360 |
<x>556</x> |
| 361 |
<y>275</y> |
| 362 |
</hint> |
| 363 |
</hints> |
| 364 |
</connection> |
| 365 |
</connections> |
| 366 |
</ui> |