Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Changed: right-align labels on paragraph/character dialogs

REVIEW: 104408
parent 79390dee
......@@ -28,7 +28,7 @@
</attribute>
<layout class="QGridLayout">
<item row="0" column="0" colspan="3">
<widget class="QLabel" name="label_5">
<widget class="QLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
......@@ -41,10 +41,13 @@
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QLabel" name="label">
<widget class="QLabel">
<property name="text">
<string>Name:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="2">
......@@ -55,6 +58,9 @@
<property name="text">
<string>Next style:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>nextStyle</cstring>
</property>
......@@ -68,6 +74,9 @@
<property name="text">
<string>Inherit style:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>inheritStyle</cstring>
</property>
......
......@@ -10,11 +10,14 @@
<height>456</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_7">
<layout class="QVBoxLayout">
<item>
<layout class="QGridLayout" name="fontLayout"/>
</item>
<item>
<layout class="QHBoxLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<layout class="QHBoxLayout" stretch="0,0,0,0,1">
<item>
<widget class="QCheckBox" name="enableText"/>
</item>
......@@ -23,9 +26,6 @@
<property name="text">
<string>Text color:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>textColor</cstring>
</property>
......@@ -42,22 +42,16 @@
</widget>
</item>
<item>
<spacer name="horizontalSpacer_5">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<layout class="QHBoxLayout" stretch="0,0,0,0,1">
<item>
<widget class="QCheckBox" name="enableBackground">
<property name="text">
......@@ -70,9 +64,6 @@
<property name="text">
<string>Background color:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>backgroundColor</cstring>
</property>
......@@ -89,185 +80,117 @@
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</item>
<item row="0" column="0">
<layout class="QGridLayout" name="fontLayout"/>
</item>
<item row="3" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="textLabel1">
<property name="enabled">
<bool>true</bool>
</property>
<item>
<layout class="QFormLayout">
<item row="0" column="0">
<widget class="QLabel">
<property name="text">
<string>Underlining:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>underlineStyle</cstring>
</property>
</widget>
</item>
<item>
<widget class="KComboBox" name="underlineStyle"/>
</item>
<item>
<widget class="KComboBox" name="underlineLineStyle">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="KColorButton" name="underlineColor">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
<item row="0" column="1">
<layout class="QHBoxLayout">
<item>
<widget class="KComboBox" name="underlineStyle"/>
</item>
<item>
<widget class="KComboBox" name="underlineLineStyle">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="KColorButton" name="underlineColor">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item row="5" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="textLabel2">
<item row="1" column="0">
<widget class="QLabel">
<property name="text">
<string>Strikethrough:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="strikethroughStyle"/>
</item>
<item>
<widget class="QComboBox" name="strikethroughLineStyle">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="KColorButton" name="strikethroughColor">
<property name="enabled">
<bool>false</bool>
<property name="buddy">
<cstring>strikethroughStyle</cstring>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
<item row="1" column="1">
<layout class="QHBoxLayout">
<item>
<widget class="QComboBox" name="strikethroughStyle"/>
</item>
<item>
<widget class="QComboBox" name="strikethroughLineStyle">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="KColorButton" name="strikethroughColor">
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
<item row="6" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="label_6">
<item row="2" column="0">
<widget class="QLabel">
<property name="text">
<string>Capitalization:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="buddy">
<cstring>capitalizationList</cstring>
</property>
</widget>
</item>
<item>
<item row="2" column="1">
<widget class="QComboBox" name="capitalizationList"/>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="7" column="0">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="label">
<item row="3" column="0">
<widget class="QLabel">
<property name="text">
<string>Position:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="buddy">
<cstring>positionList</cstring>
</property>
</widget>
</item>
<item>
<item row="3" column="1">
<widget class="QComboBox" name="positionList"/>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</spacer>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>KColorButton</class>
......
......@@ -27,6 +27,9 @@
<property name="text">
<string>Prefix:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>prefix</cstring>
</property>
......@@ -40,6 +43,9 @@
<property name="text">
<string>Suffix:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>suffix</cstring>
</property>
......@@ -53,6 +59,9 @@
<property name="text">
<string>Start at:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>startValue</cstring>
</property>
......@@ -76,6 +85,9 @@
<property name="text">
<string>Alignment:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>alignment</cstring>
</property>
......@@ -89,6 +101,9 @@
<property name="text">
<string>Depth:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>depth</cstring>
</property>
......@@ -109,6 +124,9 @@
<property name="text">
<string>Display Levels:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>levels</cstring>
</property>
......@@ -126,6 +144,9 @@
<property name="text">
<string>Bullet/Number followed by</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="4" column="3">
......@@ -160,6 +181,9 @@
<property name="text">
<string>Aligned at</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="5" column="3">
......@@ -174,6 +198,9 @@
<property name="text">
<string>Indented at</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
......
......@@ -14,16 +14,19 @@
</property>
<layout class="QGridLayout" >
<item row="0" column="0" >
<widget class="QGroupBox" name="groupBox" >
<widget class="QGroupBox">
<property name="title" >
<string>Indent</string>
</property>
<layout class="QGridLayout" >
<layout class="QGridLayout" columnstretch="0,0,1">
<item row="0" column="0" >
<widget class="QLabel" name="label" >
<widget class="QLabel">
<property name="text" >
<string>Left:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>left</cstring>
</property>
......@@ -37,19 +40,16 @@
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>71</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_2" >
<widget class="QLabel">
<property name="text" >
<string>Right:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>right</cstring>
</property>
......@@ -59,10 +59,13 @@
<widget class="KoUnitDoubleSpinBox" name="right" />
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_3" >
<widget class="QLabel">
<property name="text" >
<string>First Line:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy" >
<cstring>first</cstring>
</property>
......@@ -82,25 +85,24 @@
</widget>
</item>
<item row="1" column="0" >
<widget class="QGroupBox" name="groupBox_2" >
<widget class="QGroupBox">
<property name="whatsThis" >
<string>&lt;p>&lt;ul>&lt;li>&lt;b>Single&lt;/b>: The normal linespacing&lt;/li>&lt;/ul>&lt;/p> </string>
</property>
<property name="title" >
<string>Line Spacing</string>
</property>
<layout class="QGridLayout" >
<item row="0" column="0" colspan="2" >
<layout class="QVBoxLayout">
<item>
<layout class="QHBoxLayout" stretch="0,0,1">
<property name="margin" >
<number>0</number>
</property>
<item>
<widget class="QComboBox" name="lineSpacing" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="0" column="2" >
<item>
<widget class="QStackedWidget" name="spacingStack" >
<property name="currentIndex" >
<number>1</number>
......@@ -143,10 +145,22 @@
</widget>
</widget>
</item>
<item row="1" column="0" >
<layout class="QGridLayout" >
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</spacer>
</item>
</layout>
</item>
<item>
<layout class="QFormLayout" >
<property name="margin" >
<number>0</number>
</property>
<item row="0" column="0" >
<widget class="QLabel" name="label_4" >
<widget class="QLabel">
<property name="text" >
<string>Use Font Metrics:</string>
</property>
......@@ -163,7 +177,7 @@
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_7" >
<widget class="QLabel">
<property name="text" >
<string>Minimum:</string>
</property>
......@@ -177,30 +191,17 @@
</item>
</layout>
</item>
<item row="1" column="1" colspan="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>91</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="2" column="0" >
<widget class="QGroupBox" name="groupBox_3" >
<widget class="QGroupBox">
<property name="title" >
<string>Paragraph Space</string>
</property>
<layout class="QGridLayout" >
<layout class="QFormLayout" >
<item row="0" column="0" >
<widget class="QLabel" name="label_5" >
<widget class="QLabel">
<property name="text" >
<string>Before:</string>
</property>
......@@ -212,21 +213,8 @@
<item row="0" column="1" >
<widget class="KoUnitDoubleSpinBox" name="before" />
</item>
<item rowspan="2" row="0" column="2" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>40</width>
<height>51</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="label_6" >
<widget class="QLabel">
<property name="text" >
<string>After:</string>
</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment