Skip to content

Commit

Permalink
Further ui cleanups for map composer
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11974 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 7, 2009
1 parent f8dea79 commit fb42a8d
Show file tree
Hide file tree
Showing 5 changed files with 500 additions and 425 deletions.
6 changes: 3 additions & 3 deletions src/ui/qgscomposerbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
</size>
</property>
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
Expand Down Expand Up @@ -445,9 +445,9 @@
</action>
</widget>
<tabstops>
<tabstop>mOptionsTabWidget</tabstop>
<tabstop>buttonBox</tabstop>
<tabstop>mCompositionNameComboBox</tabstop>
<tabstop>mSplitter</tabstop>
<tabstop>mOptionsTabWidget</tabstop>
</tabstops>
<resources/>
<connections>
Expand Down
22 changes: 22 additions & 0 deletions src/ui/qgscomposeritemwidgetbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
<property name="text">
<string>Color</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="buddy">
<cstring>mFrameColorButton</cstring>
</property>
Expand All @@ -52,6 +55,9 @@
<property name="text">
<string>Opacity</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="buddy">
<cstring>mOpacitySlider</cstring>
</property>
Expand All @@ -72,6 +78,9 @@
<property name="text">
<string>Outline width</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="buddy">
<cstring>mOutlineWidthSpinBox</cstring>
</property>
Expand All @@ -94,6 +103,19 @@
</property>
</widget>
</item>
<item row="9" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
Expand Down
50 changes: 27 additions & 23 deletions src/ui/qgscomposerlabelwidgetbase.ui
Original file line number Diff line number Diff line change
@@ -1,60 +1,64 @@
<ui version="4.0" >
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QgsComposerLabelWidgetBase</class>
<widget class="QWidget" name="QgsComposerLabelWidgetBase" >
<property name="geometry" >
<widget class="QWidget" name="QgsComposerLabelWidgetBase">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>217</width>
<height>274</height>
<height>302</height>
</rect>
</property>
<property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Label Options</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" colspan="2" >
<widget class="QTextEdit" name="mTextEdit" >
<property name="lineWrapMode" >
<layout class="QGridLayout" name="gridLayout">
<property name="margin">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QTextEdit" name="mTextEdit">
<property name="lineWrapMode">
<enum>QTextEdit::NoWrap</enum>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2" >
<widget class="QPushButton" name="mFontButton" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<item row="1" column="0">
<widget class="QPushButton" name="mFontButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<property name="text">
<string>Font</string>
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="mMarginTextLabel" >
<property name="text" >
<item row="2" column="0">
<widget class="QLabel" name="mMarginTextLabel">
<property name="text">
<string>Margin (mm)</string>
</property>
<property name="buddy" >
<property name="buddy">
<cstring>mMarginDoubleSpinBox</cstring>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QDoubleSpinBox" name="mMarginDoubleSpinBox" />
<item row="3" column="0">
<widget class="QDoubleSpinBox" name="mMarginDoubleSpinBox"/>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11" />
<layoutdefault spacing="6" margin="11"/>
<tabstops>
<tabstop>mTextEdit</tabstop>
<tabstop>mFontButton</tabstop>
Expand Down
Loading

0 comments on commit fb42a8d

Please sign in to comment.