Skip to content

Commit 13a7524

Browse files
author
timlinux
committed
HIG compliance updates for annotation dialogs
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13197 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 24b1c16 commit 13a7524

File tree

2 files changed

+31
-6
lines changed

2 files changed

+31
-6
lines changed

src/ui/qgsannotationwidgetbase.ui

+13-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<x>0</x>
88
<y>0</y>
99
<width>213</width>
10-
<height>150</height>
10+
<height>152</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
@@ -26,7 +26,10 @@
2626
<item>
2727
<widget class="QLabel" name="mMapMarkerLabel">
2828
<property name="text">
29-
<string>Map marker:</string>
29+
<string>Map marker</string>
30+
</property>
31+
<property name="buddy">
32+
<cstring>mMapMarkerButton</cstring>
3033
</property>
3134
</widget>
3235
</item>
@@ -44,7 +47,10 @@
4447
<item>
4548
<widget class="QLabel" name="mFrameWidthLabel">
4649
<property name="text">
47-
<string>Frame width:</string>
50+
<string>Frame width</string>
51+
</property>
52+
<property name="buddy">
53+
<cstring>mFrameWidthSpinBox</cstring>
4854
</property>
4955
</widget>
5056
</item>
@@ -58,7 +64,10 @@
5864
<item>
5965
<widget class="QLabel" name="mFrameColorLabel">
6066
<property name="text">
61-
<string>Frame color:</string>
67+
<string>Frame color</string>
68+
</property>
69+
<property name="buddy">
70+
<cstring>mFrameColorButton</cstring>
6271
</property>
6372
</widget>
6473
</item>

src/ui/qgstextannotationdialogbase.ui

+18-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>419</width>
9+
<width>517</width>
1010
<height>364</height>
1111
</rect>
1212
</property>
@@ -78,7 +78,10 @@
7878
<item>
7979
<widget class="QLabel" name="mBackgroundColorLabel">
8080
<property name="text">
81-
<string>Background color: </string>
81+
<string>Background color</string>
82+
</property>
83+
<property name="buddy">
84+
<cstring>mBackgroundColorButton</cstring>
8285
</property>
8386
</widget>
8487
</item>
@@ -99,6 +102,9 @@
99102
</item>
100103
<item row="3" column="0">
101104
<widget class="QStackedWidget" name="mStackedWidget">
105+
<property name="currentIndex">
106+
<number>0</number>
107+
</property>
102108
<widget class="QWidget" name="page"/>
103109
<widget class="QWidget" name="page_2"/>
104110
</widget>
@@ -122,6 +128,16 @@
122128
<header>qgscolorbutton.h</header>
123129
</customwidget>
124130
</customwidgets>
131+
<tabstops>
132+
<tabstop>mFontComboBox</tabstop>
133+
<tabstop>mFontSizeSpinBox</tabstop>
134+
<tabstop>mBoldPushButton</tabstop>
135+
<tabstop>mItalicsPushButton</tabstop>
136+
<tabstop>mFontColorButton</tabstop>
137+
<tabstop>mTextEdit</tabstop>
138+
<tabstop>mBackgroundColorButton</tabstop>
139+
<tabstop>mButtonBox</tabstop>
140+
</tabstops>
125141
<resources/>
126142
<connections>
127143
<connection>

0 commit comments

Comments
 (0)