|
1 |
| -<ui version="4.0" > |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<ui version="4.0"> |
2 | 3 | <class>QgsPythonDialog</class>
|
3 |
| - <widget class="QDialog" name="QgsPythonDialog" > |
4 |
| - <property name="geometry" > |
| 4 | + <widget class="QDialog" name="QgsPythonDialog"> |
| 5 | + <property name="geometry"> |
5 | 6 | <rect>
|
6 | 7 | <x>0</x>
|
7 | 8 | <y>0</y>
|
8 |
| - <width>709</width> |
9 |
| - <height>265</height> |
| 9 | + <width>483</width> |
| 10 | + <height>305</height> |
10 | 11 | </rect>
|
11 | 12 | </property>
|
12 |
| - <property name="windowTitle" > |
| 13 | + <property name="windowTitle"> |
13 | 14 | <string>Python console</string>
|
14 | 15 | </property>
|
15 |
| - <layout class="QGridLayout" name="gridLayout" > |
16 |
| - <item row="3" column="3" > |
17 |
| - <widget class="QPushButton" name="pbnExecute" > |
18 |
| - <property name="text" > |
| 16 | + <layout class="QGridLayout" name="gridLayout"> |
| 17 | + <item row="3" column="3"> |
| 18 | + <widget class="QPushButton" name="pbnExecute"> |
| 19 | + <property name="text"> |
19 | 20 | <string>&Execute</string>
|
20 | 21 | </property>
|
21 | 22 | </widget>
|
22 | 23 | </item>
|
23 |
| - <item row="2" column="3" > |
24 |
| - <widget class="QPushButton" name="pbnPrev" > |
25 |
| - <property name="text" > |
| 24 | + <item row="2" column="3"> |
| 25 | + <widget class="QPushButton" name="pbnPrev"> |
| 26 | + <property name="text"> |
26 | 27 | <string>&Previous</string>
|
27 | 28 | </property>
|
28 | 29 | </widget>
|
29 | 30 | </item>
|
30 |
| - <item row="4" column="3" > |
31 |
| - <widget class="QPushButton" name="pbnNext" > |
32 |
| - <property name="text" > |
| 31 | + <item row="4" column="3"> |
| 32 | + <widget class="QPushButton" name="pbnNext"> |
| 33 | + <property name="text"> |
33 | 34 | <string>&Next</string>
|
34 | 35 | </property>
|
35 | 36 | </widget>
|
36 | 37 | </item>
|
37 |
| - <item row="0" column="0" colspan="3" > |
38 |
| - <widget class="QLabel" name="lblInfo" > |
39 |
| - <property name="sizePolicy" > |
40 |
| - <sizepolicy vsizetype="Preferred" hsizetype="Expanding" > |
| 38 | + <item row="0" column="0" colspan="4"> |
| 39 | + <widget class="QLabel" name="lblInfo"> |
| 40 | + <property name="sizePolicy"> |
| 41 | + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
41 | 42 | <horstretch>0</horstretch>
|
42 | 43 | <verstretch>0</verstretch>
|
43 | 44 | </sizepolicy>
|
44 | 45 | </property>
|
45 |
| - <property name="text" > |
46 |
| - <string>To access Quantum GIS environment from this python console use object from global scope which is an instance of QgisInterface class.<br>Usage e.g.: iface.zoomFull()</string> |
| 46 | + <property name="text"> |
| 47 | + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> |
| 48 | +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> |
| 49 | +p, li { white-space: pre-wrap; } |
| 50 | +</style></head><body style=" font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;"> |
| 51 | +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">To access Quantum GIS environment from this python console use qgis.utils.iface object which is an instance of QgisInterface class.<br />Usage e.g.: qgis.utils.iface.zoomFull()</p></body></html></string> |
47 | 52 | </property>
|
48 |
| - <property name="wordWrap" > |
| 53 | + <property name="wordWrap"> |
49 | 54 | <bool>true</bool>
|
50 | 55 | </property>
|
51 | 56 | </widget>
|
52 | 57 | </item>
|
53 |
| - <item row="1" column="0" colspan="4" > |
54 |
| - <widget class="QTextBrowser" name="txtHistory" > |
55 |
| - <property name="html" > |
56 |
| - <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> |
57 |
| -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> |
| 58 | + <item row="1" column="0" colspan="4"> |
| 59 | + <widget class="QTextBrowser" name="txtHistory"> |
| 60 | + <property name="sizePolicy"> |
| 61 | + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
| 62 | + <horstretch>0</horstretch> |
| 63 | + <verstretch>3</verstretch> |
| 64 | + </sizepolicy> |
| 65 | + </property> |
| 66 | + <property name="html"> |
| 67 | + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> |
| 68 | +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> |
58 | 69 | p, li { white-space: pre-wrap; }
|
59 |
| -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> |
60 |
| -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></body></html></string> |
| 70 | +</style></head><body style=" font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;"> |
| 71 | +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"></p></body></html></string> |
61 | 72 | </property>
|
62 | 73 | </widget>
|
63 | 74 | </item>
|
64 |
| - <item row="3" column="1" > |
65 |
| - <widget class="QLabel" name="lblPrompt" > |
66 |
| - <property name="sizePolicy" > |
67 |
| - <sizepolicy vsizetype="Expanding" hsizetype="Preferred" > |
| 75 | + <item row="3" column="1"> |
| 76 | + <widget class="QLabel" name="lblPrompt"> |
| 77 | + <property name="sizePolicy"> |
| 78 | + <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> |
68 | 79 | <horstretch>0</horstretch>
|
69 | 80 | <verstretch>0</verstretch>
|
70 | 81 | </sizepolicy>
|
71 | 82 | </property>
|
72 |
| - <property name="text" > |
73 |
| - <string>>>></string> |
| 83 | + <property name="text"> |
| 84 | + <string>>>></string> |
74 | 85 | </property>
|
75 | 86 | </widget>
|
76 | 87 | </item>
|
77 |
| - <item rowspan="3" row="2" column="2" > |
78 |
| - <widget class="QTextEdit" name="edtCmdLine" /> |
| 88 | + <item row="2" column="2" rowspan="3"> |
| 89 | + <widget class="QTextEdit" name="edtCmdLine"> |
| 90 | + <property name="sizePolicy"> |
| 91 | + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
| 92 | + <horstretch>0</horstretch> |
| 93 | + <verstretch>1</verstretch> |
| 94 | + </sizepolicy> |
| 95 | + </property> |
| 96 | + </widget> |
79 | 97 | </item>
|
80 | 98 | </layout>
|
81 |
| - <zorder>pbnExecute</zorder> |
82 |
| - <zorder>pbnPrev</zorder> |
83 |
| - <zorder>pbnNext</zorder> |
84 |
| - <zorder>lblInfo</zorder> |
85 |
| - <zorder>txtHistory</zorder> |
86 |
| - <zorder>lblPrompt</zorder> |
87 |
| - <zorder>edtCmdLine</zorder> |
88 | 99 | </widget>
|
89 | 100 | <tabstops>
|
| 101 | + <tabstop>edtCmdLine</tabstop> |
| 102 | + <tabstop>pbnPrev</tabstop> |
| 103 | + <tabstop>pbnExecute</tabstop> |
| 104 | + <tabstop>pbnNext</tabstop> |
90 | 105 | <tabstop>txtHistory</tabstop>
|
91 | 106 | </tabstops>
|
92 | 107 | <resources/>
|
|
0 commit comments