author | unc0rr |
Wed, 18 Mar 2015 23:13:37 +0300 | |
changeset 10861 | d84c725fe332 |
parent 4477 | 63a21fac8bf7 |
permissions | -rw-r--r-- |
4425 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 |
<ui version="4.0"> |
|
3 |
<class>MainWindow</class> |
|
4 |
<widget class="QMainWindow" name="MainWindow"> |
|
5 |
<property name="geometry"> |
|
6 |
<rect> |
|
7 |
<x>0</x> |
|
8 |
<y>0</y> |
|
9 |
<width>600</width> |
|
10 |
<height>400</height> |
|
11 |
</rect> |
|
12 |
</property> |
|
13 |
<property name="windowTitle"> |
|
14 |
<string>MainWindow</string> |
|
15 |
</property> |
|
16 |
<widget class="QWidget" name="centralWidget"> |
|
4439 | 17 |
<layout class="QGridLayout" name="gridLayout" rowstretch="3,1"> |
4426 | 18 |
<item row="1" column="2"> |
4439 | 19 |
<widget class="QPlainTextEdit" name="plainTextEdit"/> |
4425 | 20 |
</item> |
4426 | 21 |
<item row="0" column="0" rowspan="2"> |
22 |
<layout class="QVBoxLayout" name="verticalLayout"> |
|
23 |
<item> |
|
24 |
<widget class="QPushButton" name="pbUndo"> |
|
25 |
<property name="text"> |
|
26 |
<string>Undo</string> |
|
27 |
</property> |
|
28 |
</widget> |
|
29 |
</item> |
|
30 |
<item> |
|
31 |
<spacer name="verticalSpacer"> |
|
32 |
<property name="orientation"> |
|
33 |
<enum>Qt::Vertical</enum> |
|
34 |
</property> |
|
35 |
<property name="sizeHint" stdset="0"> |
|
36 |
<size> |
|
37 |
<width>20</width> |
|
38 |
<height>40</height> |
|
39 |
</size> |
|
40 |
</property> |
|
41 |
</spacer> |
|
42 |
</item> |
|
4434 | 43 |
<item> |
4442 | 44 |
<widget class="QPushButton" name="pbSave"> |
45 |
<property name="text"> |
|
46 |
<string>Save</string> |
|
47 |
</property> |
|
48 |
</widget> |
|
49 |
</item> |
|
50 |
<item> |
|
51 |
<widget class="QPushButton" name="pbLoad"> |
|
52 |
<property name="text"> |
|
53 |
<string>Load</string> |
|
54 |
</property> |
|
55 |
</widget> |
|
56 |
</item> |
|
57 |
<item> |
|
4439 | 58 |
<widget class="QSpinBox" name="sbBytes"> |
59 |
<property name="readOnly"> |
|
60 |
<bool>true</bool> |
|
61 |
</property> |
|
62 |
<property name="buttonSymbols"> |
|
63 |
<enum>QAbstractSpinBox::NoButtons</enum> |
|
64 |
</property> |
|
65 |
<property name="suffix"> |
|
66 |
<string> bytes</string> |
|
67 |
</property> |
|
68 |
<property name="maximum"> |
|
69 |
<number>999999</number> |
|
4434 | 70 |
</property> |
71 |
</widget> |
|
72 |
</item> |
|
4426 | 73 |
</layout> |
74 |
</item> |
|
4477
63a21fac8bf7
Add QAspectRatioLayout borrowed from http://wiki.forum.nokia.com/index.php/CS001309_-_Maintaining_square_form_for_a_widget_in_Qt to maintain width == height * 2 aspect ratio for map drawing widget
unc0rr
parents:
4442
diff
changeset
|
75 |
<item row="0" column="2"> |
63a21fac8bf7
Add QAspectRatioLayout borrowed from http://wiki.forum.nokia.com/index.php/CS001309_-_Maintaining_square_form_for_a_widget_in_Qt to maintain width == height * 2 aspect ratio for map drawing widget
unc0rr
parents:
4442
diff
changeset
|
76 |
<widget class="DrawMapWidget" name="drawMapWidget" native="true"/> |
63a21fac8bf7
Add QAspectRatioLayout borrowed from http://wiki.forum.nokia.com/index.php/CS001309_-_Maintaining_square_form_for_a_widget_in_Qt to maintain width == height * 2 aspect ratio for map drawing widget
unc0rr
parents:
4442
diff
changeset
|
77 |
</item> |
4425 | 78 |
</layout> |
79 |
</widget> |
|
80 |
</widget> |
|
81 |
<layoutdefault spacing="6" margin="11"/> |
|
4477
63a21fac8bf7
Add QAspectRatioLayout borrowed from http://wiki.forum.nokia.com/index.php/CS001309_-_Maintaining_square_form_for_a_widget_in_Qt to maintain width == height * 2 aspect ratio for map drawing widget
unc0rr
parents:
4442
diff
changeset
|
82 |
<customwidgets> |
63a21fac8bf7
Add QAspectRatioLayout borrowed from http://wiki.forum.nokia.com/index.php/CS001309_-_Maintaining_square_form_for_a_widget_in_Qt to maintain width == height * 2 aspect ratio for map drawing widget
unc0rr
parents:
4442
diff
changeset
|
83 |
<customwidget> |
63a21fac8bf7
Add QAspectRatioLayout borrowed from http://wiki.forum.nokia.com/index.php/CS001309_-_Maintaining_square_form_for_a_widget_in_Qt to maintain width == height * 2 aspect ratio for map drawing widget
unc0rr
parents:
4442
diff
changeset
|
84 |
<class>DrawMapWidget</class> |
63a21fac8bf7
Add QAspectRatioLayout borrowed from http://wiki.forum.nokia.com/index.php/CS001309_-_Maintaining_square_form_for_a_widget_in_Qt to maintain width == height * 2 aspect ratio for map drawing widget
unc0rr
parents:
4442
diff
changeset
|
85 |
<extends>QWidget</extends> |
63a21fac8bf7
Add QAspectRatioLayout borrowed from http://wiki.forum.nokia.com/index.php/CS001309_-_Maintaining_square_form_for_a_widget_in_Qt to maintain width == height * 2 aspect ratio for map drawing widget
unc0rr
parents:
4442
diff
changeset
|
86 |
<header>drawmapwidget.h</header> |
63a21fac8bf7
Add QAspectRatioLayout borrowed from http://wiki.forum.nokia.com/index.php/CS001309_-_Maintaining_square_form_for_a_widget_in_Qt to maintain width == height * 2 aspect ratio for map drawing widget
unc0rr
parents:
4442
diff
changeset
|
87 |
<container>1</container> |
63a21fac8bf7
Add QAspectRatioLayout borrowed from http://wiki.forum.nokia.com/index.php/CS001309_-_Maintaining_square_form_for_a_widget_in_Qt to maintain width == height * 2 aspect ratio for map drawing widget
unc0rr
parents:
4442
diff
changeset
|
88 |
</customwidget> |
63a21fac8bf7
Add QAspectRatioLayout borrowed from http://wiki.forum.nokia.com/index.php/CS001309_-_Maintaining_square_form_for_a_widget_in_Qt to maintain width == height * 2 aspect ratio for map drawing widget
unc0rr
parents:
4442
diff
changeset
|
89 |
</customwidgets> |
4425 | 90 |
<resources/> |
91 |
<connections/> |
|
92 |
</ui> |