Expand Up
@@ -7,49 +7,27 @@
<x >0</x >
<y >0</y >
<width >395</width >
<height >276 </height >
<height >348 </height >
</rect >
</property >
<property name =" windowTitle" >
<string >Form</string >
</property >
<layout class =" QGridLayout" name =" gridLayout" >
<item row =" 4" column =" 0" >
<widget class =" QLabel" name =" label_5" >
<property name =" text" >
<string >Join style</string >
</property >
</widget >
</item >
<item row =" 7" column =" 0" colspan =" 3" >
<layout class =" QHBoxLayout" name =" horizontalLayout" >
<property name =" sizeConstraint" >
<enum >QLayout::SetFixedSize</enum >
</property >
<item >
<widget class =" QCheckBox" name =" mCustomCheckBox" >
<property name =" text" >
<string >Use custom dash pattern</string >
</property >
</widget >
</item >
<item >
<widget class =" QPushButton" name =" mChangePatternButton" >
<property name =" text" >
<string >Change</string >
</property >
</widget >
</item >
</layout >
</item >
<item row =" 3" column =" 0" >
<widget class =" QLabel" name =" label_3" >
<layout class =" QFormLayout" name =" formLayout" >
<property name =" horizontalSpacing" >
<number >28</number >
</property >
<property name =" margin" >
<number >1</number >
</property >
<item row =" 0" column =" 0" >
<widget class =" QLabel" name =" label" >
<property name =" text" >
<string >Pen style </string >
<string >Color </string >
</property >
</widget >
</item >
<item row =" 0" column =" 1" colspan = " 2 " >
<item row =" 0" column =" 1" >
<widget class =" QgsColorButton" name =" btnChangeColor" >
<property name =" sizePolicy" >
<sizepolicy hsizetype =" Preferred" vsizetype =" Fixed" >
Expand All
@@ -58,173 +36,209 @@
</sizepolicy >
</property >
<property name =" text" >
<string >Change...</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 >
<string />
</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 >
<item row =" 1" column =" 0" >
<widget class =" QLabel" name =" label_2" >
<property name =" text" >
<string >Pen width</string >
</property >
<item >
<property name =" text" >
<string >Millimeter</string >
</property >
</item >
<item >
<property name =" text" >
<string >Map unit</string >
</property >
</item >
</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 =" 4" column =" 1" colspan =" 2" >
<widget class =" QgsPenJoinStyleComboBox" name =" cboJoinStyle" />
</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 >
<layout class =" QHBoxLayout" name =" horizontalLayout_2" >
<item >
<property name =" text" >
<string >Millimeter</string >
</property >
<widget class =" QDoubleSpinBox" name =" spinWidth" >
<property name =" sizePolicy" >
<sizepolicy hsizetype =" Preferred" vsizetype =" Fixed" >
<horstretch >1</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 >
<property name =" text" >
<string >Map unit</string >
</property >
<widget class =" QComboBox" name =" mPenWidthUnitComboBox" >
<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 >
</widget >
</layout >
</item >
<item row =" 8" column =" 1" colspan =" 2" >
<widget class =" QComboBox" name =" mDashPatternUnitComboBox" >
<item >
<property name =" text" >
<string >Millimeter</string >
</property >
</item >
<item >
<property name =" text" >
<string >Map unit</string >
</property >
</item >
<item row =" 2" column =" 0" >
<widget class =" QLabel" name =" label_4" >
<property name =" text" >
<string >Offset</string >
</property >
</widget >
</item >
<item row =" 3" column =" 1" colspan =" 2" >
<widget class =" QgsPenStyleComboBox" name =" cboPenStyle" />
</item >
<item row =" 9" column =" 0" colspan =" 3" >
<layout class =" QHBoxLayout" name =" horizontalLayout_2" >
<item row =" 2" column =" 1" >
<layout class =" QHBoxLayout" name =" horizontalLayout_3" >
<item >
<widget class =" QLabel" name =" mDataDefinedPropertiesLabel" >
<property name =" text" >
<string >Data defined properties</string >
<widget class =" QDoubleSpinBox" name =" spinOffset" >
<property name =" sizePolicy" >
<sizepolicy hsizetype =" Minimum" vsizetype =" Fixed" >
<horstretch >1</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 =" minimum" >
<double >-100000.000000000000000</double >
</property >
<property name =" maximum" >
<double >100000.000000000000000</double >
</property >
</widget >
</item >
<item >
<widget class =" QPushButton " name =" mDataDefinedPropertiesButton " >
<widget class =" QComboBox " name =" mOffsetUnitComboBox " >
<property name =" sizePolicy" >
<sizepolicy hsizetype =" Minimum" vsizetype =" Fixed" >
<horstretch >0</horstretch >
<verstretch >0</verstretch >
</sizepolicy >
</property >
<property name =" text" >
<string >...</string >
</property >
<item >
<property name =" text" >
<string >Millimeter</string >
</property >
</item >
<item >
<property name =" text" >
<string >Map unit</string >
</property >
</item >
</widget >
</item >
</layout >
</item >
<item row =" 1 " column =" 0" >
<widget class =" QLabel" name =" label_2 " >
<item row =" 3 " column =" 0" >
<widget class =" QLabel" name =" label_3 " >
<property name =" text" >
<string >Pen width </string >
<string >Pen style </string >
</property >
</widget >
</item >
<item row =" 2" column =" 0" >
<widget class =" QLabel" name =" label_4" >
<item row =" 3" column =" 1" >
<widget class =" QgsPenStyleComboBox" name =" cboPenStyle" />
</item >
<item row =" 4" column =" 0" >
<widget class =" QLabel" name =" label_5" >
<property name =" text" >
<string >Offset </string >
<string >Join style </string >
</property >
</widget >
</item >
<item row =" 0" column =" 0" >
<widget class =" QLabel" name =" label" >
<item row =" 4" column =" 1" >
<widget class =" QgsPenJoinStyleComboBox" name =" cboJoinStyle" />
</item >
<item row =" 5" column =" 0" >
<widget class =" QLabel" name =" label_6" >
<property name =" text" >
<string >Color </string >
<string >Cap style </string >
</property >
</widget >
</item >
<item row =" 8" column =" 0" >
<item row =" 5" column =" 1" >
<widget class =" QgsPenCapStyleComboBox" name =" cboCapStyle" />
</item >
<item row =" 6" column =" 0" colspan =" 2" >
<layout class =" QHBoxLayout" name =" horizontalLayout" >
<property name =" sizeConstraint" >
<enum >QLayout::SetFixedSize</enum >
</property >
<item >
<widget class =" QCheckBox" name =" mCustomCheckBox" >
<property name =" text" >
<string >Use custom dash pattern</string >
</property >
</widget >
</item >
<item >
<widget class =" QPushButton" name =" mChangePatternButton" >
<property name =" text" >
<string >Change</string >
</property >
</widget >
</item >
</layout >
</item >
<item row =" 7" column =" 0" >
<widget class =" QLabel" name =" mDashPatternUnitLabel" >
<property name =" text" >
<string >Dash pattern unit</string >
</property >
</widget >
</item >
<item row =" 5" column =" 1" colspan =" 2" >
<widget class =" QgsPenCapStyleComboBox" name =" cboCapStyle" />
<item row =" 7" column =" 1" >
<widget class =" QComboBox" name =" mDashPatternUnitComboBox" >
<item >
<property name =" text" >
<string >Millimeter</string >
</property >
</item >
<item >
<property name =" text" >
<string >Map unit</string >
</property >
</item >
</widget >
</item >
<item row =" 5" column =" 0" >
<widget class =" QLabel" name =" label_6" >
<item row =" 8" column =" 0" colspan =" 2" >
<widget class =" QPushButton" name =" mDataDefinedPropertiesButton" >
<property name =" sizePolicy" >
<sizepolicy hsizetype =" Minimum" vsizetype =" Fixed" >
<horstretch >0</horstretch >
<verstretch >0</verstretch >
</sizepolicy >
</property >
<property name =" text" >
<string >Cap style </string >
<string >Data defined properties... </string >
</property >
</widget >
</item >
</layout >
</widget >
<customwidgets >
<customwidget >
<class >QgsColorButton</class >
<extends >QPushButton</extends >
<header >qgscolorbutton.h</header >
</customwidget >
<customwidget >
<class >QgsPenStyleComboBox</class >
<extends >QComboBox</extends >
Expand All
@@ -240,11 +254,6 @@
<extends >QComboBox</extends >
<header >qgspenstylecombobox.h</header >
</customwidget >
<customwidget >
<class >QgsColorButton</class >
<extends >QPushButton</extends >
<header >qgscolorbutton.h</header >
</customwidget >
</customwidgets >
<resources />
<connections />
Expand Down