[QGIS Commit] r11987 - trunk/qgis/src/ui
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sat Nov 7 17:50:03 EST 2009
Author: wonder
Date: 2009-11-07 17:50:02 -0500 (Sat, 07 Nov 2009)
New Revision: 11987
Modified:
trunk/qgis/src/ui/qgspythondialog.ui
Log:
Updated info about qgis interface object in python console
Modified: trunk/qgis/src/ui/qgspythondialog.ui
===================================================================
--- trunk/qgis/src/ui/qgspythondialog.ui 2009-11-07 22:28:13 UTC (rev 11986)
+++ trunk/qgis/src/ui/qgspythondialog.ui 2009-11-07 22:50:02 UTC (rev 11987)
@@ -1,92 +1,107 @@
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
<class>QgsPythonDialog</class>
- <widget class="QDialog" name="QgsPythonDialog" >
- <property name="geometry" >
+ <widget class="QDialog" name="QgsPythonDialog">
+ <property name="geometry">
<rect>
<x>0</x>
<y>0</y>
- <width>709</width>
- <height>265</height>
+ <width>483</width>
+ <height>305</height>
</rect>
</property>
- <property name="windowTitle" >
+ <property name="windowTitle">
<string>Python console</string>
</property>
- <layout class="QGridLayout" name="gridLayout" >
- <item row="3" column="3" >
- <widget class="QPushButton" name="pbnExecute" >
- <property name="text" >
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="3" column="3">
+ <widget class="QPushButton" name="pbnExecute">
+ <property name="text">
<string>&Execute</string>
</property>
</widget>
</item>
- <item row="2" column="3" >
- <widget class="QPushButton" name="pbnPrev" >
- <property name="text" >
+ <item row="2" column="3">
+ <widget class="QPushButton" name="pbnPrev">
+ <property name="text">
<string>&Previous</string>
</property>
</widget>
</item>
- <item row="4" column="3" >
- <widget class="QPushButton" name="pbnNext" >
- <property name="text" >
+ <item row="4" column="3">
+ <widget class="QPushButton" name="pbnNext">
+ <property name="text">
<string>&Next</string>
</property>
</widget>
</item>
- <item row="0" column="0" colspan="3" >
- <widget class="QLabel" name="lblInfo" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
+ <item row="0" column="0" colspan="4">
+ <widget class="QLabel" name="lblInfo">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="text" >
- <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>
+ <property name="text">
+ <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;">
+<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>
</property>
- <property name="wordWrap" >
+ <property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
- <item row="1" column="0" colspan="4" >
- <widget class="QTextBrowser" name="txtHistory" >
- <property name="html" >
- <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
-<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+ <item row="1" column="0" colspan="4">
+ <widget class="QTextBrowser" name="txtHistory">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+ <horstretch>0</horstretch>
+ <verstretch>3</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="html">
+ <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
-<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>
+</style></head><body style=" font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;">
+<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>
</property>
</widget>
</item>
- <item row="3" column="1" >
- <widget class="QLabel" name="lblPrompt" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
+ <item row="3" column="1">
+ <widget class="QLabel" name="lblPrompt">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="text" >
- <string>>>></string>
+ <property name="text">
+ <string>>>></string>
</property>
</widget>
</item>
- <item rowspan="3" row="2" column="2" >
- <widget class="QTextEdit" name="edtCmdLine" />
+ <item row="2" column="2" rowspan="3">
+ <widget class="QTextEdit" name="edtCmdLine">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
+ <horstretch>0</horstretch>
+ <verstretch>1</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
</item>
</layout>
- <zorder>pbnExecute</zorder>
- <zorder>pbnPrev</zorder>
- <zorder>pbnNext</zorder>
- <zorder>lblInfo</zorder>
- <zorder>txtHistory</zorder>
- <zorder>lblPrompt</zorder>
- <zorder>edtCmdLine</zorder>
</widget>
<tabstops>
+ <tabstop>edtCmdLine</tabstop>
+ <tabstop>pbnPrev</tabstop>
+ <tabstop>pbnExecute</tabstop>
+ <tabstop>pbnNext</tabstop>
<tabstop>txtHistory</tabstop>
</tabstops>
<resources/>
More information about the QGIS-commit
mailing list