Subversion Repositories public

Rev

Rev 283 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>wmsWidgetBase</class>
 <widget class="QDialog" name="wmsWidgetBase">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>513</width>
    <height>657</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>WMS</string>
  </property>
  <property name="locale">
   <locale language="English" country="UnitedStates"/>
  </property>
  <property name="sizeGripEnabled">
   <bool>true</bool>
  </property>
  <layout class="QGridLayout">
   <item row="3" column="3">
    <widget class="KPushButton" name="pbCancel">
     <property name="toolTip">
      <string>Click this to cancel all made settings and close this dialog.</string>
     </property>
     <property name="text">
      <string>Cancel</string>
     </property>
    </widget>
   </item>
   <item row="3" column="2">
    <spacer name="spacer10">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeType">
      <enum>QSizePolicy::Expanding</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>80</width>
       <height>20</height>
      </size>
     </property>
    </spacer>
   </item>
   <item row="3" column="0">
    <spacer name="spacer9">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeType">
      <enum>QSizePolicy::Expanding</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>40</width>
       <height>20</height>
      </size>
     </property>
    </spacer>
   </item>
   <item row="3" column="4">
    <spacer name="spacer11">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeType">
      <enum>QSizePolicy::Expanding</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>110</width>
       <height>20</height>
      </size>
     </property>
    </spacer>
   </item>
   <item row="3" column="1">
    <widget class="KPushButton" name="pbSave">
     <property name="toolTip">
      <string>Click this to save all settings.</string>
     </property>
     <property name="text">
      <string>Save</string>
     </property>
     <property name="default">
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item row="0" column="0" colspan="5">
    <widget class="Q3GroupBox" name="groupBox1">
     <property name="title">
      <string>Server settings</string>
     </property>
     <layout class="QGridLayout">
      <item row="6" column="3" colspan="2">
       <spacer name="spacer5">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>240</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="9" column="0">
       <widget class="QLabel" name="textLabel6">
        <property name="text">
         <string>Depth</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="2" column="1" colspan="2">
       <widget class="KComboBox" name="cbSRS">
        <item>
         <property name="text">
          <string>EPSG:4326</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>EPSG:31257</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>EPSG:31258</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>EPSG:31259</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>EPSG:31286</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>EPSG:31287</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>EPSG:31288</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>EPSG:900913</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>EPSG:3395</string>
         </property>
        </item>
       </widget>
      </item>
      <item row="7" column="0">
       <widget class="QLabel" name="textLabel7">
        <property name="text">
         <string>Styles</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="6" column="0">
       <widget class="QLabel" name="textLabel11">
        <property name="text">
         <string>Version</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="1" colspan="4">
       <widget class="KLineEdit" name="edLayer">
        <property name="toolTip">
         <string>If you need or want to specify layers, do it here.</string>
        </property>
       </widget>
      </item>
      <item row="10" column="2" colspan="2">
       <spacer name="spacer8">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>321</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="10" column="0">
       <widget class="QLabel" name="textLabel8">
        <property name="text">
         <string>Overview count</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="7" column="1" colspan="4">
       <widget class="KLineEdit" name="edStyles">
        <property name="toolTip">
         <string>In case you've entered layers, you must enter one style for every layer!</string>
        </property>
       </widget>
      </item>
      <item row="5" column="0">
       <widget class="QLabel" name="textLabel12">
        <property name="text">
         <string>Image format</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="4" column="2" colspan="3">
       <spacer name="spacer4">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>321</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="9" column="2" colspan="3">
       <spacer name="spacer7">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>321</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="9" column="1">
       <widget class="KIntSpinBox" name="edDepth">
        <property name="value">
         <number>2</number>
        </property>
        <property name="minValue" stdset="0">
         <number>1</number>
        </property>
       </widget>
      </item>
      <item row="3" column="3" colspan="2">
       <spacer name="spacer3">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>240</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="10" column="1">
       <widget class="KIntSpinBox" name="edOverview">
        <property name="value">
         <number>10</number>
        </property>
        <property name="minValue" stdset="0">
         <number>1</number>
        </property>
       </widget>
      </item>
      <item row="8" column="3" colspan="2">
       <spacer name="spacer6">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>240</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="6" column="1" colspan="2">
       <widget class="KComboBox" name="cbVersion">
        <property name="toolTip">
         <string>The version of the WMS server. This defines the used protocol.</string>
        </property>
        <item>
         <property name="text">
          <string>1.1.1</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>1.1</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>1</string>
         </property>
        </item>
       </widget>
      </item>
      <item row="2" column="0">
       <widget class="QLabel" name="textLabel3">
        <property name="text">
         <string>SRS</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="0">
       <widget class="QLabel" name="textLabel2">
        <property name="text">
         <string>Layer Name</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="0" column="1" colspan="4">
       <widget class="KUrlRequester" name="edServerURL">
        <property name="acceptDrops">
         <bool>true</bool>
        </property>
        <property name="toolTip">
         <string>Enter the URL to the WMS server.</string>
        </property>
       </widget>
      </item>
      <item row="0" column="0">
       <widget class="QLabel" name="textLabel1">
        <property name="text">
         <string>Server URL</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="5" column="3" colspan="2">
       <spacer name="spacer18">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>240</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="8" column="1" colspan="2">
       <widget class="KComboBox" name="cbTile">
        <property name="toolTip">
         <string>The size of the tiles you want. The performance depends on this.</string>
        </property>
        <property name="currentItem" stdset="0">
         <number>2</number>
        </property>
        <item>
         <property name="text">
          <string>64x64</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>128x128</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>256x256</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>512x512</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>1024x1024</string>
         </property>
        </item>
       </widget>
      </item>
      <item row="8" column="0">
       <widget class="QLabel" name="textLabel5">
        <property name="text">
         <string>Tile size</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="5" column="1" colspan="2">
       <widget class="KComboBox" name="cbImage">
        <property name="toolTip">
         <string>The grafic format the server returns.</string>
        </property>
        <property name="currentItem" stdset="0">
         <number>2</number>
        </property>
        <item>
         <property name="text">
          <string>GIF</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>JPEG</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>PNG</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>TIFF</string>
         </property>
        </item>
       </widget>
      </item>
      <item row="4" column="0">
       <widget class="QLabel" name="textLabel4">
        <property name="text">
         <string>Bands</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="3" column="1" colspan="2">
       <widget class="KComboBox" name="cbCRS">
        <item>
         <property name="text">
          <string>CRS:83</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>CRS:84</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>EPSG:4326</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>EPSG:31259</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>EPSG:31287</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>EPSG:900913</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>EPSG:3395</string>
         </property>
        </item>
       </widget>
      </item>
      <item row="3" column="0">
       <widget class="QLabel" name="textLabel9">
        <property name="text">
         <string>CRS</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="2" column="3" colspan="2">
       <spacer name="spacer2">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>240</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="4" column="1">
       <widget class="KIntSpinBox" name="edBands">
        <property name="toolTip">
         <string>Set the number of bands the server returns (mostly 3 or 4).</string>
        </property>
        <property name="value">
         <number>3</number>
        </property>
        <property name="minValue" stdset="0">
         <number>1</number>
        </property>
       </widget>
      </item>
      <item row="10" column="4">
       <widget class="KPushButton" name="pbGetCapabilities">
        <property name="text">
         <string>Get capabilities</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item row="1" column="0" colspan="5">
    <widget class="Q3GroupBox" name="groupBox2">
     <property name="title">
      <string>Read modes</string>
     </property>
     <layout class="QGridLayout">
      <item row="1" column="1">
       <widget class="QCheckBox" name="chOffline">
        <property name="toolTip">
         <string>Check this if you don't want to get maps online.</string>
        </property>
        <property name="text">
         <string>Offline mode</string>
        </property>
       </widget>
      </item>
      <item row="0" column="1" colspan="3">
       <widget class="QCheckBox" name="chSquare">
        <property name="toolTip">
         <string>In rare cases, a WMS server is not able to convert the map into the right dimensions. Then this may help.</string>
        </property>
        <property name="text">
         <string>WMS Server uses square pixels</string>
        </property>
       </widget>
      </item>
      <item row="2" column="1">
       <widget class="QCheckBox" name="chAdvice">
        <property name="text">
         <string>Advise read</string>
        </property>
       </widget>
      </item>
      <item row="1" column="0">
       <spacer name="spacer12">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>104</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="2" column="0">
       <spacer name="spacer13">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>104</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="3" column="0">
       <spacer name="spacer14">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>104</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="0" column="0">
       <spacer name="spacer18_2">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>104</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="3" column="1" colspan="2">
       <widget class="QCheckBox" name="chVerify">
        <property name="text">
         <string>Verify advise read</string>
        </property>
        <property name="checked">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="0" column="4">
       <spacer name="spacer19">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>120</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="1" column="2" colspan="3">
       <spacer name="spacer15">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>230</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="2" column="2" colspan="3">
       <spacer name="spacer16">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>230</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="3" column="3" colspan="2">
       <spacer name="spacer17">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>170</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
     </layout>
    </widget>
   </item>
   <item row="2" column="0" colspan="5">
    <widget class="Q3GroupBox" name="groupBox3">
     <property name="title">
      <string>Manual corrections</string>
     </property>
     <layout class="QGridLayout">
      <item row="0" column="0">
       <widget class="QLabel" name="textLabel1_2">
        <property name="text">
         <string>Add meters to longitude</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="0">
       <widget class="QLabel" name="textLabel2_2">
        <property name="text">
         <string>Add meters to latitude</string>
        </property>
        <property name="wordWrap">
         <bool>false</bool>
        </property>
       </widget>
      </item>
      <item row="0" column="1">
       <widget class="KIntSpinBox" name="edCorrX">
        <property name="toolTip">
         <string>Add some meters to longitude, to correct an error.</string>
        </property>
        <property name="maxValue" stdset="0">
         <number>999999</number>
        </property>
        <property name="minValue" stdset="0">
         <number>-999999</number>
        </property>
       </widget>
      </item>
      <item row="1" column="1">
       <widget class="KIntSpinBox" name="edCorrY">
        <property name="toolTip">
         <string>Add some meters to latitude, to correct an error.</string>
        </property>
        <property name="maxValue" stdset="0">
         <number>999999</number>
        </property>
        <property name="minValue" stdset="0">
         <number>-999999</number>
        </property>
       </widget>
      </item>
      <item row="0" column="2">
       <spacer name="spacer21">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>220</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="1" column="2">
       <spacer name="spacer22">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeType">
         <enum>QSizePolicy::Expanding</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>220</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
     </layout>
    </widget>
   </item>
  </layout>
 </widget>
 <layoutdefault spacing="6" margin="11"/>
 <customwidgets>
  <customwidget>
   <class>KIntSpinBox</class>
   <extends>QSpinBox</extends>
   <header>knuminput.h</header>
  </customwidget>
  <customwidget>
   <class>KUrlRequester</class>
   <extends>QFrame</extends>
   <header>kurlrequester.h</header>
  </customwidget>
  <customwidget>
   <class>KPushButton</class>
   <extends>QPushButton</extends>
   <header>kpushbutton.h</header>
  </customwidget>
  <customwidget>
   <class>KLineEdit</class>
   <extends>QLineEdit</extends>
   <header>klineedit.h</header>
  </customwidget>
  <customwidget>
   <class>KComboBox</class>
   <extends>QComboBox</extends>
   <header>kcombobox.h</header>
  </customwidget>
  <customwidget>
   <class>Q3GroupBox</class>
   <extends>QGroupBox</extends>
   <header>Qt3Support/Q3GroupBox</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>edServerURL</tabstop>
  <tabstop>edLayer</tabstop>
  <tabstop>cbSRS</tabstop>
  <tabstop>cbCRS</tabstop>
  <tabstop>edBands</tabstop>
  <tabstop>cbImage</tabstop>
  <tabstop>cbVersion</tabstop>
  <tabstop>edStyles</tabstop>
  <tabstop>cbTile</tabstop>
  <tabstop>edDepth</tabstop>
  <tabstop>edOverview</tabstop>
  <tabstop>pbGetCapabilities</tabstop>
  <tabstop>chSquare</tabstop>
  <tabstop>chOffline</tabstop>
  <tabstop>chAdvice</tabstop>
  <tabstop>chVerify</tabstop>
  <tabstop>edCorrX</tabstop>
  <tabstop>edCorrY</tabstop>
  <tabstop>pbSave</tabstop>
  <tabstop>pbCancel</tabstop>
 </tabstops>
 <includes>
  <include location="local">kpushbutton.h</include>
  <include location="local">kpushbutton.h</include>
  <include location="local">kcombobox.h</include>
  <include location="local">klineedit.h</include>
  <include location="local">klineedit.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">kcombobox.h</include>
  <include location="local">kurlrequester.h</include>
  <include location="local">klineedit.h</include>
  <include location="local">kpushbutton.h</include>
  <include location="local">kcombobox.h</include>
  <include location="local">kcombobox.h</include>
  <include location="local">kcombobox.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
  <include location="local">knuminput.h</include>
 </includes>
 <resources/>
 <connections>
  <connection>
   <sender>pbSave</sender>
   <signal>clicked()</signal>
   <receiver>wmsWidgetBase</receiver>
   <slot>bpSaveSlot()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>147</x>
     <y>648</y>
    </hint>
    <hint type="destinationlabel">
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>pbCancel</sender>
   <signal>clicked()</signal>
   <receiver>wmsWidgetBase</receiver>
   <slot>bpCancelSlot()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>334</x>
     <y>648</y>
    </hint>
    <hint type="destinationlabel">
     <x>20</x>
     <y>20</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>pbGetCapabilities</sender>
   <signal>clicked()</signal>
   <receiver>wmsWidgetBase</receiver>
   <slot>slotGetCapabilities()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>412</x>
     <y>347</y>
    </hint>
    <hint type="destinationlabel">
     <x>510</x>
     <y>370</y>
    </hint>
   </hints>
  </connection>
 </connections>
 <slots>
  <slot>slotGetCapabilities()</slot>
 </slots>
</ui>