Standardised GUI layout

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1482 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2004-05-27 11:09:44 +00:00
parent b92ce4bdde
commit cae57cab33
3 changed files with 261 additions and 187 deletions

View File

@ -8,8 +8,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>666</width>
<height>399</height>
<width>754</width>
<height>401</height>
</rect>
</property>
<property name="paletteBackgroundColor">
@ -29,7 +29,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="Line" row="0" column="2">
<widget class="Line" row="0" column="1">
<property name="name">
<cstring>line1</cstring>
</property>
@ -43,7 +43,7 @@
<enum>Vertical</enum>
</property>
</widget>
<widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
<widget class="QLabel" row="0" column="0">
<property name="name">
<cstring>pixmapLabel1</cstring>
</property>
@ -54,15 +54,7 @@
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" row="1" column="0">
<property name="name">
<cstring>pbnCancel</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
<widget class="QTabWidget" row="0" column="3" rowspan="1" colspan="3">
<widget class="QTabWidget" row="0" column="2">
<property name="name">
<cstring>tabWidget</cstring>
</property>
@ -92,6 +84,9 @@
<property name="wordWrap">
<enum>WidgetWidth</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" row="1" column="0">
<property name="name">
@ -193,6 +188,9 @@
<property name="wordWrap">
<enum>WidgetWidth</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit" row="2" column="0" rowspan="1" colspan="4">
<property name="name">
@ -283,34 +281,58 @@
</grid>
</widget>
</widget>
<widget class="QPushButton" row="1" column="5">
<widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>pbnOK</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>OK</string>
<cstring>layout107</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer5</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>550</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>pbnOK</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;OK</string>
</property>
<property name="accel">
<string>Alt+O</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>pbnCancel</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
<property name="accel">
<string>Alt+C</string>
</property>
</widget>
</hbox>
</widget>
<spacer row="1" column="4">
<property name="name">
<cstring>spacer5</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>160</width>
<height>20</height>
</size>
</property>
</spacer>
</grid>
</widget>
<images>

View File

