Expand Up
@@ -6,169 +6,172 @@
<rect >
<x >0</x >
<y >0</y >
<width >368 </width >
<height >296 </height >
<width >278 </width >
<height >195 </height >
</rect >
</property >
<property name =" windowTitle" >
<string >Form</string >
</property >
<layout class =" QGridLayout" name =" gridLayout_2 " >
<layout class =" QGridLayout" name =" gridLayout " >
<item row =" 0" column =" 0" >
<layout class =" QGridLayout" name =" gridLayout" >
<item row =" 0" column =" 0" >
<widget class =" QLabel" name =" label" >
<property name =" text" >
<string >Color</string >
</property >
</widget >
</item >
<item row =" 0" column =" 1" >
<widget class =" QgsColorButtonV2" name =" btnChangeColor" >
<property name =" sizePolicy" >
<sizepolicy hsizetype =" Preferred" vsizetype =" Fixed" >
<horstretch >0</horstretch >
<verstretch >0</verstretch >
</sizepolicy >
</property >
<property name =" text" >
<string >Change</string >
</property >
</widget >
</item >
<item row =" 1" column =" 0" >
<widget class =" QLabel" name =" label_2" >
<property name =" text" >
<string >Pen width</string >
</property >
</widget >
</item >
<item row =" 1" column =" 1" >
<widget class =" QDoubleSpinBox" name =" spinWidth" >
<property name =" sizePolicy" >
<sizepolicy hsizetype =" Preferred" vsizetype =" Fixed" >
<horstretch >0</horstretch >
<verstretch >0</verstretch >
</sizepolicy >
</property >
<property name =" alignment" >
<set >Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set >
</property >
<property name =" decimals" >
<number >5</number >
</property >
<property name =" maximum" >
<double >100000.000000000000000</double >
</property >
<property name =" value" >
<double >1.000000000000000</double >
</property >
</widget >
</item >
<item row =" 2" column =" 0" >
<widget class =" QLabel" name =" label_4" >
<property name =" text" >
<string >Offset</string >
</property >
</widget >
</item >
<item row =" 2" column =" 1" >
<widget class =" QDoubleSpinBox" name =" spinOffset" >
<property name =" alignment" >
<set >Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set >
</property >
<property name =" decimals" >
<number >5</number >
</property >
<property name =" minimum" >
<double >-100000.000000000000000</double >
</property >
<property name =" maximum" >
<double >100000.000000000000000</double >
</property >
</widget >
</item >
<item row =" 3" column =" 0" >
<widget class =" QLabel" name =" label_3" >
<property name =" text" >
<string >Pen style</string >
</property >
</widget >
</item >
<item row =" 3" column =" 1" >
<widget class =" QgsPenStyleComboBox" name =" cboPenStyle" />
</item >
</layout >
<widget class =" QLabel" name =" label" >
<property name =" text" >
<string >Color</string >
</property >
</widget >
</item >
<item row =" 0" column =" 1" colspan =" 2" >
<widget class =" QgsColorButtonV2" name =" btnChangeColor" >
<property name =" sizePolicy" >
<sizepolicy hsizetype =" Preferred" vsizetype =" Fixed" >
<horstretch >0</horstretch >
<verstretch >0</verstretch >
</sizepolicy >
</property >
<property name =" text" >
<string >Change</string >
</property >
</widget >
</item >
<item row =" 1" column =" 0" >
<layout class =" QHBoxLayout" name =" horizontalLayout" >
<widget class =" QLabel" name =" label_2" >
<property name =" text" >
<string >Pen width</string >
</property >
</widget >
</item >
<item row =" 1" column =" 1" >
<widget class =" QDoubleSpinBox" name =" spinWidth" >
<property name =" sizePolicy" >
<sizepolicy hsizetype =" Preferred" vsizetype =" Fixed" >
<horstretch >0</horstretch >
<verstretch >0</verstretch >
</sizepolicy >
</property >
<property name =" alignment" >
<set >Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set >
</property >
<property name =" decimals" >
<number >5</number >
</property >
<property name =" maximum" >
<double >100000.000000000000000</double >
</property >
<property name =" value" >
<double >1.000000000000000</double >
</property >
</widget >
</item >
<item row =" 1" column =" 2" >
<widget class =" QComboBox" name =" mPenWidthUnitComboBox" >
<property name =" sizePolicy" >
<sizepolicy hsizetype =" Minimum" vsizetype =" Fixed" >
<horstretch >0</horstretch >
<verstretch >0</verstretch >
</sizepolicy >
</property >
<item >
<widget class =" QCheckBox" name =" mCustomCheckBox" >
<property name =" text" >
<string >Use custom dash pattern</string >
</property >
</widget >
<property name =" text" >
<string >Millimeter</string >
</property >
</item >
<item >
<widget class =" QPushButton" name =" mChangePatternButton" >
<property name =" text" >
<string >Change</string >
</property >
</widget >
<property name =" text" >
<string >Map unit</string >
</property >
</item >
</layout >
</widget >
</item >
<item row =" 2" column =" 0" >
<spacer >
<property name =" orientation" >
<enum >Qt::Vertical</enum >
<widget class =" QLabel" name =" label_4" >
<property name =" text" >
<string >Offset</string >
</property >
</widget >
</item >
<item row =" 2" column =" 1" >
<widget class =" QDoubleSpinBox" name =" spinOffset" >
<property name =" alignment" >
<set >Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set >
</property >
<property name =" decimals" >
<number >5</number >
</property >
<property name =" sizeHint" stdset =" 0" >
<size >
<width >350</width >
<height >81</height >
</size >
<property name =" minimum" >
<double >-100000.000000000000000</double >
</property >
</spacer >
<property name =" maximum" >
<double >100000.000000000000000</double >
</property >
</widget >
</item >
<item row =" 2" column =" 2" >
<widget class =" QComboBox" name =" mOffsetUnitComboBox" >
<property name =" sizePolicy" >
<sizepolicy hsizetype =" Minimum" vsizetype =" Fixed" >
<horstretch >0</horstretch >
<verstretch >0</verstretch >
</sizepolicy >
</property >
<item >
<property name =" text" >
<string >Millimeter</string >
</property >
</item >
<item >
<property name =" text" >
<string >Map unit</string >
</property >
</item >
</widget >
</item >
<item row =" 3" column =" 0" >
<layout class =" QGridLayout" name =" gridLayout_1" >
<item row =" 0" column =" 0" >
<widget class =" QLabel" name =" label_5" >
<widget class =" QLabel" name =" label_3" >
<property name =" text" >
<string >Pen style</string >
</property >
</widget >
</item >
<item row =" 3" column =" 1" colspan =" 2" >
<widget class =" QgsPenStyleComboBox" name =" cboPenStyle" />
</item >
<item row =" 4" column =" 0" >
<widget class =" QLabel" name =" label_5" >
<property name =" text" >
<string >Join style</string >
</property >
</widget >
</item >
<item row =" 4" column =" 1" rowspan =" 2" colspan =" 2" >
<widget class =" QgsPenJoinStyleComboBox" name =" cboJoinStyle" />
</item >
<item row =" 5" column =" 0" rowspan =" 2" >
<widget class =" QLabel" name =" label_6" >
<property name =" text" >
<string >Cap style</string >
</property >
</widget >
</item >
<item row =" 6" column =" 1" colspan =" 2" >
<widget class =" QgsPenCapStyleComboBox" name =" cboCapStyle" />
</item >
<item row =" 7" column =" 0" colspan =" 3" >
<layout class =" QHBoxLayout" name =" horizontalLayout" >
<item >
<widget class =" QCheckBox" name =" mCustomCheckBox" >
<property name =" text" >
<string >Join style </string >
<string >Use custom dash pattern </string >
</property >
</widget >
</item >
<item row =" 0" column =" 1" >
<widget class =" QgsPenJoinStyleComboBox" name =" cboJoinStyle" />
</item >
<item row =" 0" column =" 2" rowspan =" 2" >
<spacer name =" horizontalSpacer" >
<property name =" orientation" >
<enum >Qt::Horizontal</enum >
</property >
<property name =" sizeType" >
<enum >QSizePolicy::Preferred</enum >
</property >
<property name =" sizeHint" stdset =" 0" >
<size >
<width >40</width >
<height >38</height >
</size >
</property >
</spacer >
</item >
<item row =" 1" column =" 0" >
<widget class =" QLabel" name =" label_6" >
<item >
<widget class =" QPushButton" name =" mChangePatternButton" >
<property name =" text" >
<string >Cap style </string >
<string >Change </string >
</property >
</widget >
</item >
<item row =" 1" column =" 1" >
<widget class =" QgsPenCapStyleComboBox" name =" cboCapStyle" />
</item >
</layout >
</item >
</layout >
Expand Down