Skip to content
Permalink
Browse files
HIG compliance for composer and it's dialogs
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11747 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 3, 2009
1 parent a04b39d commit b5a9f425709ed9c1ada1fb219b3806830567264b
@@ -19,23 +19,8 @@
<property name="mouseTracking" >
<bool>true</bool>
</property>
<layout class="QVBoxLayout" >
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>9</number>
</property>
<property name="topMargin" >
<number>9</number>
</property>
<property name="rightMargin" >
<number>9</number>
</property>
<property name="bottomMargin" >
<number>9</number>
</property>
<item>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QSplitter" name="mSplitter" >
<property name="mouseTracking" >
<bool>true</bool>
@@ -171,51 +156,12 @@
</widget>
</widget>
</item>
<item>
<layout class="QHBoxLayout" >
<property name="spacing" >
<number>6</number>
<item row="1" column="0" >
<widget class="QDialogButtonBox" name="buttonBox" >
<property name="standardButtons" >
<set>QDialogButtonBox::Close|QDialogButtonBox::Help|QDialogButtonBox::NoButton</set>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="helpPButton" >
<property name="text" >
<string>Help</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" >
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="closePButton" >
<property name="text" >
<string>Close</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
@@ -502,5 +448,22 @@
<tabstop>mSplitter</tabstop>
</tabstops>
<resources/>
<connections/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>QgsComposerBase</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel" >
<x>612</x>
<y>583</y>
</hint>
<hint type="destinationlabel" >
<x>735</x>
<y>567</y>
</hint>
</hints>
</connection>
</connections>
</ui>
@@ -22,7 +22,10 @@
<item row="0" column="0" >
<widget class="QLabel" name="mColorLabel" >
<property name="text" >
<string>Color:</string>
<string>Color</string>
</property>
<property name="buddy" >
<cstring>mFrameColorButton</cstring>
</property>
</widget>
</item>
@@ -43,7 +46,10 @@
<item row="1" column="0" colspan="2" >
<widget class="QLabel" name="mOpacityLabel" >
<property name="text" >
<string>Opacity:</string>
<string>Opacity</string>
</property>
<property name="buddy" >
<cstring>mOpacitySlider</cstring>
</property>
</widget>
</item>
@@ -60,7 +66,10 @@
<item row="2" column="0" colspan="2" >
<widget class="QLabel" name="mOutlineWidthLabel" >
<property name="text" >
<string>Outline width: </string>
<string>Outline width</string>
</property>
<property name="buddy" >
<cstring>mOutlineWidthSpinBox</cstring>
</property>
</widget>
</item>
@@ -42,7 +42,10 @@
<item row="2" column="0" >
<widget class="QLabel" name="mMarginTextLabel" >
<property name="text" >
<string>Margin (mm):</string>
<string>Margin (mm)</string>
</property>
<property name="buddy" >
<cstring>mMarginDoubleSpinBox</cstring>
</property>
</widget>
</item>
@@ -53,7 +56,9 @@
</widget>
<layoutdefault spacing="6" margin="11" />
<tabstops>
<tabstop>mTextEdit</tabstop>
<tabstop>mFontButton</tabstop>
<tabstop>mMarginDoubleSpinBox</tabstop>
</tabstops>
<resources/>
<connections/>
@@ -16,7 +16,10 @@
<item row="0" column="0" >
<widget class="QLabel" name="mItemTextLabel" >
<property name="text" >
<string>Item text:</string>
<string>Item text</string>
</property>
<property name="buddy" >
<cstring>mItemTextLineEdit</cstring>
</property>
</widget>
</item>
@@ -44,8 +47,8 @@
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<x>248</x>
<y>254</y>
<x>257</x>
<y>76</y>
</hint>
<hint type="destinationlabel" >
<x>157</x>
@@ -60,8 +63,8 @@
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<x>316</x>
<y>260</y>
<x>325</x>
<y>76</y>
</hint>
<hint type="destinationlabel" >
<x>286</x>
Loading

0 comments on commit b5a9f42

Please sign in to comment.