mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
added default scale factor for single marker renderer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1047 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
ffb8d1bd04
commit
f1f7b5d600
@ -33,11 +33,13 @@
|
||||
QgsSiMaDialog::QgsSiMaDialog(QgsVectorLayer* vectorlayer): QgsSiMaDialogBase(), mVectorLayer(vectorlayer)
|
||||
{
|
||||
QObject::connect(mImageButton,SIGNAL(clicked()),this,SLOT(selectMarker()));
|
||||
mScaleEdit->setText("1.0");
|
||||
}
|
||||
|
||||
QgsSiMaDialog::QgsSiMaDialog(): QgsSiMaDialogBase(), mVectorLayer(0)
|
||||
{
|
||||
QObject::connect(mImageButton,SIGNAL(clicked()),this,SLOT(selectMarker()));
|
||||
mScaleEdit->setText("1.0");
|
||||
}
|
||||
|
||||
QgsSiMaDialog::~QgsSiMaDialog()
|
||||
|
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
|
||||
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
||||
<class>QgsSiMaDialogBase</class>
|
||||
<widget class="QDialog">
|
||||
<property name="name">
|
||||
@ -8,12 +8,12 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>258</width>
|
||||
<height>91</height>
|
||||
<width>242</width>
|
||||
<height>98</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
<string></string>
|
||||
<string>QgsSiMaDialogBase</string>
|
||||
</property>
|
||||
<grid>
|
||||
<property name="name">
|
||||
@ -48,6 +48,40 @@
|
||||
<string>Scale Factor</string>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer row="2" column="0">
|
||||
<property name="name">
|
||||
<cstring>spacer1</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>16</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
<spacer row="2" column="1">
|
||||
<property name="name">
|
||||
<cstring>spacer2</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>16</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</grid>
|
||||
</widget>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user