Skip to content

Commit 17d2214

Browse files
committed
[diagram] tiny UI improvements
1 parent 6051d3a commit 17d2214

File tree

1 file changed

+61
-58
lines changed

1 file changed

+61
-58
lines changed

src/ui/qgsdiagrampropertiesbase.ui

+61-58
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@
631631
<property name="bottomMargin">
632632
<number>0</number>
633633
</property>
634-
<item row="1" column="0">
634+
<item row="0" column="0">
635635
<widget class="QLabel" name="mTransparencyLabel">
636636
<property name="minimumSize">
637637
<size>
@@ -644,7 +644,62 @@
644644
</property>
645645
</widget>
646646
</item>
647-
<item row="0" column="1">
647+
<item row="0" column="1" colspan="2">
648+
<layout class="QHBoxLayout" name="horizontalLayout_5">
649+
<item>
650+
<widget class="QSlider" name="mTransparencySlider">
651+
<property name="enabled">
652+
<bool>true</bool>
653+
</property>
654+
<property name="minimumSize">
655+
<size>
656+
<width>0</width>
657+
<height>0</height>
658+
</size>
659+
</property>
660+
<property name="maximumSize">
661+
<size>
662+
<width>16777215</width>
663+
<height>16777215</height>
664+
</size>
665+
</property>
666+
<property name="maximum">
667+
<number>100</number>
668+
</property>
669+
<property name="orientation">
670+
<enum>Qt::Horizontal</enum>
671+
</property>
672+
</widget>
673+
</item>
674+
<item>
675+
<widget class="QgsSpinBox" name="mTransparencySpinBox">
676+
<property name="enabled">
677+
<bool>true</bool>
678+
</property>
679+
<property name="sizePolicy">
680+
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
681+
<horstretch>0</horstretch>
682+
<verstretch>0</verstretch>
683+
</sizepolicy>
684+
</property>
685+
<property name="suffix">
686+
<string> %</string>
687+
</property>
688+
<property name="maximum">
689+
<number>100</number>
690+
</property>
691+
</widget>
692+
</item>
693+
</layout>
694+
</item>
695+
<item row="1" column="0">
696+
<widget class="QLabel" name="mBarWidthLabel">
697+
<property name="text">
698+
<string>Bar width</string>
699+
</property>
700+
</widget>
701+
</item>
702+
<item row="1" column="1">
648703
<widget class="QgsDoubleSpinBox" name="mBarWidthSpinBox">
649704
<property name="minimum">
650705
<double>0.010000000000000</double>
@@ -681,6 +736,9 @@
681736
<property name="maximum">
682737
<double>99999.990000000005239</double>
683738
</property>
739+
<property name="singleStep">
740+
<double>0.200000000000000</double>
741+
</property>
684742
</widget>
685743
</item>
686744
<item row="4" column="0">
@@ -714,13 +772,6 @@
714772
<item row="5" column="1">
715773
<widget class="QComboBox" name="mAngleOffsetComboBox"/>
716774
</item>
717-
<item row="0" column="0">
718-
<widget class="QLabel" name="mBarWidthLabel">
719-
<property name="text">
720-
<string>Bar width</string>
721-
</property>
722-
</widget>
723-
</item>
724775
<item row="3" column="1">
725776
<widget class="QgsColorButtonV2" name="mDiagramPenColorButton">
726777
<property name="minimumSize">
@@ -760,54 +811,6 @@
760811
</property>
761812
</widget>
762813
</item>
763-
<item row="1" column="1" colspan="2">
764-
<layout class="QHBoxLayout" name="horizontalLayout_5">
765-
<item>
766-
<widget class="QSlider" name="mTransparencySlider">
767-
<property name="enabled">
768-
<bool>true</bool>
769-
</property>
770-
<property name="minimumSize">
771-
<size>
772-
<width>0</width>
773-
<height>0</height>
774-
</size>
775-
</property>
776-
<property name="maximumSize">
777-
<size>
778-
<width>16777215</width>
779-
<height>16777215</height>
780-
</size>
781-
</property>
782-
<property name="maximum">
783-
<number>100</number>
784-
</property>
785-
<property name="orientation">
786-
<enum>Qt::Horizontal</enum>
787-
</property>
788-
</widget>
789-
</item>
790-
<item>
791-
<widget class="QgsSpinBox" name="mTransparencySpinBox">
792-
<property name="enabled">
793-
<bool>true</bool>
794-
</property>
795-
<property name="sizePolicy">
796-
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
797-
<horstretch>0</horstretch>
798-
<verstretch>0</verstretch>
799-
</sizepolicy>
800-
</property>
801-
<property name="suffix">
802-
<string> %</string>
803-
</property>
804-
<property name="maximum">
805-
<number>100</number>
806-
</property>
807-
</widget>
808-
</item>
809-
</layout>
810-
</item>
811814
</layout>
812815
</widget>
813816
</item>
@@ -1839,9 +1842,9 @@
18391842
<tabstop>mRemoveCategoryPushButton</tabstop>
18401843
<tabstop>mDiagramAttributesTreeWidget</tabstop>
18411844
<tabstop>scrollArea_4</tabstop>
1842-
<tabstop>mBarWidthSpinBox</tabstop>
18431845
<tabstop>mTransparencySlider</tabstop>
18441846
<tabstop>mTransparencySpinBox</tabstop>
1847+
<tabstop>mBarWidthSpinBox</tabstop>
18451848
<tabstop>mBackgroundColorButton</tabstop>
18461849
<tabstop>mDiagramPenColorButton</tabstop>
18471850
<tabstop>mPenWidthSpinBox</tabstop>

0 commit comments

Comments
 (0)