| 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::TableWidgetEditor</class> |
| 30 |
<widget class="QDialog" name="qdesigner_internal::TableWidgetEditor" > |
| 31 |
<property name="geometry" > |
| 32 |
<rect> |
| 33 |
<x>0</x> |
| 34 |
<y>0</y> |
| 35 |
<width>591</width> |
| 36 |
<height>455</height> |
| 37 |
</rect> |
| 38 |
</property> |
| 39 |
<property name="windowTitle" > |
| 40 |
<string>Edit Table Widget</string> |
| 41 |
</property> |
| 42 |
<layout class="QGridLayout" name="gridLayout_4" > |
| 43 |
<item row="0" column="0" > |
| 44 |
<widget class="QGroupBox" name="itemsBox" > |
| 45 |
<property name="title" > |
| 46 |
<string>Table Items</string> |
| 47 |
</property> |
| 48 |
<layout class="QGridLayout" name="gridLayout" > |
| 49 |
<item row="0" column="0" > |
| 50 |
<widget class="QTableWidget" name="tableWidget" > |
| 51 |
<property name="toolTip" > |
| 52 |
<string>Table Items</string> |
| 53 |
</property> |
| 54 |
</widget> |
| 55 |
</item> |
| 56 |
<item row="1" column="0" > |
| 57 |
<layout class="QHBoxLayout" name="horizontalLayout_5" > |
| 58 |
<item> |
| 59 |
<widget class="QLabel" name="label_3" > |
| 60 |
<property name="text" > |
| 61 |
<string>Icon</string> |
| 62 |
</property> |
| 63 |
</widget> |
| 64 |
</item> |
| 65 |
<item> |
| 66 |
<widget class="qdesigner_internal::IconSelector" native="1" name="itemIconSelector" /> |
| 67 |
</item> |
| 68 |
<item> |
| 69 |
<spacer name="horizontalSpacer" > |
| 70 |
<property name="orientation" > |
| 71 |
<enum>Qt::Horizontal</enum> |
| 72 |
</property> |
| 73 |
<property name="sizeHint" stdset="0" > |
| 74 |
<size> |
| 75 |
<width>40</width> |
| 76 |
<height>20</height> |
| 77 |
</size> |
| 78 |
</property> |
| 79 |
</spacer> |
| 80 |
</item> |
| 81 |
</layout> |
| 82 |
</item> |
| 83 |
</layout> |
| 84 |
</widget> |
| 85 |
</item> |
| 86 |
<item row="1" column="0" colspan="2" > |
| 87 |
<widget class="QDialogButtonBox" name="buttonBox" > |
| 88 |
<property name="orientation" > |
| 89 |
<enum>Qt::Horizontal</enum> |
| 90 |
</property> |
| 91 |
<property name="standardButtons" > |
| 92 |
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
| 93 |
</property> |
| 94 |
</widget> |
| 95 |
</item> |
| 96 |
<item row="0" column="1" > |
| 97 |
<widget class="QWidget" native="1" name="widget" > |
| 98 |
<property name="sizePolicy" > |
| 99 |
<sizepolicy vsizetype="Preferred" hsizetype="Fixed" > |
| 100 |
<horstretch>0</horstretch> |
| 101 |
<verstretch>0</verstretch> |
| 102 |
</sizepolicy> |
| 103 |
</property> |
| 104 |
<layout class="QVBoxLayout" name="verticalLayout" > |
| 105 |
<property name="margin" > |
| 106 |
<number>0</number> |
| 107 |
</property> |
| 108 |
<item> |
| 109 |
<widget class="QGroupBox" name="columnsBox" > |
| 110 |
<property name="title" > |
| 111 |
<string>Columns</string> |
| 112 |
</property> |
| 113 |
<layout class="QGridLayout" name="gridLayout_2" > |
| 114 |
<item row="0" column="0" > |
| 115 |
<widget class="QListWidget" name="columnsListWidget" > |
| 116 |
<property name="sizePolicy" > |
| 117 |
<sizepolicy vsizetype="Expanding" hsizetype="Ignored" > |
| 118 |
<horstretch>0</horstretch> |
| 119 |
<verstretch>0</verstretch> |
| 120 |
</sizepolicy> |
| 121 |
</property> |
| 122 |
<property name="focusPolicy" > |
| 123 |
<enum>Qt::TabFocus</enum> |
| 124 |
</property> |
| 125 |
<property name="toolTip" > |
| 126 |
<string>Table Columns</string> |
| 127 |
</property> |
| 128 |
</widget> |
| 129 |
</item> |
| 130 |
<item row="1" column="0" > |
| 131 |
<layout class="QHBoxLayout" name="horizontalLayout_3" > |
| 132 |
<item> |
| 133 |
<widget class="QToolButton" name="newColumnButton" > |
| 134 |
<property name="toolTip" > |
| 135 |
<string>New Column</string> |
| 136 |
</property> |
| 137 |
<property name="text" > |
| 138 |
<string>New</string> |
| 139 |
</property> |
| 140 |
</widget> |
| 141 |
</item> |
| 142 |
<item> |
| 143 |
<widget class="QToolButton" name="deleteColumnButton" > |
| 144 |
<property name="toolTip" > |
| 145 |
<string>Delete Column</string> |
| 146 |
</property> |
| 147 |
<property name="text" > |
| 148 |
<string>Delete</string> |
| 149 |
</property> |
| 150 |
</widget> |
| 151 |
</item> |
| 152 |
<item> |
| 153 |
<spacer> |
| 154 |
<property name="orientation" > |
| 155 |
<enum>Qt::Horizontal</enum> |
| 156 |
</property> |
| 157 |
<property name="sizeHint" stdset="0" > |
| 158 |
<size> |
| 159 |
<width>0</width> |
| 160 |
<height>23</height> |
| 161 |
</size> |
| 162 |
</property> |
| 163 |
</spacer> |
| 164 |
</item> |
| 165 |
<item> |
| 166 |
<widget class="QToolButton" name="moveColumnUpButton" > |
| 167 |
<property name="toolTip" > |
| 168 |
<string>Move Column Up</string> |
| 169 |
</property> |
| 170 |
<property name="text" > |
| 171 |
<string>U</string> |
| 172 |
</property> |
| 173 |
</widget> |
| 174 |
</item> |
| 175 |
<item> |
| 176 |
<widget class="QToolButton" name="moveColumnDownButton" > |
| 177 |
<property name="toolTip" > |
| 178 |
<string>Move Column Down</string> |
| 179 |
</property> |
| 180 |
<property name="text" > |
| 181 |
<string>D</string> |
| 182 |
</property> |
| 183 |
</widget> |
| 184 |
</item> |
| 185 |
</layout> |
| 186 |
</item> |
| 187 |
<item row="2" column="0" > |
| 188 |
<layout class="QHBoxLayout" name="horizontalLayout_2" > |
| 189 |
<item> |
| 190 |
<widget class="QLabel" name="label" > |
| 191 |
<property name="text" > |
| 192 |
<string>Icon</string> |
| 193 |
</property> |
| 194 |
</widget> |
| 195 |
</item> |
| 196 |
<item> |
| 197 |
<widget class="qdesigner_internal::IconSelector" native="1" name="columnIconSelector" /> |
| 198 |
</item> |
| 199 |
<item> |
| 200 |
<spacer> |
| 201 |
<property name="orientation" > |
| 202 |
<enum>Qt::Horizontal</enum> |
| 203 |
</property> |
| 204 |
<property name="sizeHint" stdset="0" > |
| 205 |
<size> |
| 206 |
<width>0</width> |
| 207 |
<height>21</height> |
| 208 |
</size> |
| 209 |
</property> |
| 210 |
</spacer> |
| 211 |
</item> |
| 212 |
</layout> |
| 213 |
</item> |
| 214 |
</layout> |
| 215 |
</widget> |
| 216 |
</item> |
| 217 |
<item> |
| 218 |
<widget class="QGroupBox" name="rowsBox" > |
| 219 |
<property name="title" > |
| 220 |
<string>Rows</string> |
| 221 |
</property> |
| 222 |
<layout class="QGridLayout" name="gridLayout_3" > |
| 223 |
<item row="0" column="0" > |
| 224 |
<widget class="QListWidget" name="rowsListWidget" > |
| 225 |
<property name="sizePolicy" > |
| 226 |
<sizepolicy vsizetype="Expanding" hsizetype="Ignored" > |
| 227 |
<horstretch>0</horstretch> |
| 228 |
<verstretch>0</verstretch> |
| 229 |
</sizepolicy> |
| 230 |
</property> |
| 231 |
<property name="focusPolicy" > |
| 232 |
<enum>Qt::TabFocus</enum> |
| 233 |
</property> |
| 234 |
<property name="toolTip" > |
| 235 |
<string>Table Rows</string> |
| 236 |
</property> |
| 237 |
</widget> |
| 238 |
</item> |
| 239 |
<item row="1" column="0" > |
| 240 |
<layout class="QHBoxLayout" name="horizontalLayout_4" > |
| 241 |
<item> |
| 242 |
<widget class="QToolButton" name="newRowButton" > |
| 243 |
<property name="toolTip" > |
| 244 |
<string>New Row</string> |
| 245 |
</property> |
| 246 |
<property name="text" > |
| 247 |
<string>New</string> |
| 248 |
</property> |
| 249 |
</widget> |
| 250 |
</item> |
| 251 |
<item> |
| 252 |
<widget class="QToolButton" name="deleteRowButton" > |
| 253 |
<property name="toolTip" > |
| 254 |
<string>Delete Row</string> |
| 255 |
</property> |
| 256 |
<property name="text" > |
| 257 |
<string>Delete</string> |
| 258 |
</property> |
| 259 |
</widget> |
| 260 |
</item> |
| 261 |
<item> |
| 262 |
<spacer> |
| 263 |
<property name="orientation" > |
| 264 |
<enum>Qt::Horizontal</enum> |
| 265 |
</property> |
| 266 |
<property name="sizeHint" stdset="0" > |
| 267 |
<size> |
| 268 |
<width>0</width> |
| 269 |
<height>23</height> |
| 270 |
</size> |
| 271 |
</property> |
| 272 |
</spacer> |
| 273 |
</item> |
| 274 |
<item> |
| 275 |
<widget class="QToolButton" name="moveRowUpButton" > |
| 276 |
<property name="toolTip" > |
| 277 |
<string>Move Row Up</string> |
| 278 |
</property> |
| 279 |
<property name="text" > |
| 280 |
<string>U</string> |
| 281 |
</property> |
| 282 |
</widget> |
| 283 |
</item> |
| 284 |
<item> |
| 285 |
<widget class="QToolButton" name="moveRowDownButton" > |
| 286 |
<property name="toolTip" > |
| 287 |
<string>Move Row Down</string> |
| 288 |
</property> |
| 289 |
<property name="text" > |
| 290 |
<string>D</string> |
| 291 |
</property> |
| 292 |
</widget> |
| 293 |
</item> |
| 294 |
</layout> |
| 295 |
</item> |
| 296 |
<item row="2" column="0" > |
| 297 |
<layout class="QHBoxLayout" name="horizontalLayout" > |
| 298 |
<item> |
| 299 |
<widget class="QLabel" name="label_2" > |
| 300 |
<property name="text" > |
| 301 |
<string>Icon</string> |
| 302 |
</property> |
| 303 |
</widget> |
| 304 |
</item> |
| 305 |
<item> |
| 306 |
<widget class="qdesigner_internal::IconSelector" native="1" name="rowIconSelector" /> |
| 307 |
</item> |
| 308 |
<item> |
| 309 |
<spacer> |
| 310 |
<property name="orientation" > |
| 311 |
<enum>Qt::Horizontal</enum> |
| 312 |
</property> |
| 313 |
<property name="sizeHint" stdset="0" > |
| 314 |
<size> |
| 315 |
<width>0</width> |
| 316 |
<height>21</height> |
| 317 |
</size> |
| 318 |
</property> |
| 319 |
</spacer> |
| 320 |
</item> |
| 321 |
</layout> |
| 322 |
</item> |
| 323 |
</layout> |
| 324 |
</widget> |
| 325 |
</item> |
| 326 |
</layout> |
| 327 |
</widget> |
| 328 |
</item> |
| 329 |
</layout> |
| 330 |
<zorder>itemsBox</zorder> |
| 331 |
<zorder>buttonBox</zorder> |
| 332 |
<zorder>widget</zorder> |
| 333 |
</widget> |
| 334 |
<customwidgets> |
| 335 |
<customwidget> |
| 336 |
<class>qdesigner_internal::IconSelector</class> |
| 337 |
<extends>QWidget</extends> |
| 338 |
<header>iconselector_p.h</header> |
| 339 |
<container>1</container> |
| 340 |
</customwidget> |
| 341 |
</customwidgets> |
| 342 |
<tabstops> |
| 343 |
<tabstop>tableWidget</tabstop> |
| 344 |
<tabstop>columnsListWidget</tabstop> |
| 345 |
<tabstop>newColumnButton</tabstop> |
| 346 |
<tabstop>deleteColumnButton</tabstop> |
| 347 |
<tabstop>moveColumnUpButton</tabstop> |
| 348 |
<tabstop>moveColumnDownButton</tabstop> |
| 349 |
<tabstop>rowsListWidget</tabstop> |
| 350 |
<tabstop>newRowButton</tabstop> |
| 351 |
<tabstop>deleteRowButton</tabstop> |
| 352 |
<tabstop>moveRowUpButton</tabstop> |
| 353 |
<tabstop>moveRowDownButton</tabstop> |
| 354 |
</tabstops> |
| 355 |
<resources/> |
| 356 |
<connections> |
| 357 |
<connection> |
| 358 |
<sender>buttonBox</sender> |
| 359 |
<signal>accepted()</signal> |
| 360 |
<receiver>qdesigner_internal::TableWidgetEditor</receiver> |
| 361 |
<slot>accept()</slot> |
| 362 |
<hints> |
| 363 |
<hint type="sourcelabel" > |
| 364 |
<x>431</x> |
| 365 |
<y>351</y> |
| 366 |
</hint> |
| 367 |
<hint type="destinationlabel" > |
| 368 |
<x>373</x> |
| 369 |
<y>362</y> |
| 370 |
</hint> |
| 371 |
</hints> |
| 372 |
</connection> |
| 373 |
<connection> |
| 374 |
<sender>buttonBox</sender> |
| 375 |
<signal>rejected()</signal> |
| 376 |
<receiver>qdesigner_internal::TableWidgetEditor</receiver> |
| 377 |
<slot>reject()</slot> |
| 378 |
<hints> |
| 379 |
<hint type="sourcelabel" > |
| 380 |
<x>547</x> |
| 381 |
<y>354</y> |
| 382 |
</hint> |
| 383 |
<hint type="destinationlabel" > |
| 384 |
<x>562</x> |
| 385 |
<y>362</y> |
| 386 |
</hint> |
| 387 |
</hints> |
| 388 |
</connection> |
| 389 |
</connections> |
| 390 |
</ui> |