Skip to content

Commit 3f77549

Browse files
author
borysiasty
committed
Print composer gui cleanups from Milena
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13049 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 1142e94 commit 3f77549

File tree

3 files changed

+48
-41
lines changed

3 files changed

+48
-41
lines changed

src/ui/qgscomposerarrowwidgetbase.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<item row="1" column="0">
4343
<widget class="QDoubleSpinBox" name="mOutlineWidthSpinBox">
4444
<property name="prefix">
45-
<string>Outline width </string>
45+
<string>Line width </string>
4646
</property>
4747
</widget>
4848
</item>

src/ui/qgscomposerbase.ui

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>799</width>
9+
<width>1145</width>
1010
<height>609</height>
1111
</rect>
1212
</property>
@@ -172,6 +172,7 @@
172172
<addaction name="mActionAddBasicShape"/>
173173
<addaction name="mActionAddArrow"/>
174174
<addaction name="mActionAddTable"/>
175+
<addaction name="separator"/>
175176
<addaction name="mActionSelectMoveItem"/>
176177
<addaction name="mActionMoveItemContent"/>
177178
<addaction name="mActionGroupItems"/>

src/ui/qgscomposermapwidgetbase.ui

Lines changed: 45 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,12 @@
155155
<layout class="QHBoxLayout" name="horizontalLayout_2">
156156
<item>
157157
<widget class="QCheckBox" name="mKeepLayerListCheckBox">
158+
<property name="maximumSize">
159+
<size>
160+
<width>20</width>
161+
<height>16777215</height>
162+
</size>
163+
</property>
158164
<property name="text">
159165
<string/>
160166
</property>
@@ -311,7 +317,7 @@
311317
<property name="geometry">
312318
<rect>
313319
<x>0</x>
314-
<y>-54</y>
320+
<y>0</y>
315321
<width>377</width>
316322
<height>789</height>
317323
</rect>
@@ -417,14 +423,14 @@
417423
</property>
418424
</widget>
419425
</item>
420-
<item row="19" column="0">
426+
<item row="21" column="0">
421427
<widget class="QCheckBox" name="mDrawAnnotationCheckBox">
422428
<property name="text">
423429
<string>Draw annotation</string>
424430
</property>
425431
</widget>
426432
</item>
427-
<item row="20" column="0">
433+
<item row="22" column="0">
428434
<widget class="QLabel" name="mAnnotationPositionLabel">
429435
<property name="text">
430436
<string>Annotation position</string>
@@ -437,10 +443,10 @@
437443
</property>
438444
</widget>
439445
</item>
440-
<item row="21" column="0">
446+
<item row="23" column="0">
441447
<widget class="QComboBox" name="mAnnotationPositionComboBox"/>
442448
</item>
443-
<item row="22" column="0">
449+
<item row="24" column="0">
444450
<widget class="QLabel" name="mAnnotationDirectionLabel">
445451
<property name="frameShape">
446452
<enum>QFrame::NoFrame</enum>
@@ -456,43 +462,17 @@
456462
</property>
457463
</widget>
458464
</item>
459-
<item row="23" column="0">
465+
<item row="25" column="0">
460466
<widget class="QComboBox" name="mAnnotationDirectionComboBox"/>
461467
</item>
462-
<item row="30" column="0">
463-
<widget class="QLabel" name="mLineColorLabel">
464-
<property name="text">
465-
<string>Line color</string>
466-
</property>
467-
<property name="wordWrap">
468-
<bool>true</bool>
469-
</property>
470-
<property name="buddy">
471-
<cstring>mLineColorButton</cstring>
472-
</property>
473-
</widget>
474-
</item>
475-
<item row="31" column="0">
476-
<widget class="QgsColorButton" name="mLineColorButton">
477-
<property name="sizePolicy">
478-
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
479-
<horstretch>0</horstretch>
480-
<verstretch>0</verstretch>
481-
</sizepolicy>
482-
</property>
483-
<property name="text">
484-
<string/>
485-
</property>
486-
</widget>
487-
</item>
488-
<item row="32" column="0">
468+
<item row="34" column="0">
489469
<widget class="QPushButton" name="mAnnotationFontButton">
490470
<property name="text">
491471
<string>Font...</string>
492472
</property>
493473
</widget>
494474
</item>
495-
<item row="33" column="0">
475+
<item row="35" column="0">
496476
<widget class="QLabel" name="mDistanceToFrameLabel">
497477
<property name="text">
498478
<string>Distance to map frame</string>
@@ -505,10 +485,10 @@
505485
</property>
506486
</widget>
507487
</item>
508-
<item row="34" column="0">
488+
<item row="36" column="0">
509489
<widget class="QDoubleSpinBox" name="mDistanceToMapFrameSpinBox"/>
510490
</item>
511-
<item row="35" column="0">
491+
<item row="37" column="0">
512492
<widget class="QLabel" name="mCoordinatePrecisionLabel">
513493
<property name="text">
514494
<string>Coordinate precision</string>
@@ -521,7 +501,7 @@
521501
</property>
522502
</widget>
523503
</item>
524-
<item row="36" column="0">
504+
<item row="38" column="0">
525505
<widget class="QSpinBox" name="mCoordinatePrecisionSpinBox"/>
526506
</item>
527507
<item row="15" column="0">
@@ -590,7 +570,7 @@
590570
</property>
591571
</widget>
592572
</item>
593-
<item row="37" column="0">
573+
<item row="39" column="0">
594574
<spacer name="verticalSpacer_2">
595575
<property name="orientation">
596576
<enum>Qt::Vertical</enum>
@@ -603,6 +583,32 @@
603583
</property>
604584
</spacer>
605585
</item>
586+
<item row="19" column="0">
587+
<widget class="QLabel" name="mLineColorLabel">
588+
<property name="text">
589+
<string>Line color</string>
590+
</property>
591+
<property name="wordWrap">
592+
<bool>true</bool>
593+
</property>
594+
<property name="buddy">
595+
<cstring>mLineColorButton</cstring>
596+
</property>
597+
</widget>
598+
</item>
599+
<item row="20" column="0">
600+
<widget class="QgsColorButton" name="mLineColorButton">
601+
<property name="sizePolicy">
602+
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
603+
<horstretch>0</horstretch>
604+
<verstretch>0</verstretch>
605+
</sizepolicy>
606+
</property>
607+
<property name="text">
608+
<string/>
609+
</property>
610+
</widget>
611+
</item>
606612
</layout>
607613
</widget>
608614
</item>
@@ -641,10 +647,10 @@
641647
<tabstop>mOffsetYSpinBox</tabstop>
642648
<tabstop>mCrossWidthSpinBox</tabstop>
643649
<tabstop>mLineWidthSpinBox</tabstop>
650+
<tabstop>mLineColorButton</tabstop>
644651
<tabstop>mDrawAnnotationCheckBox</tabstop>
645652
<tabstop>mAnnotationPositionComboBox</tabstop>
646653
<tabstop>mAnnotationDirectionComboBox</tabstop>
647-
<tabstop>mLineColorButton</tabstop>
648654
<tabstop>mAnnotationFontButton</tabstop>
649655
<tabstop>mDistanceToMapFrameSpinBox</tabstop>
650656
<tabstop>mCoordinatePrecisionSpinBox</tabstop>

0 commit comments

Comments
 (0)