|
1 | 1 | <ui version="4.0" > |
2 | | - <author></author> |
3 | | - <comment></comment> |
4 | | - <exportmacro></exportmacro> |
5 | 2 | <class>MapCoordsDialogBase</class> |
6 | 3 | <widget class="QDialog" name="MapCoordsDialogBase" > |
7 | 4 | <property name="geometry" > |
8 | 5 | <rect> |
9 | 6 | <x>0</x> |
10 | 7 | <y>0</y> |
11 | | - <width>290</width> |
12 | | - <height>110</height> |
| 8 | + <width>389</width> |
| 9 | + <height>203</height> |
13 | 10 | </rect> |
14 | 11 | </property> |
15 | 12 | <property name="windowTitle" > |
|
18 | 15 | <property name="sizeGripEnabled" > |
19 | 16 | <bool>true</bool> |
20 | 17 | </property> |
21 | | - <layout class="QGridLayout" > |
| 18 | + <layout class="QVBoxLayout" > |
22 | 19 | <property name="margin" > |
23 | | - <number>10</number> |
| 20 | + <number>9</number> |
24 | 21 | </property> |
25 | 22 | <property name="spacing" > |
26 | 23 | <number>6</number> |
27 | 24 | </property> |
28 | | - <item row="0" column="0" > |
29 | | - <widget class="QLabel" name="textLabel1" > |
| 25 | + <item> |
| 26 | + <widget class="QLabel" name="label" > |
30 | 27 | <property name="text" > |
31 | | - <string>X:</string> |
| 28 | + <string>Enter X and Y coordinates which correspond with the selected point on the image. Alternatively, click the button with icon of a pencil and then click a corresponding point on map canvas of QGIS to fill in coordinates of that point.</string> |
32 | 29 | </property> |
33 | | - </widget> |
34 | | - </item> |
35 | | - <item row="1" column="0" > |
36 | | - <widget class="QLabel" name="textLabel2" > |
37 | | - <property name="text" > |
38 | | - <string>Y:</string> |
| 30 | + <property name="wordWrap" > |
| 31 | + <bool>true</bool> |
39 | 32 | </property> |
40 | 33 | </widget> |
41 | 34 | </item> |
42 | | - <item row="1" column="1" colspan="3" > |
43 | | - <widget class="QLineEdit" name="leYCoord" /> |
44 | | - </item> |
45 | | - <item row="0" column="1" colspan="3" > |
46 | | - <widget class="QLineEdit" name="leXCoord" /> |
47 | | - </item> |
48 | | - <item row="2" column="0" colspan="2" > |
| 35 | + <item> |
49 | 36 | <spacer> |
50 | 37 | <property name="orientation" > |
51 | | - <enum>Qt::Horizontal</enum> |
| 38 | + <enum>Qt::Vertical</enum> |
52 | 39 | </property> |
53 | 40 | <property name="sizeType" > |
54 | | - <enum>QSizePolicy::Expanding</enum> |
| 41 | + <enum>QSizePolicy::Fixed</enum> |
55 | 42 | </property> |
56 | 43 | <property name="sizeHint" > |
57 | 44 | <size> |
58 | | - <width>90</width> |
59 | | - <height>20</height> |
| 45 | + <width>20</width> |
| 46 | + <height>10</height> |
60 | 47 | </size> |
61 | 48 | </property> |
62 | 49 | </spacer> |
63 | 50 | </item> |
64 | | - <item row="2" column="3" > |
65 | | - <widget class="QPushButton" name="buttonOk" > |
66 | | - <property name="text" > |
67 | | - <string>&OK</string> |
| 51 | + <item> |
| 52 | + <layout class="QGridLayout" > |
| 53 | + <property name="margin" > |
| 54 | + <number>0</number> |
68 | 55 | </property> |
69 | | - <property name="shortcut" > |
70 | | - <string/> |
| 56 | + <property name="spacing" > |
| 57 | + <number>6</number> |
71 | 58 | </property> |
72 | | - <property name="autoDefault" > |
73 | | - <bool>true</bool> |
| 59 | + <item row="0" column="1" > |
| 60 | + <widget class="QLabel" name="textLabel1" > |
| 61 | + <property name="text" > |
| 62 | + <string>X:</string> |
| 63 | + </property> |
| 64 | + </widget> |
| 65 | + </item> |
| 66 | + <item row="1" column="1" > |
| 67 | + <widget class="QLabel" name="textLabel2" > |
| 68 | + <property name="text" > |
| 69 | + <string>Y:</string> |
| 70 | + </property> |
| 71 | + </widget> |
| 72 | + </item> |
| 73 | + <item row="0" column="2" > |
| 74 | + <widget class="QLineEdit" name="leXCoord" /> |
| 75 | + </item> |
| 76 | + <item row="1" column="2" > |
| 77 | + <widget class="QLineEdit" name="leYCoord" /> |
| 78 | + </item> |
| 79 | + <item rowspan="2" row="0" column="3" > |
| 80 | + <spacer> |
| 81 | + <property name="orientation" > |
| 82 | + <enum>Qt::Horizontal</enum> |
| 83 | + </property> |
| 84 | + <property name="sizeType" > |
| 85 | + <enum>QSizePolicy::Minimum</enum> |
| 86 | + </property> |
| 87 | + <property name="sizeHint" > |
| 88 | + <size> |
| 89 | + <width>40</width> |
| 90 | + <height>20</height> |
| 91 | + </size> |
| 92 | + </property> |
| 93 | + </spacer> |
| 94 | + </item> |
| 95 | + <item rowspan="2" row="0" column="0" > |
| 96 | + <spacer> |
| 97 | + <property name="orientation" > |
| 98 | + <enum>Qt::Horizontal</enum> |
| 99 | + </property> |
| 100 | + <property name="sizeType" > |
| 101 | + <enum>QSizePolicy::Minimum</enum> |
| 102 | + </property> |
| 103 | + <property name="sizeHint" > |
| 104 | + <size> |
| 105 | + <width>40</width> |
| 106 | + <height>20</height> |
| 107 | + </size> |
| 108 | + </property> |
| 109 | + </spacer> |
| 110 | + </item> |
| 111 | + </layout> |
| 112 | + </item> |
| 113 | + <item> |
| 114 | + <spacer> |
| 115 | + <property name="orientation" > |
| 116 | + <enum>Qt::Vertical</enum> |
74 | 117 | </property> |
75 | | - <property name="default" > |
76 | | - <bool>true</bool> |
| 118 | + <property name="sizeHint" > |
| 119 | + <size> |
| 120 | + <width>20</width> |
| 121 | + <height>21</height> |
| 122 | + </size> |
77 | 123 | </property> |
78 | | - </widget> |
| 124 | + </spacer> |
79 | 125 | </item> |
80 | | - <item row="2" column="2" > |
81 | | - <widget class="QPushButton" name="buttonCancel" > |
82 | | - <property name="text" > |
83 | | - <string>&Cancel</string> |
| 126 | + <item> |
| 127 | + <layout class="QHBoxLayout" > |
| 128 | + <property name="margin" > |
| 129 | + <number>0</number> |
84 | 130 | </property> |
85 | | - <property name="shortcut" > |
86 | | - <string/> |
| 131 | + <property name="spacing" > |
| 132 | + <number>6</number> |
87 | 133 | </property> |
88 | | - <property name="autoDefault" > |
89 | | - <bool>true</bool> |
90 | | - </property> |
91 | | - </widget> |
| 134 | + <item> |
| 135 | + <widget class="QPushButton" name="btnPointFromCanvas" > |
| 136 | + <property name="text" > |
| 137 | + <string> from map canvas</string> |
| 138 | + </property> |
| 139 | + <property name="icon" > |
| 140 | + <iconset resource="georeferencer.qrc" >:/pencil.png</iconset> |
| 141 | + </property> |
| 142 | + <property name="iconSize" > |
| 143 | + <size> |
| 144 | + <width>18</width> |
| 145 | + <height>18</height> |
| 146 | + </size> |
| 147 | + </property> |
| 148 | + <property name="checkable" > |
| 149 | + <bool>true</bool> |
| 150 | + </property> |
| 151 | + </widget> |
| 152 | + </item> |
| 153 | + <item> |
| 154 | + <spacer> |
| 155 | + <property name="orientation" > |
| 156 | + <enum>Qt::Horizontal</enum> |
| 157 | + </property> |
| 158 | + <property name="sizeType" > |
| 159 | + <enum>QSizePolicy::Expanding</enum> |
| 160 | + </property> |
| 161 | + <property name="sizeHint" > |
| 162 | + <size> |
| 163 | + <width>21</width> |
| 164 | + <height>27</height> |
| 165 | + </size> |
| 166 | + </property> |
| 167 | + </spacer> |
| 168 | + </item> |
| 169 | + <item> |
| 170 | + <widget class="QPushButton" name="buttonCancel" > |
| 171 | + <property name="text" > |
| 172 | + <string>&Cancel</string> |
| 173 | + </property> |
| 174 | + <property name="shortcut" > |
| 175 | + <string/> |
| 176 | + </property> |
| 177 | + <property name="autoDefault" > |
| 178 | + <bool>true</bool> |
| 179 | + </property> |
| 180 | + </widget> |
| 181 | + </item> |
| 182 | + <item> |
| 183 | + <widget class="QPushButton" name="buttonOk" > |
| 184 | + <property name="text" > |
| 185 | + <string>&OK</string> |
| 186 | + </property> |
| 187 | + <property name="shortcut" > |
| 188 | + <string/> |
| 189 | + </property> |
| 190 | + <property name="autoDefault" > |
| 191 | + <bool>true</bool> |
| 192 | + </property> |
| 193 | + <property name="default" > |
| 194 | + <bool>true</bool> |
| 195 | + </property> |
| 196 | + </widget> |
| 197 | + </item> |
| 198 | + </layout> |
92 | 199 | </item> |
93 | 200 | </layout> |
94 | 201 | </widget> |
|
100 | 207 | <tabstop>buttonCancel</tabstop> |
101 | 208 | <tabstop>buttonOk</tabstop> |
102 | 209 | </tabstops> |
103 | | - <resources/> |
| 210 | + <resources> |
| 211 | + <include location="georeferencer.qrc" /> |
| 212 | + </resources> |
104 | 213 | <connections/> |
105 | 214 | </ui> |
0 commit comments