[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>&amp;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>&amp;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>&amp;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.&lt;br>Usage e.g.: iface.zoomFull()</string>
+     <property name="text">
+      <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;To access Quantum GIS environment from this python console use qgis.utils.iface object which is an instance of QgisInterface class.&lt;br /&gt;Usage e.g.: qgis.utils.iface.zoomFull()&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
-&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;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>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 p, li { white-space: pre-wrap; }
-&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
-&lt;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;">&lt;/p>&lt;/body>&lt;/html></string>
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot;-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;&quot;&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&gt;&gt;&gt;</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