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:
mhugent 2004-03-19 15:41:06 +00:00
parent ffb8d1bd04
commit f1f7b5d600
2 changed files with 40 additions and 4 deletions

View File

@ -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()

View File

@ -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"/>