|
5 | 5 | <rect> |
6 | 6 | <x>0</x> |
7 | 7 | <y>0</y> |
8 | | - <width>340</width> |
9 | | - <height>159</height> |
| 8 | + <width>324</width> |
| 9 | + <height>133</height> |
10 | 10 | </rect> |
11 | 11 | </property> |
12 | 12 | <property name="windowTitle" > |
|
16 | 16 | <bool>true</bool> |
17 | 17 | </property> |
18 | 18 | <layout class="QGridLayout" > |
19 | | - <property name="margin" > |
20 | | - <number>10</number> |
| 19 | + <property name="leftMargin" > |
| 20 | + <number>4</number> |
21 | 21 | </property> |
22 | | - <property name="spacing" > |
23 | | - <number>6</number> |
| 22 | + <property name="topMargin" > |
| 23 | + <number>4</number> |
| 24 | + </property> |
| 25 | + <property name="rightMargin" > |
| 26 | + <number>4</number> |
| 27 | + </property> |
| 28 | + <property name="bottomMargin" > |
| 29 | + <number>4</number> |
| 30 | + </property> |
| 31 | + <property name="horizontalSpacing" > |
| 32 | + <number>-1</number> |
| 33 | + </property> |
| 34 | + <property name="verticalSpacing" > |
| 35 | + <number>-1</number> |
24 | 36 | </property> |
25 | | - <item row="1" column="0" > |
26 | | - <widget class="QLineEdit" name="mLowerEdit" /> |
27 | | - </item> |
28 | 37 | <item row="0" column="0" > |
29 | 38 | <widget class="QLabel" name="mLowerLabel" > |
30 | 39 | <property name="text" > |
|
46 | 55 | <property name="sizeHint" > |
47 | 56 | <size> |
48 | 57 | <width>16</width> |
49 | | - <height>21</height> |
| 58 | + <height>49</height> |
50 | 59 | </size> |
51 | 60 | </property> |
52 | 61 | </spacer> |
53 | 62 | </item> |
| 63 | + <item row="0" column="2" > |
| 64 | + <widget class="QLabel" name="mUpperLabel" > |
| 65 | + <property name="text" > |
| 66 | + <string>Upper value</string> |
| 67 | + </property> |
| 68 | + <property name="buddy" > |
| 69 | + <cstring>mUpperEdit</cstring> |
| 70 | + </property> |
| 71 | + </widget> |
| 72 | + </item> |
| 73 | + <item row="1" column="0" > |
| 74 | + <widget class="QLineEdit" name="mLowerEdit" /> |
| 75 | + </item> |
54 | 76 | <item row="1" column="1" > |
55 | 77 | <widget class="QLabel" name="mBetweenLabel" > |
56 | 78 | <property name="text" > |
|
65 | 87 | <widget class="QLineEdit" name="mUpperEdit" /> |
66 | 88 | </item> |
67 | 89 | <item row="2" column="0" colspan="3" > |
68 | | - <layout class="QHBoxLayout" > |
69 | | - <property name="margin" > |
70 | | - <number>0</number> |
71 | | - </property> |
72 | | - <property name="spacing" > |
73 | | - <number>6</number> |
74 | | - </property> |
75 | | - <item> |
76 | | - <spacer> |
77 | | - <property name="orientation" > |
78 | | - <enum>Qt::Horizontal</enum> |
79 | | - </property> |
80 | | - <property name="sizeType" > |
81 | | - <enum>QSizePolicy::Expanding</enum> |
82 | | - </property> |
83 | | - <property name="sizeHint" > |
84 | | - <size> |
85 | | - <width>100</width> |
86 | | - <height>20</height> |
87 | | - </size> |
88 | | - </property> |
89 | | - </spacer> |
90 | | - </item> |
91 | | - <item> |
92 | | - <widget class="QPushButton" name="mOkButton" > |
93 | | - <property name="text" > |
94 | | - <string>OK</string> |
95 | | - </property> |
96 | | - </widget> |
97 | | - </item> |
98 | | - <item> |
99 | | - <widget class="QPushButton" name="mCancelButton" > |
100 | | - <property name="text" > |
101 | | - <string>Cancel</string> |
102 | | - </property> |
103 | | - </widget> |
104 | | - </item> |
105 | | - <item> |
106 | | - <spacer> |
107 | | - <property name="orientation" > |
108 | | - <enum>Qt::Horizontal</enum> |
109 | | - </property> |
110 | | - <property name="sizeType" > |
111 | | - <enum>QSizePolicy::Expanding</enum> |
112 | | - </property> |
113 | | - <property name="sizeHint" > |
114 | | - <size> |
115 | | - <width>31</width> |
116 | | - <height>20</height> |
117 | | - </size> |
118 | | - </property> |
119 | | - </spacer> |
120 | | - </item> |
121 | | - </layout> |
122 | | - </item> |
123 | | - <item row="0" column="2" > |
124 | | - <widget class="QLabel" name="mUpperLabel" > |
125 | | - <property name="text" > |
126 | | - <string>Upper value</string> |
127 | | - </property> |
128 | | - <property name="buddy" > |
129 | | - <cstring>mUpperEdit</cstring> |
| 90 | + <widget class="QDialogButtonBox" name="buttonBox" > |
| 91 | + <property name="standardButtons" > |
| 92 | + <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set> |
130 | 93 | </property> |
131 | 94 | </widget> |
132 | 95 | </item> |
133 | 96 | </layout> |
134 | 97 | </widget> |
135 | 98 | <layoutdefault spacing="6" margin="11" /> |
136 | 99 | <resources/> |
137 | | - <connections/> |
| 100 | + <connections> |
| 101 | + <connection> |
| 102 | + <sender>buttonBox</sender> |
| 103 | + <signal>accepted()</signal> |
| 104 | + <receiver>QgsLUDialogBase</receiver> |
| 105 | + <slot>accept()</slot> |
| 106 | + <hints> |
| 107 | + <hint type="sourcelabel" > |
| 108 | + <x>285</x> |
| 109 | + <y>120</y> |
| 110 | + </hint> |
| 111 | + <hint type="destinationlabel" > |
| 112 | + <x>321</x> |
| 113 | + <y>35</y> |
| 114 | + </hint> |
| 115 | + </hints> |
| 116 | + </connection> |
| 117 | + <connection> |
| 118 | + <sender>buttonBox</sender> |
| 119 | + <signal>rejected()</signal> |
| 120 | + <receiver>QgsLUDialogBase</receiver> |
| 121 | + <slot>reject()</slot> |
| 122 | + <hints> |
| 123 | + <hint type="sourcelabel" > |
| 124 | + <x>209</x> |
| 125 | + <y>116</y> |
| 126 | + </hint> |
| 127 | + <hint type="destinationlabel" > |
| 128 | + <x>151</x> |
| 129 | + <y>7</y> |
| 130 | + </hint> |
| 131 | + </hints> |
| 132 | + </connection> |
| 133 | + </connections> |
138 | 134 | </ui> |
0 commit comments