Move some more Q3 widgets to their Qt4 counterpart

Tidy up of the vector layer properties dialog box
 - remove some the excess space around widgets
 - make the contents of the tabs scale to fit the whole dialog box
Fix a few uic warnings


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5953 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
g_j_m 2006-10-14 01:38:23 +00:00
parent 6634ed583d
commit e35c82aa66
6 changed files with 1385 additions and 1487 deletions

View File

@ -114,9 +114,6 @@ void QgsLabelDialog::init ( )
cboFontTransparencyField->insertStringList(myFieldStringList);
//cboFontTransparencyField->setCurrentItem(itemNoForField(mLabel->labelField(QgsLabel::FontTransparency),myFieldStringList));
//cboBufferColorField->clear();
//cboBufferColorField->insertStringList(myFieldStringList);
cboBufferSizeField->clear();
cboBufferSizeField->insertStringList(myFieldStringList);
cboBufferSizeField->setCurrentItem(itemNoForField(mLabel->labelField(QgsLabel::BufferSize),myFieldStringList));

View File

@ -45,14 +45,17 @@ QgsVectorLayerProperties::QgsVectorLayerProperties(QgsVectorLayer * lyr,
setupUi(this);
// Create the Label dialog tab
QVBoxLayout *layout = new QVBoxLayout( labelOptionsFrame );
layout->setMargin(0);
labelDialog = new QgsLabelDialog ( layer->label(), labelOptionsFrame);
layout->addWidget( labelDialog );
labelOptionsFrame->setLayout(layout);
connect(labelDialog, SIGNAL(labelSourceSet()),
this, SLOT(setLabelCheckBox()));
// Create the Actions dialog tab
QgsVectorDataProvider *dp = dynamic_cast<QgsVectorDataProvider *>(layer->getDataProvider());
QVBoxLayout *actionLayout = new QVBoxLayout( actionOptionsFrame );
actionLayout->setMargin(0);
std::vector<QgsField> fields = dp->fields();
actionDialog = new QgsAttributeActionDialog ( layer->actions(), fields,
actionOptionsFrame );
@ -117,7 +120,7 @@ void QgsVectorLayerProperties::alterLayerDialog(const QString & dialogString)
mRendererDialog = new QgsUniqueValueDialog(layer);
}
widgetStackRenderers->addWidget(mRendererDialog);
widgetStackRenderers->raiseWidget(mRendererDialog);
widgetStackRenderers->setCurrentWidget(mRendererDialog);
}
void QgsVectorLayerProperties::setLegendType(QString type)
@ -211,7 +214,7 @@ void QgsVectorLayerProperties::reset( void )
if(mRendererDialog)
{
widgetStackRenderers->addWidget(mRendererDialog);
widgetStackRenderers->raiseWidget(mRendererDialog);
widgetStackRenderers->setCurrentWidget(mRendererDialog);
}
@ -288,10 +291,10 @@ void QgsVectorLayerProperties::on_pbnApply_clicked()
layer->setLayerName(displayName());
QgsSingleSymbolDialog *sdialog = dynamic_cast < QgsSingleSymbolDialog * >(widgetStackRenderers->visibleWidget());
QgsGraduatedSymbolDialog *gdialog = dynamic_cast < QgsGraduatedSymbolDialog * >(widgetStackRenderers->visibleWidget());
QgsContinuousColorDialog *cdialog = dynamic_cast < QgsContinuousColorDialog * >(widgetStackRenderers->visibleWidget());
QgsUniqueValueDialog* udialog = dynamic_cast< QgsUniqueValueDialog * >(widgetStackRenderers->visibleWidget());
QgsSingleSymbolDialog *sdialog = dynamic_cast < QgsSingleSymbolDialog * >(widgetStackRenderers->currentWidget());
QgsGraduatedSymbolDialog *gdialog = dynamic_cast < QgsGraduatedSymbolDialog * >(widgetStackRenderers->currentWidget());
QgsContinuousColorDialog *cdialog = dynamic_cast < QgsContinuousColorDialog * >(widgetStackRenderers->currentWidget());
QgsUniqueValueDialog* udialog = dynamic_cast< QgsUniqueValueDialog * >(widgetStackRenderers->currentWidget());
if (sdialog)
{

View File

@ -1,15 +1,12 @@
<ui version="4.0" >
<author></author>
<comment></comment>
<exportmacro></exportmacro>
<class>QgsAttributeActionDialogBase</class>
<widget class="QWidget" name="QgsAttributeActionDialogBase" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>470</width>
<height>419</height>
<width>500</width>
<height>415</height>
</rect>
</property>
<property name="sizePolicy" >
@ -25,246 +22,210 @@
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="0" >
<widget class="QFrame" name="frame_2" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
<item row="5" column="6" >
<widget class="QPushButton" name="browseButton" >
<property name="toolTip" >
<string>Browse for action commands</string>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
<property name="text" >
<string>Browse</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="3" column="3" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>32</width>
<height>29</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1" colspan="6" >
<widget class="QLineEdit" name="actionName" >
<property name="toolTip" >
<string>Enter the action name here</string>
</property>
<property name="whatsThis" >
<string>Enter the name of an action here. The name should be unique (qgis will make it unique if necessary).</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="5" >
<widget class="QLineEdit" name="actionAction" >
<property name="toolTip" >
<string>Enter the action command here</string>
</property>
<property name="whatsThis" >
<string>Enter the action here. This can be any program, script or command that is available on your system. When the action is invoked any set of characters that start with a % and then have the name of a field will be replaced by the value of that field. The special characters %% will replaced by the value of the field that was selected. Double quote marks group text into single arguments to the program, script or command. Double quotes will be ignored if preceeded by a backslash</string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="textLabel1" >
<property name="whatsThis" >
<string>Enter the name of an action here. The name should be unique (qgis will make it unique if necessary).</string>
</property>
<property name="text" >
<string>Name:</string>
</property>
<property name="buddy" >
<cstring>actionName</cstring>
</property>
</widget>
</item>
<item row="3" column="5" colspan="2" >
<widget class="QComboBox" name="fieldComboBox" >
<property name="toolTip" >
<string>The valid attribute names for this layer</string>
</property>
</widget>
</item>
<item row="2" column="0" colspan="3" >
<widget class="QCheckBox" name="captureCB" >
<property name="toolTip" >
<string>Captures any output from the action</string>
</property>
<property name="whatsThis" >
<string>Captures the standard output or error generated by the action and displays it in a dialog box</string>
</property>
<property name="text" >
<string>Capture output</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="2" >
<widget class="QPushButton" name="insertButton" >
<property name="toolTip" >
<string>Inserts the action into the list above</string>
</property>
<property name="text" >
<string>Insert action</string>
</property>
</widget>
</item>
<item row="3" column="4" >
<widget class="QPushButton" name="insertFieldButton" >
<property name="toolTip" >
<string>Inserts the selected field into the action, prepended with a %</string>
</property>
<property name="text" >
<string>Insert field</string>
</property>
</widget>
</item>
<item row="3" column="2" >
<widget class="QPushButton" name="updateButton" >
<property name="toolTip" >
<string>Update the selected action</string>
</property>
<property name="text" >
<string>Update action</string>
</property>
</widget>
</item>
<item row="1" column="6" >
<widget class="QPushButton" name="browseButton" >
<property name="toolTip" >
<string>Browse for action commands</string>
</property>
<property name="text" >
<string>Browse</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="textLabel2" >
<property name="whatsThis" >
<string>Enter the action here. This can be any program, script or command that is available on your system. When the action is invoked any set of characters that start with a % and then have the name of a field will be replaced by the value of that field. The special characters %% will replaced by the value of the field that was selected. Double quote marks group text into single arguments to the program, script or command. Double quotes will be ignored if preceeded by a backslash</string>
</property>
<property name="text" >
<string>Action:</string>
</property>
<property name="buddy" >
<cstring>actionAction</cstring>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="0" >
<widget class="QFrame" name="frame" >
<property name="frameShape" >
<enum>QFrame::StyledPanel</enum>
<item rowspan="2" row="3" column="6" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>85</width>
<height>181</height>
</size>
</property>
</spacer>
</item>
<item row="7" column="4" >
<widget class="QPushButton" name="insertFieldButton" >
<property name="toolTip" >
<string>Inserts the selected field into the action, prepended with a %</string>
</property>
<property name="text" >
<string>Insert field</string>
</property>
</widget>
</item>
<item row="7" column="5" colspan="2" >
<widget class="QComboBox" name="fieldComboBox" >
<property name="toolTip" >
<string>The valid attribute names for this layer</string>
</property>
</widget>
</item>
<item row="7" column="3" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>51</width>
<height>29</height>
</size>
</property>
</spacer>
</item>
<item row="5" column="1" colspan="5" >
<widget class="QLineEdit" name="actionAction" >
<property name="toolTip" >
<string>Enter the action command here</string>
</property>
<property name="whatsThis" >
<string>Enter the action here. This can be any program, script or command that is available on your system. When the action is invoked any set of characters that start with a % and then have the name of a field will be replaced by the value of that field. The special characters %% will replaced by the value of the field that was selected. Double quote marks group text into single arguments to the program, script or command. Double quotes will be ignored if preceeded by a backslash</string>
</property>
</widget>
</item>
<item row="4" column="1" colspan="5" >
<widget class="QLineEdit" name="actionName" >
<property name="toolTip" >
<string>Enter the action name here</string>
</property>
<property name="whatsThis" >
<string>Enter the name of an action here. The name should be unique (qgis will make it unique if necessary).</string>
</property>
</widget>
</item>
<item row="5" column="0" >
<widget class="QLabel" name="textLabel2" >
<property name="whatsThis" >
<string>Enter the action here. This can be any program, script or command that is available on your system. When the action is invoked any set of characters that start with a % and then have the name of a field will be replaced by the value of that field. The special characters %% will replaced by the value of the field that was selected. Double quote marks group text into single arguments to the program, script or command. Double quotes will be ignored if preceeded by a backslash</string>
</property>
<property name="text" >
<string>Action:</string>
</property>
<property name="buddy" >
<cstring>actionAction</cstring>
</property>
</widget>
</item>
<item row="7" column="2" >
<widget class="QPushButton" name="updateButton" >
<property name="toolTip" >
<string>Update the selected action</string>
</property>
<property name="text" >
<string>Update action</string>
</property>
</widget>
</item>
<item row="7" column="0" colspan="2" >
<widget class="QPushButton" name="insertButton" >
<property name="toolTip" >
<string>Inserts the action into the list above</string>
</property>
<property name="text" >
<string>Insert action</string>
</property>
</widget>
</item>
<item row="6" column="0" colspan="3" >
<widget class="QCheckBox" name="captureCB" >
<property name="toolTip" >
<string>Captures any output from the action</string>
</property>
<property name="whatsThis" >
<string>Captures the standard output or error generated by the action and displays it in a dialog box</string>
</property>
<property name="text" >
<string>Capture output</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="textLabel1" >
<property name="whatsThis" >
<string>Enter the name of an action here. The name should be unique (qgis will make it unique if necessary).</string>
</property>
<property name="text" >
<string>Name:</string>
</property>
<property name="buddy" >
<cstring>actionName</cstring>
</property>
</widget>
</item>
<item row="2" column="6" >
<widget class="QPushButton" name="removeButton" >
<property name="toolTip" >
<string>Remove the selected action</string>
</property>
<property name="text" >
<string>Remove</string>
</property>
</widget>
</item>
<item row="1" column="6" >
<widget class="QPushButton" name="moveDownButton" >
<property name="toolTip" >
<string>Move the selected action down</string>
</property>
<property name="text" >
<string>Move down</string>
</property>
</widget>
</item>
<item row="0" column="6" >
<widget class="QPushButton" name="moveUpButton" >
<property name="toolTip" >
<string>Move the selected action up</string>
</property>
<property name="text" >
<string>Move up</string>
</property>
</widget>
</item>
<item rowspan="4" row="0" column="0" colspan="6" >
<widget class="Q3Table" name="attributeActionTable" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis" >
<string>This list contains all actions that have been defined for the current layer. Add actions by entering the details in the controls below and then pressing the Insert action button. Actions can be edited here by double clicking on the item.</string>
</property>
<property name="resizePolicy" >
<enum>Q3ScrollView::Default</enum>
</property>
<property name="numRows" >
<number>0</number>
</property>
<property name="numCols" >
<number>3</number>
</property>
<property name="readOnly" >
<bool>false</bool>
</property>
<property name="selectionMode" >
<enum>Q3Table::SingleRow</enum>
</property>
<property name="focusStyle" >
<enum>Q3Table::FollowStyle</enum>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item rowspan="4" row="0" column="0" >
<widget class="Q3Table" name="attributeActionTable" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis" >
<string>This list contains all actions that have been defined for the current layer. Add actions by entering the details in the controls below and then pressing the Insert action button. Actions can be edited here by double clicking on the item.</string>
</property>
<property name="resizePolicy" >
<enum>Q3ScrollView::Default</enum>
</property>
<property name="numRows" >
<number>0</number>
</property>
<property name="numCols" >
<number>3</number>
</property>
<property name="readOnly" >
<bool>false</bool>
</property>
<property name="selectionMode" >
<enum>Q3Table::SingleRow</enum>
</property>
<property name="focusStyle" >
<enum>Q3Table::FollowStyle</enum>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QPushButton" name="removeButton" >
<property name="toolTip" >
<string>Remove the selected action</string>
</property>
<property name="text" >
<string>Remove</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QPushButton" name="moveDownButton" >
<property name="toolTip" >
<string>Move the selected action down</string>
</property>
<property name="text" >
<string>Move down</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>85</width>
<height>115</height>
</size>
</property>
</spacer>
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="moveUpButton" >
<property name="toolTip" >
<string>Move the selected action up</string>
</property>
<property name="text" >
<string>Move up</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
@ -274,10 +235,8 @@
<customwidgets>
<customwidget>
<class>Q3Table</class>
<extends></extends>
<extends>Q3Frame</extends>
<header>q3table.h</header>
<container>0</container>
<pixmap></pixmap>
</customwidget>
</customwidgets>
<tabstops>

View File

@ -1,26 +1,31 @@
<ui version="4.0" >
<author></author>
<comment></comment>
<exportmacro></exportmacro>
<class>QgsLabelDialogBase</class>
<widget class="QWidget" name="QgsLabelDialogBase" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>330</width>
<width>332</width>
<height>463</height>
</rect>
</property>
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="windowTitle" >
<string>Form1</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
<number>1</number>
</property>
<property name="spacing" >
<number>6</number>
<number>2</number>
</property>
<item row="1" column="0" >
<widget class="QTabWidget" name="tabWidget2" >
@ -32,7 +37,10 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QWidget" name="tab" >
<property name="currentIndex" >
<number>3</number>
</property>
<widget class="QWidget" name="tab1" >
<attribute name="title" >
<string>Font Style</string>
</attribute>
@ -457,21 +465,6 @@
</property>
</widget>
</item>
<item row="1" column="0" colspan="5" >
<widget class="QPushButton" name="pbnDefaultBufferColor_2" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>2</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<string>Colour</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="3" >
<widget class="QSlider" name="sliderBufferTransparency" >
<property name="enabled" >
@ -502,6 +495,13 @@
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QPushButton" name="pbnDefaultBufferColor_2" >
<property name="text" >
<string>Colour</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_3" >
@ -587,7 +587,7 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="tab" >
<widget class="QWidget" name="tab4" >
<attribute name="title" >
<string>Data Defined Style</string>
</attribute>
@ -869,7 +869,7 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="tab" >
<widget class="QWidget" name="tab5" >
<attribute name="title" >
<string>Data Defined Buffer</string>
</attribute>
@ -906,9 +906,6 @@
</property>
</spacer>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="cboBufferColorField" />
</item>
<item row="2" column="1" >
<widget class="QComboBox" name="cboBufferSizeField" />
</item>
@ -925,9 +922,6 @@
<property name="text" >
<string>&amp;Colour:</string>
</property>
<property name="buddy" >
<cstring>cboBufferColor</cstring>
</property>
</widget>
</item>
<item row="1" column="0" >
@ -1208,10 +1202,9 @@
<customwidgets>
<customwidget>
<class>Q3GroupBox</class>
<extends></extends>
<extends>QGroupBox</extends>
<header>Qt3Support/Q3GroupBox</header>
<container>1</container>
<pixmap></pixmap>
</customwidget>
</customwidgets>
<tabstops>
@ -1237,7 +1230,6 @@
<tabstop>radioBelowRight</tabstop>
<tabstop>chkUseBuffer</tabstop>
<tabstop>spinBufferSize</tabstop>
<tabstop>pbnDefaultBufferColor_2</tabstop>
<tabstop>sliderBufferTransparency</tabstop>
<tabstop>spinBufferTransparency</tabstop>
<tabstop>radioBufferUnitsPoints</tabstop>
@ -1254,7 +1246,6 @@
<tabstop>cboFontTransparencyField</tabstop>
<tabstop>cboAlignmentField</tabstop>
<tabstop>cboAngleField</tabstop>
<tabstop>cboBufferColorField</tabstop>
<tabstop>cboBufferTransparencyField</tabstop>
<tabstop>cboBufferSizeField</tabstop>
<tabstop>cboXCoordinateField</tabstop>

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,11 @@
<ui version="4.0" >
<author></author>
<comment></comment>
<exportmacro></exportmacro>
<class>QgsVectorLayerPropertiesBase</class>
<widget class="QDialog" name="QgsVectorLayerPropertiesBase" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>408</width>
<width>400</width>
<height>600</height>
</rect>
</property>
@ -34,11 +31,61 @@
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>270</width>
<height>29</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="2" >
<widget class="QPushButton" name="pbnApply" >
<property name="text" >
<string>Apply</string>
</property>
</widget>
</item>
<item row="1" column="3" >
<widget class="QPushButton" name="pbnOK" >
<property name="text" >
<string>OK</string>
</property>
</widget>
</item>
<item row="1" column="4" >
<widget class="QPushButton" name="pbnCancel" >
<property name="text" >
<string>Cancel</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QPushButton" name="btnHelp" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="text" >
<string>Help</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="5" >
<widget class="QTabWidget" name="tabWidget2" >
<property name="tabShape" >
<enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex" >
<number>0</number>
</property>
<widget class="QWidget" name="tab1" >
<attribute name="title" >
<string>Symbology</string>
@ -50,31 +97,8 @@
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="1" >
<widget class="QSlider" name="sliderTransparency" >
<property name="maximum" >
<number>255</number>
</property>
<property name="value" >
<number>0</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="lblTransparencyPercent" >
<property name="text" >
<string>Transparency:</string>
</property>
<property name="buddy" >
<cstring>sliderTransparency</cstring>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2" >
<widget class="Q3WidgetStack" name="widgetStackRenderers" >
<widget class="QStackedWidget" name="widgetStackRenderers" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
@ -83,43 +107,8 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="QWidget" name="qt_dead_widget_singlesympage" >
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
</layout>
</widget>
<widget class="QWidget" name="qt_dead_widget_continuoussympage" >
<layout class="QGridLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
</layout>
</widget>
<widget class="QWidget" name="qt_dead_widget_WStackPage" />
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="legendtypelabel" >
<property name="maximumSize" >
<size>
<width>32767</width>
<height>22</height>
</size>
</property>
<property name="text" >
<string>Legend type:</string>
</property>
<property name="buddy" >
<cstring>legendtypecombobox</cstring>
</property>
<widget class="QWidget" name="page" />
<widget class="QWidget" name="page_2" />
</widget>
</item>
<item row="0" column="1" >
@ -138,6 +127,45 @@
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="legendtypelabel" >
<property name="maximumSize" >
<size>
<width>32767</width>
<height>22</height>
</size>
</property>
<property name="text" >
<string>Legend type:</string>
</property>
<property name="buddy" >
<cstring>legendtypecombobox</cstring>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="lblTransparencyPercent" >
<property name="text" >
<string>Transparency:</string>
</property>
<property name="buddy" >
<cstring>sliderTransparency</cstring>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QSlider" name="sliderTransparency" >
<property name="maximum" >
<number>255</number>
</property>
<property name="value" >
<number>0</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab2" >
@ -146,12 +174,48 @@
</attribute>
<layout class="QGridLayout" >
<property name="margin" >
<number>8</number>
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="2" column="0" colspan="4" >
<item row="0" column="0" >
<widget class="QLabel" name="textLabel3" >
<property name="text" >
<string>Display name</string>
</property>
<property name="buddy" >
<cstring>txtDisplayName</cstring>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QLabel" name="textLabel2" >
<property name="toolTip" >
<string>Display field for the Identify Results dialog box</string>
</property>
<property name="whatsThis" >
<string>This sets the display field for the Identify Results dialog box</string>
</property>
<property name="text" >
<string>Display field</string>
</property>
<property name="buddy" >
<cstring>displayFieldComboBox</cstring>
</property>
</widget>
</item>
<item row="0" column="3" >
<widget class="QComboBox" name="displayFieldComboBox" >
<property name="whatsThis" >
<string>Use this control to set which field is placed at the top level of the Identify Results dialog box.</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLineEdit" name="txtDisplayName" />
</item>
<item row="1" column="0" colspan="4" >
<widget class="QGroupBox" name="chkUseScaleDependentRendering" >
<property name="title" >
<string>Use scale dependent rendering</string>
@ -215,114 +279,7 @@
</layout>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="textLabel3" >
<property name="text" >
<string>Display name</string>
</property>
<property name="buddy" >
<cstring>txtDisplayName</cstring>
</property>
</widget>
</item>
<item row="1" column="3" >
<widget class="QComboBox" name="displayFieldComboBox" >
<property name="whatsThis" >
<string>Use this control to set which field is placed at the top level of the Identify Results dialog box.</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="4" >
<widget class="QGroupBox" name="grpSRS" >
<property name="title" >
<string>Spatial Reference System</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>8</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="QLineEdit" name="leSpatialRefSys" >
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="pbnChangeSpatialRefSys" >
<property name="text" >
<string>Change</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="2" >
<widget class="QLabel" name="textLabel2" >
<property name="toolTip" >
<string>Display field for the Identify Results dialog box</string>
</property>
<property name="whatsThis" >
<string>This sets the display field for the Identify Results dialog box</string>
</property>
<property name="text" >
<string>Display field</string>
</property>
<property name="buddy" >
<cstring>displayFieldComboBox</cstring>
</property>
</widget>
</item>
<item row="5" column="0" colspan="4" >
<widget class="QGroupBox" name="grpSubset" >
<property name="title" >
<string>Subset</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>8</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" colspan="2" >
<widget class="Q3TextEdit" name="txtSubsetSQL" >
<property name="enabled" >
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QPushButton" name="pbnQueryBuilder" >
<property name="text" >
<string>Query Builder</string>
</property>
</widget>
</item>
<item row="1" column="0" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>480</width>
<height>21</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="3" column="0" colspan="4" >
<item row="2" column="0" colspan="4" >
<widget class="QGroupBox" name="indexGroupBox" >
<property name="title" >
<string>Spatial Index</string>
@ -370,8 +327,85 @@
</layout>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLineEdit" name="txtDisplayName" />
<item row="3" column="0" colspan="4" >
<widget class="QGroupBox" name="grpSRS" >
<property name="title" >
<string>Spatial Reference System</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>8</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="QLineEdit" name="leSpatialRefSys" >
<property name="readOnly" >
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QPushButton" name="pbnChangeSpatialRefSys" >
<property name="text" >
<string>Change</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="4" column="0" colspan="4" >
<widget class="QGroupBox" name="grpSubset" >
<property name="title" >
<string>Subset</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" colspan="2" >
<widget class="QTextEdit" name="txtSubsetSQL" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="acceptDrops" >
<bool>false</bool>
</property>
<property name="acceptRichText" >
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="0" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>480</width>
<height>21</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1" >
<widget class="QPushButton" name="pbnQueryBuilder" >
<property name="text" >
<string>Query Builder</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
@ -381,13 +415,17 @@
</attribute>
<layout class="QGridLayout" >
<property name="margin" >
<number>8</number>
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="Q3TextEdit" name="teMetadata" />
<widget class="QTextEdit" name="teMetadata" >
<property name="lineWidth" >
<number>2</number>
</property>
</widget>
</item>
</layout>
</widget>
@ -397,13 +435,13 @@
</attribute>
<layout class="QGridLayout" >
<property name="margin" >
<number>8</number>
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="0" >
<widget class="Q3Frame" name="labelOptionsFrame" >
<widget class="QFrame" name="labelOptionsFrame" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
@ -443,13 +481,13 @@
</attribute>
<layout class="QGridLayout" >
<property name="margin" >
<number>8</number>
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="Q3Frame" name="actionOptionsFrame" >
<widget class="QFrame" name="actionOptionsFrame" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
@ -470,80 +508,9 @@
</widget>
</widget>
</item>
<item row="1" column="0" >
<widget class="QPushButton" name="btnHelp" >
<property name="enabled" >
<bool>false</bool>
</property>
<property name="text" >
<string>Help</string>
</property>
</widget>
</item>
<item row="1" column="4" >
<widget class="QPushButton" name="pbnCancel" >
<property name="text" >
<string>Cancel</string>
</property>
</widget>
</item>
<item row="1" column="3" >
<widget class="QPushButton" name="pbnOK" >
<property name="text" >
<string>OK</string>
</property>
</widget>
</item>
<item row="1" column="2" >
<widget class="QPushButton" name="pbnApply" >
<property name="text" >
<string>Apply</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<spacer>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>270</width>
<height>29</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11" />
<pixmapfunction></pixmapfunction>
<customwidgets>
<customwidget>
<class>Q3TextEdit</class>
<extends></extends>
<header>q3textedit.h</header>
<container>0</container>
<pixmap></pixmap>
</customwidget>
<customwidget>
<class>Q3WidgetStack</class>
<extends></extends>
<header>q3widgetstack.h</header>
<container>1</container>
<pixmap></pixmap>
</customwidget>
<customwidget>
<class>Q3Frame</class>
<extends></extends>
<header>Qt3Support/Q3Frame</header>
<container>1</container>
<pixmap></pixmap>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>tabWidget2</tabstop>
<tabstop>legendtypecombobox</tabstop>