|
56 | 56 | <property name="text"> |
57 | 57 | <string>...</string> |
58 | 58 | </property> |
| 59 | + <property name="icon"> |
| 60 | + <iconset resource="../../images/images.qrc"> |
| 61 | + <normaloff>:/images/themes/default/mActionFileOpen.svg</normaloff>:/images/themes/default/mActionFileOpen.svg</iconset> |
| 62 | + </property> |
59 | 63 | </widget> |
60 | 64 | </item> |
61 | 65 | </layout> |
|
132 | 136 | <item row="1" column="0"> |
133 | 137 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
134 | 138 | <item> |
135 | | - <widget class="QgsFieldExpressionWidget" name="mFieldExpression" native="true"/> |
| 139 | + <widget class="QgsFieldExpressionWidget" name="mFieldExpression"/> |
136 | 140 | </item> |
137 | 141 | <item> |
138 | 142 | <widget class="QPushButton" name="mInsertFieldOrExpression"> |
|
154 | 158 | </item> |
155 | 159 | <item row="0" column="0"> |
156 | 160 | <layout class="QGridLayout" name="gridLayout_4"> |
157 | | - <item row="1" column="0"> |
| 161 | + <item row="2" column="0"> |
158 | 162 | <widget class="QgsCodeEditorPython" name="mActionText" native="true"> |
159 | 163 | <property name="sizePolicy"> |
160 | 164 | <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> |
161 | 165 | <horstretch>0</horstretch> |
162 | 166 | <verstretch>0</verstretch> |
163 | 167 | </sizepolicy> |
164 | 168 | </property> |
165 | | - <widget class="QToolButton" name="mBrowseButton"> |
166 | | - <property name="geometry"> |
167 | | - <rect> |
168 | | - <x>630</x> |
169 | | - <y>0</y> |
170 | | - <width>30</width> |
171 | | - <height>32</height> |
172 | | - </rect> |
173 | | - </property> |
174 | | - <property name="toolTip"> |
175 | | - <string>Browse for action</string> |
176 | | - </property> |
177 | | - <property name="statusTip"> |
178 | | - <string>Click to browse for an action</string> |
179 | | - </property> |
180 | | - <property name="whatsThis"> |
181 | | - <string>Clicking the button will let you select an application to use as the action</string> |
182 | | - </property> |
183 | | - <property name="text"> |
184 | | - <string>...</string> |
185 | | - </property> |
186 | | - <property name="icon"> |
187 | | - <iconset resource="../../images/images.qrc"> |
188 | | - <normaloff>:/images/themes/default/mActionFileOpen.svg</normaloff>:/images/themes/default/mActionFileOpen.svg</iconset> |
189 | | - </property> |
190 | | - </widget> |
191 | 169 | </widget> |
192 | 170 | </item> |
193 | | - <item row="0" column="0"> |
| 171 | + <item row="2" column="1" alignment="Qt::AlignTop"> |
| 172 | + <widget class="QToolButton" name="mBrowseButton"> |
| 173 | + <property name="toolTip"> |
| 174 | + <string>Browse for action</string> |
| 175 | + </property> |
| 176 | + <property name="statusTip"> |
| 177 | + <string>Click to browse for an action</string> |
| 178 | + </property> |
| 179 | + <property name="whatsThis"> |
| 180 | + <string>Clicking the button will let you select an application to use as the action</string> |
| 181 | + </property> |
| 182 | + <property name="text"> |
| 183 | + <string>...</string> |
| 184 | + </property> |
| 185 | + <property name="icon"> |
| 186 | + <iconset resource="../../images/images.qrc"> |
| 187 | + <normaloff>:/images/themes/default/mActionFileOpen.svg</normaloff>:/images/themes/default/mActionFileOpen.svg</iconset> |
| 188 | + </property> |
| 189 | + </widget> |
| 190 | + </item> |
| 191 | + <item row="0" column="0" colspan="2"> |
194 | 192 | <widget class="QLabel" name="label_4"> |
195 | 193 | <property name="text"> |
196 | 194 | <string><html><head/><body><p>The action text defines what happens if the action is triggered.<br/>The content depends on the type.<br/>For the type <span style=" font-style:italic;">Python</span> the content should be python code<br/>For other types it should be a file or application with optional parameters</p></body></html></string> |
|
276 | 274 | <container>1</container> |
277 | 275 | </customwidget> |
278 | 276 | </customwidgets> |
| 277 | + <tabstops> |
| 278 | + <tabstop>mActionType</tabstop> |
| 279 | + <tabstop>mCaptureOutput</tabstop> |
| 280 | + <tabstop>mActionName</tabstop> |
| 281 | + <tabstop>mShortTitle</tabstop> |
| 282 | + <tabstop>mActionIcon</tabstop> |
| 283 | + <tabstop>mChooseIconButton</tabstop> |
| 284 | + <tabstop>mBrowseButton</tabstop> |
| 285 | + <tabstop>mInsertFieldOrExpression</tabstop> |
| 286 | + </tabstops> |
279 | 287 | <resources> |
280 | 288 | <include location="../../images/images.qrc"/> |
281 | 289 | </resources> |
|
0 commit comments