mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
537 lines
16 KiB
XML
537 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<author>Gary Sherman</author>
|
|
<class>QgsMapserverExportBase</class>
|
|
<widget class="QDialog" name="QgsMapserverExportBase">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>609</width>
|
|
<height>507</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>MapServer Export: Save project to MapFile</string>
|
|
</property>
|
|
<property name="sizeGripEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QCheckBox" name="checkBoxCurrentProject">
|
|
<property name="text">
|
|
<string>Use current project</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="txtQgisFilePath">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Full path to the QGIS project file to export to MapServer map format</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QPushButton" name="btnChooseProjectFile">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Browse...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" colspan="3">
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Map file</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="textLabel7">
|
|
<property name="text">
|
|
<string>Map file</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>txtMapFilePath</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="txtMapFilePath">
|
|
<property name="toolTip">
|
|
<string>Name for the map file to be created from the QGIS project file</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QPushButton" name="btnChooseFile">
|
|
<property name="text">
|
|
<string>Save As...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QCheckBox" name="chkExpLayersOnly">
|
|
<property name="toolTip">
|
|
<string>If checked, only the layer information will be processed</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>LAYER information only</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0" colspan="3">
|
|
<widget class="QGroupBox" name="grpMap">
|
|
<property name="title">
|
|
<string>Map</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="textLabel1">
|
|
<property name="toolTip">
|
|
<string/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Name</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>txtMapName</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLineEdit" name="txtMapName">
|
|
<property name="toolTip">
|
|
<string>Prefix attached to map, scalebar and legend GIF filenames created using this MapFile</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QLabel" name="textLabel4">
|
|
<property name="text">
|
|
<string>Image type</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cmbMapImageType</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QComboBox" name="cmbMapImageType"/>
|
|
</item>
|
|
<item row="0" column="4">
|
|
<widget class="QLabel" name="label">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Rendering</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="5">
|
|
<widget class="QComboBox" name="comboBox">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="textLabel2">
|
|
<property name="text">
|
|
<string>Width</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>txtMapWidth</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLineEdit" name="txtMapWidth"/>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QLabel" name="textLabel2_2">
|
|
<property name="text">
|
|
<string>Height</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>txtMapHeight</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QLineEdit" name="txtMapHeight"/>
|
|
</item>
|
|
<item row="1" column="4">
|
|
<widget class="QLabel" name="textLabel3">
|
|
<property name="text">
|
|
<string>Units</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>cmbMapUnits</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="5">
|
|
<widget class="QComboBox" name="cmbMapUnits"/>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="textLabelMapServerUrl">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>MapServer url</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>txtMapServerUrl</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1" colspan="5">
|
|
<widget class="QLineEdit" name="txtMapServerUrl">
|
|
<property name="toolTip">
|
|
<string>The URL to the mapserver executable.
|
|
|
|
For example:
|
|
http://my.host.com/cgi-bin/mapserv.exe</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0" colspan="3">
|
|
<widget class="QGroupBox" name="grpPaths">
|
|
<property name="title">
|
|
<string>Paths</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_4">
|
|
<item row="0" column="0">
|
|
<widget class="QCheckBox" name="checkBoxInlineFontAndSymbol">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Inline</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QLabel" name="textLabelSymbolsetPath">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Symbolset</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>txtSymbolsetPath</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QCheckBox" name="checkBoxUseTemplates">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Use templates</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2" colspan="3">
|
|
<widget class="QLineEdit" name="txtWebTemplate">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Path to the MapServer template file</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="5">
|
|
<widget class="QPushButton" name="btnChooseTemplateFile">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Browse...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2" colspan="3">
|
|
<widget class="QLineEdit" name="txtWebHeader">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="5">
|
|
<widget class="QPushButton" name="btnChooseHeaderFile">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Browse...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="2" colspan="3">
|
|
<widget class="QLineEdit" name="txtWebFooter">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="5">
|
|
<widget class="QPushButton" name="btnChooseFooterFile">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Browse...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="5">
|
|
<widget class="QLineEdit" name="txtFontsetPath">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>The file name of the fonts file.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="4">
|
|
<widget class="QLabel" name="textLabelFontsetPath">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Fontset</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>txtFontsetPath</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QLineEdit" name="txtSymbolsetPath">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>The file name of the symbols file.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLabel" name="textLabel5_2">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>60</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Template</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>txtWebTemplate</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLabel" name="textLabel5">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>60</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Header</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>txtWebHeader</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QLabel" name="textLabel5_3">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>60</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Footer</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>txtWebFooter</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0" colspan="3">
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0" colspan="3">
|
|
<widget class="QGroupBox" name="grpOptions">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>Layer/label options</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_5">
|
|
<item row="0" column="0">
|
|
<widget class="QCheckBox" name="checkBoxForce">
|
|
<property name="toolTip">
|
|
<string>Forces labels on, regardless of collisions. Available only for cached labels.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Force</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QCheckBox" name="checkBoxAntiAlias">
|
|
<property name="toolTip">
|
|
<string>Should text be antialiased? Note that this requires more available colors, decreases drawing performance, and results in slightly larger output images.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Anti-alias</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QCheckBox" name="checkBoxPartials">
|
|
<property name="toolTip">
|
|
<string>Can text run off the edge of the map?</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Partials</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QCheckBox" name="checkBoxDump">
|
|
<property name="toolTip">
|
|
<string>Check to allow MapServer to return data in GML format. Useful when used with WMS GetFeatureInfo operations.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Dump</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
|
|
<tabstops>
|
|
<tabstop>txtMapName</tabstop>
|
|
<tabstop>txtMapWidth</tabstop>
|
|
<tabstop>txtMapHeight</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>QgsMapserverExportBase</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>426</x>
|
|
<y>422</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>240</x>
|
|
<y>223</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|