@ -8,8 +8,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>695</width>
<height>432</height>
<width>571</width>
<height>393</height>
</rect>
</property>
<property name="paletteBackgroundColor">
@ -29,140 +29,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer row="5" column="1" rowspan="1" colspan="5">
<property name="name">
<cstring>spacer2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>441</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="QLabel" row="0" column="3" rowspan="1" colspan="4">
<property name="name">
<cstring>txtHeading</cstring>
</property>
<property name="font">
<font>
<pointsize>24</pointsize>
<bold>1</bold>
</font>
</property>
<property name="text">
<string>Graticule Builder</string>
</property>
<property name="alignment">
<set>AlignCenter</set>
</property>
</widget>
<widget class="QTextEdit" row="1" column="3" rowspan="1" colspan="4">
<property name="name">
<cstring>teInstructions</cstring>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name="qrichtext" content="1" /&gt;&lt;/head&gt;&lt;body style="font-size:11pt;font-family:Arial"&gt;
&lt;p style="margin-top:16px"&gt;&lt;span style="font-size:16pt;font-weight:600"&gt;Description&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This plugin will help you to build a graticule shapefile that you can use as an overlay within your qgis map viewer.&lt;/p&gt;
&lt;/body&gt;&lt;/html&gt;
</string>
</property>
<property name="wordWrap">
<enum>WidgetWidth</enum>
</property>
</widget>
<widget class="QLabel" row="2" column="3" rowspan="1" colspan="3">
<property name="name">
<cstring>lblOutputFile</cstring>
</property>
<property name="text">
<string>Output (Shape) File:</string>
</property>
</widget>
<widget class="QLabel" row="4" column="3">
<property name="name">
<cstring>lblMinTimeGap</cstring>
</property>
<property name="text">
<string>Latitude Interval:</string>
</property>
</widget>
<widget class="QLabel" row="4" column="5">
<property name="name">
<cstring>lblMinDistanceGap</cstring>
</property>
<property name="text">
<string>Longitude Interval:</string>
</property>
</widget>
<widget class="QPushButton" row="3" column="6">
<property name="name">
<cstring>pbnSelectOutputFile</cstring>
</property>
<property name="text">
<string>...</string>
</property>
</widget>
<widget class="QSpinBox" row="4" column="4">
<property name="name">
<cstring>spinLatInterval</cstring>
</property>
<property name="maxValue">
<number>90</number>
</property>
<property name="lineStep">
<number>10</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
<widget class="QSpinBox" row="4" column="6">
<property name="name">
<cstring>spinLongInterval</cstring>
</property>
<property name="maxValue">
<number>180</number>
</property>
<property name="lineStep">
<number>10</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
<widget class="QPushButton" row="5" column="0">
<property name="name">
<cstring>pbnCancel</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
<widget class="QPushButton" row="5" column="6">
<property name="name">
<cstring>pbnOK</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>OK</string>
</property>
</widget>
<widget class="QLineEdit" row="3" column="3" rowspan="1" colspan="3">
<property name="name">
<cstring>leOutputShapeFile</cstring>
</property>
</widget>
<widget class="QLabel" row="0" column="0" rowspan="5" colspan="2">
<widget class="QLabel" row="0" column="0">
<property name="name">
<cstring>pixmapLabel1</cstring>
</property>
@ -173,7 +40,7 @@
<bool>true</bool>
</property>
</widget>
<widget class="Line" row="0" column="2" rowspan="5" colspan="1">
<widget class="Line" row="0" column="1">
<property name="name">
<cstring>line1</cstring>
</property>
@ -187,6 +54,168 @@
<enum>Vertical</enum>
</property>
</widget>
<widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>layout108</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>441</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>pbnOK</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;OK</string>
</property>
<property name="accel">
<string>Alt+O</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>pbnCancel</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
<property name="accel">
<string>Alt+C</string>
</property>
</widget>
</hbox>
</widget>
<widget class="QLayoutWidget" row="0" column="2">
<property name="name">
<cstring>layout109</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QTextEdit" row="1" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>teInstructions</cstring>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name="qrichtext" content="1" /&gt;&lt;/head&gt;&lt;body style="font-size:11pt;font-family:Arial"&gt;
&lt;p style="margin-top:16px"&gt;&lt;span style="font-size:16pt;font-weight:600"&gt;Description&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This plugin will help you to build a graticule shapefile that you can use as an overlay within your qgis map viewer.&lt;/p&gt;
&lt;/body&gt;&lt;/html&gt;
</string>
</property>
<property name="wordWrap">
<enum>WidgetWidth</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" row="0" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>txtHeading</cstring>
</property>
<property name="font">
<font>
<pointsize>24</pointsize>
<bold>1</bold>
</font>
</property>
<property name="text">
<string>Graticule Builder</string>
</property>
<property name="alignment">
<set>AlignCenter</set>
</property>
</widget>
<widget class="QLabel" row="4" column="0">
<property name="name">
<cstring>lblMinTimeGap</cstring>
</property>
<property name="text">
<string>Latitude Interval:</string>
</property>
</widget>
<widget class="QLabel" row="2" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>lblOutputFile</cstring>
</property>
<property name="text">
<string>Output (Shape) File:</string>
</property>
</widget>
<widget class="QPushButton" row="3" column="3">
<property name="name">
<cstring>pbnSelectOutputFile</cstring>
</property>
<property name="text">
<string>...</string>
</property>
</widget>
<widget class="QSpinBox" row="4" column="3">
<property name="name">
<cstring>spinLongInterval</cstring>
</property>
<property name="maxValue">
<number>180</number>
</property>
<property name="lineStep">
<number>10</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
<widget class="QLabel" row="4" column="2">
<property name="name">
<cstring>lblMinDistanceGap</cstring>
</property>
<property name="text">
<string>Longitude Interval:</string>
</property>
</widget>
<widget class="QLineEdit" row="3" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>leOutputShapeFile</cstring>
</property>
</widget>
<widget class="QSpinBox" row="4" column="1">
<property name="name">
<cstring>spinLatInterval</cstring>
</property>
<property name="maxValue">
<number>90</number>
</property>
<property name="lineStep">
<number>10</number>
</property>
<property name="value">
<number>1</number>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<images>

View File

@ -9,7 +9,7 @@
<x>0</x>
<y>0</y>
<width>491</width>
<height>431</height>
<height>435</height>
</rect>
</property>
<property name="paletteBackgroundColor">
@ -33,6 +33,14 @@
<property name="name">
<cstring>pixmapLabel2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>150</width>
@ -107,23 +115,18 @@
<property name="wordWrap">
<enum>WidgetWidth</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>layout1</cstring>
<cstring>layout73</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QPushButton">
<property name="name">
<cstring>pbnCancel</cstring>
</property>
<property name="text">
<string>Cancel</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer2</cstring>
@ -136,7 +139,7 @@
</property>
<property name="sizeHint">
<size>
<width>441</width>
<width>320</width>
<height>21</height>
</size>
</property>
@ -145,8 +148,28 @@
<property name="name">
<cstring>pbnOK</cstring>
</property>
<property name="maximumSize">
<size>
<width>32767</width>
<height>32767</height>
</size>
</property>
<property name="text">
<string>OK</string>
<string>&amp;OK</string>
</property>
<property name="accel">
<string>Alt+O</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>pbnCancel</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
<property name="accel">
<string>Alt+C</string>
</property>
</widget>
</hbox>