<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MapSettingsDialog</class>
 <widget class="QDialog" name="MapSettingsDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>1267</width>
    <height>775</height>
   </rect>
  </property>
  <property name="font">
   <font>
    <pointsize>9</pointsize>
   </font>
  </property>
  <property name="windowTitle">
   <string>Map Display Settings</string>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
    <widget class="QGroupBox" name="groupBox">
     <layout class="QVBoxLayout" name="verticalLayout_2">
      <property name="topMargin">
       <number>0</number>
      </property>
      <item>
       <widget class="QTabWidget" name="tabWidget">
        <property name="currentIndex">
         <number>0</number>
        </property>
        <widget class="QWidget" name="mapsTab">
         <attribute name="title">
          <string>Maps</string>
         </attribute>
         <layout class="QVBoxLayout" name="verticalLayout_3">
          <item>
           <widget class="QGroupBox" name="map2DSettings">
            <property name="title">
             <string>2D Map Settings</string>
            </property>
            <layout class="QFormLayout" name="formLayout_2">
             <item row="0" column="0">
              <widget class="QLabel" name="map2DEnabledLabel">
               <property name="minimumSize">
                <size>
                 <width>140</width>
                 <height>0</height>
                </size>
               </property>
               <property name="text">
                <string>Enabled</string>
               </property>
              </widget>
             </item>
             <item row="0" column="1">
              <widget class="QCheckBox" name="map2DEnabled">
               <property name="text">
                <string/>
               </property>
              </widget>
             </item>
             <item row="1" column="0">
              <widget class="QLabel" name="mapProviderLabel">
               <property name="text">
                <string>Map provider</string>
               </property>
              </widget>
             </item>
             <item row="1" column="1">
              <widget class="QComboBox" name="mapProvider">
               <property name="toolTip">
                <string>Select map provider</string>
               </property>
               <item>
                <property name="text">
                 <string>OpenStreetMap</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>ESRI</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>MapboxGL</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>MapLibreGL</string>
                </property>
               </item>
              </widget>
             </item>
             <item row="2" column="0">
              <widget class="QLabel" name="osmURLLabel">
               <property name="text">
                <string>OSM Custom URL</string>
               </property>
              </widget>
             </item>
             <item row="2" column="1">
              <widget class="QLineEdit" name="osmURL">
               <property name="toolTip">
                <string>URL of custom map for use with OpenStreetMap provider</string>
               </property>
              </widget>
             </item>
             <item row="3" column="0">
              <widget class="QLabel" name="mapBoxStylesLabel">
               <property name="text">
                <string>MapboxGL Styles</string>
               </property>
              </widget>
             </item>
             <item row="3" column="1">
              <widget class="QLineEdit" name="mapBoxStyles">
               <property name="toolTip">
                <string>Comma separated list of MapBox styles</string>
               </property>
              </widget>
             </item>
            </layout>
           </widget>
          </item>
          <item>
           <widget class="QGroupBox" name="map3DSettings">
            <property name="title">
             <string>3D Map Settings</string>
            </property>
            <layout class="QFormLayout" name="formLayout">
             <item row="0" column="0">
              <widget class="QLabel" name="map3DEnabledLabel">
               <property name="minimumSize">
                <size>
                 <width>140</width>
                 <height>0</height>
                </size>
               </property>
               <property name="text">
                <string>Enabled</string>
               </property>
              </widget>
             </item>
             <item row="0" column="1">
              <widget class="QCheckBox" name="map3DEnabled">
               <property name="text">
                <string/>
               </property>
              </widget>
             </item>
             <item row="1" column="0">
              <widget class="QLabel" name="defaultImageryLabel">
               <property name="text">
                <string>Default imagery</string>
               </property>
              </widget>
             </item>
             <item row="1" column="1">
              <widget class="QComboBox" name="defaultImagery">
               <property name="toolTip">
                <string>Default imagery (Note there is a quota on Bing Maps Ariel usage)</string>
               </property>
               <item>
                <property name="text">
                 <string>ArcGIS world imagery</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>Bing Maps Aerial</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>Sentinel-2</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>Earth at night</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>Ersi world ocean</string>
                </property>
               </item>
              </widget>
             </item>
             <item row="2" column="0">
              <widget class="QLabel" name="terrainLabel">
               <property name="text">
                <string>Terrain</string>
               </property>
              </widget>
             </item>
             <item row="2" column="1">
              <widget class="QComboBox" name="terrain">
               <item>
                <property name="text">
                 <string>Cesium World Terrain</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>Ellipsoid</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>Maptiler</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>ArcGIS</string>
                </property>
               </item>
              </widget>
             </item>
             <item row="3" column="0">
              <widget class="QLabel" name="terrainLightingLabel">
               <property name="text">
                <string>Terrain lighting</string>
               </property>
              </widget>
             </item>
             <item row="3" column="1">
              <widget class="QCheckBox" name="terrainLighting">
               <property name="toolTip">
                <string>Enable terrain lighting</string>
               </property>
               <property name="text">
                <string/>
               </property>
              </widget>
             </item>
             <item row="4" column="0">
              <widget class="QLabel" name="waterLabel">
               <property name="text">
                <string>Water effects</string>
               </property>
              </widget>
             </item>
             <item row="4" column="1">
              <widget class="QCheckBox" name="water">
               <property name="toolTip">
                <string>Enable water effects such as waves</string>
               </property>
               <property name="text">
                <string/>
               </property>
              </widget>
             </item>
             <item row="5" column="0">
              <widget class="QLabel" name="buildingsLabel">
               <property name="text">
                <string>Buildings</string>
               </property>
              </widget>
             </item>
             <item row="5" column="1">
              <widget class="QComboBox" name="buildings">
               <item>
                <property name="text">
                 <string>None</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>Cesium OSM Buildings</string>
                </property>
               </item>
              </widget>
             </item>
             <item row="6" column="0">
              <widget class="QLabel" name="sunLightEnabledLabel">
               <property name="text">
                <string>Lighting</string>
               </property>
              </widget>
             </item>
             <item row="6" column="1">
              <widget class="QComboBox" name="sunLightEnabled">
               <property name="toolTip">
                <string>Whether lighting is from the Sun or Camera</string>
               </property>
               <item>
                <property name="text">
                 <string>Camera</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>Sun</string>
                </property>
               </item>
              </widget>
             </item>
             <item row="7" column="0">
              <widget class="QLabel" name="lightIntensityLabel">
               <property name="text">
                <string>Camera light Intensity</string>
               </property>
              </widget>
             </item>
             <item row="7" column="1">
              <widget class="QDoubleSpinBox" name="lightIntensity">
               <property name="toolTip">
                <string>Intensity of camera light</string>
               </property>
               <property name="decimals">
                <number>1</number>
               </property>
               <property name="maximum">
                <double>100.000000000000000</double>
               </property>
               <property name="value">
                <double>3.000000000000000</double>
               </property>
              </widget>
             </item>
             <item row="8" column="0">
              <widget class="QLabel" name="hdrLabel">
               <property name="text">
                <string>HDR</string>
               </property>
              </widget>
             </item>
             <item row="8" column="1">
              <widget class="QCheckBox" name="hdr">
               <property name="toolTip">
                <string>High dynamic range</string>
               </property>
               <property name="text">
                <string/>
               </property>
              </widget>
             </item>
             <item row="9" column="0">
              <widget class="QLabel" name="fogLabel">
               <property name="text">
                <string>Fog</string>
               </property>
              </widget>
             </item>
             <item row="9" column="1">
              <widget class="QCheckBox" name="fog">
               <property name="toolTip">
                <string>Enable fog effect</string>
               </property>
               <property name="text">
                <string/>
               </property>
              </widget>
             </item>
             <item row="11" column="0">
              <widget class="QLabel" name="eciCameraLabel">
               <property name="text">
                <string>Camera reference frame</string>
               </property>
              </widget>
             </item>
             <item row="11" column="1">
              <widget class="QComboBox" name="eciCamera">
               <property name="toolTip">
                <string>Selects camera reference frame. For ECEF the camera rotates with the Earth. For ECI, the camera position is fixed relative to the stars and the Earth's rotation will be visible.</string>
               </property>
               <item>
                <property name="text">
                 <string>ECEF</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>ECI</string>
                </property>
               </item>
              </widget>
             </item>
             <item row="14" column="0">
              <widget class="QLabel" name="fpsLabel">
               <property name="text">
                <string>Display FPS</string>
               </property>
              </widget>
             </item>
             <item row="14" column="1">
              <widget class="QCheckBox" name="fps">
               <property name="toolTip">
                <string>Display frames per second (FPS)</string>
               </property>
               <property name="text">
                <string/>
               </property>
              </widget>
             </item>
             <item row="13" column="0">
              <widget class="QLabel" name="msaaLabel">
               <property name="text">
                <string>MSAA</string>
               </property>
              </widget>
             </item>
             <item row="13" column="1">
              <widget class="QComboBox" name="msaa">
               <property name="toolTip">
                <string>Multisample Anti-Aliasing</string>
               </property>
               <item>
                <property name="text">
                 <string>Off</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>2</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>4</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>8</string>
                </property>
               </item>
               <item>
                <property name="text">
                 <string>16</string>
                </property>
               </item>
              </widget>
             </item>
             <item row="12" column="0">
              <widget class="QLabel" name="fxaaLabel">
               <property name="text">
                <string>FXAA</string>
               </property>
              </widget>
             </item>
             <item row="12" column="1">
              <widget class="QCheckBox" name="fxaa">
               <property name="toolTip">
                <string>Fast Approximate Anti-aliasing</string>
               </property>
               <property name="text">
                <string/>
               </property>
              </widget>
             </item>
            </layout>
           </widget>
          </item>
          <item>
           <spacer name="verticalSpacer">
            <property name="orientation">
             <enum>Qt::Orientation::Vertical</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>20</width>
              <height>40</height>
             </size>
            </property>
           </spacer>
          </item>
          <item>
           <layout class="QHBoxLayout" name="horizontalLayout">
            <item>
             <widget class="QPushButton" name="downloadModels">
              <property name="toolTip">
               <string>Download 3D models. It is recommended to restart SDRangel after download.</string>
              </property>
              <property name="text">
               <string>Download 3D Models (1.6GB)</string>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QToolButton" name="getAirportDB">
              <property name="toolTip">
               <string>Download the latest OurAirports airport databases (10MB)</string>
              </property>
              <property name="text">
               <string/>
              </property>
              <property name="icon">
               <iconset resource="mapicons.qrc">
                <normaloff>:/map/icons/controltower.png</normaloff>:/map/icons/controltower.png</iconset>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QToolButton" name="getAirspacesDB">
              <property name="toolTip">
               <string>Download airspaces and NAVAIDs from OpenAIP (40MB)</string>
              </property>
              <property name="text">
               <string/>
              </property>
              <property name="icon">
               <iconset resource="mapicons.qrc">
                <normaloff>:/map/icons/vor.png</normaloff>:/map/icons/vor.png</iconset>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QToolButton" name="getWaypoints">
              <property name="toolTip">
               <string>Download aviation waypoints (3MB)</string>
              </property>
              <property name="text">
               <string/>
              </property>
              <property name="icon">
               <iconset resource="mapicons.qrc">
                <normaloff>:/map/icons/waypoints.png</normaloff>:/map/icons/waypoints.png</iconset>
              </property>
             </widget>
            </item>
            <item>
             <spacer name="horizontalSpacer">
              <property name="orientation">
               <enum>Qt::Orientation::Horizontal</enum>
              </property>
              <property name="sizeHint" stdset="0">
               <size>
                <width>40</width>
                <height>20</height>
               </size>
              </property>
             </spacer>
            </item>
           </layout>
          </item>
         </layout>
        </widget>
        <widget class="QWidget" name="mapItemsTab">
         <attribute name="title">
          <string>Map Items</string>
         </attribute>
         <layout class="QHBoxLayout" name="horizontalLayout_2">
          <item>
           <widget class="QTableWidget" name="mapItemSettings">
            <property name="selectionMode">
             <enum>QAbstractItemView::SelectionMode::NoSelection</enum>
            </property>
            <column>
             <property name="text">
              <string>Enabled</string>
             </property>
             <property name="toolTip">
              <string>Whether items of this type will be displayed on the maps</string>
             </property>
            </column>
            <column>
             <property name="text">
              <string>2D Icon</string>
             </property>
             <property name="toolTip">
              <string>Whether to display icon on 2D map</string>
             </property>
            </column>
            <column>
             <property name="text">
              <string>2D Label</string>
             </property>
             <property name="toolTip">
              <string>Whether to display label on 2D map</string>
             </property>
            </column>
            <column>
             <property name="text">
              <string>2D Min Zoom</string>
             </property>
            </column>
            <column>
             <property name="text">
              <string>2D Colour</string>
             </property>
             <property name="toolTip">
              <string>Track colour or 2D map</string>
             </property>
            </column>
            <column>
             <property name="text">
              <string>3D Model</string>
             </property>
             <property name="toolTip">
              <string>Whether to display model on 3D map</string>
             </property>
            </column>
            <column>
             <property name="text">
              <string>3D Min Pixels</string>
             </property>
            </column>
            <column>
             <property name="text">
              <string>3D Label</string>
             </property>
             <property name="toolTip">
              <string>Whether to display label on 3D map</string>
             </property>
            </column>
            <column>
             <property name="text">
              <string>3D Point</string>
             </property>
             <property name="toolTip">
              <string>Whether to display a point on 3D map</string>
             </property>
            </column>
            <column>
             <property name="text">
              <string>3D Colour</string>
             </property>
            </column>
            <column>
             <property name="text">
              <string>3D Label Scale</string>
             </property>
             <property name="toolTip">
              <string>Scale factor for label on 3D map</string>
             </property>
            </column>
            <column>
             <property name="text">
              <string>Filter Name</string>
             </property>
             <property name="toolTip">
              <string>Regular expression to filter by name (Only items with names matching the pattern will be displayed)</string>
             </property>
            </column>
            <column>
             <property name="text">
              <string>Filter Distance (km)</string>
             </property>
             <property name="toolTip">
              <string>Filter objects further than this distance in km away from My Position</string>
             </property>
            </column>
            <column>
             <property name="text">
              <string>Smoothing Window</string>
             </property>
             <property name="toolTip">
              <string>How many coordinates to apply smoothing filter to. Set to 0 for no smoothing.</string>
             </property>
            </column>
            <column>
             <property name="text">
              <string>Smoothing Lambda</string>
             </property>
             <property name="toolTip">
              <string>Smoothing parameter. Higher values result in more smoothing.</string>
             </property>
            </column>
           </widget>
          </item>
         </layout>
        </widget>
        <widget class="QWidget" name="apiKeysTab">
         <attribute name="title">
          <string>API Keys</string>
         </attribute>
         <layout class="QVBoxLayout" name="verticalLayout_4">
          <item>
           <widget class="QGroupBox" name="apiKeys">
            <property name="title">
             <string>API Keys</string>
            </property>
            <layout class="QFormLayout" name="formLayout_3">
             <item row="0" column="0">
              <widget class="QLabel" name="thunderforestAPIKeyLabel">
               <property name="minimumSize">
                <size>
                 <width>140</width>
                 <height>0</height>
                </size>
               </property>
               <property name="text">
                <string>Thunderforest API Key</string>
               </property>
              </widget>
             </item>
             <item row="0" column="1">
              <widget class="QLineEdit" name="thunderforestAPIKey">
               <property name="toolTip">
                <string>Enter a Thunderforest API key in order to use non-watermarked Thunderforest maps: https://www.thunderforest.com/</string>
               </property>
              </widget>
             </item>
             <item row="1" column="0">
              <widget class="QLabel" name="maptilerAPIKeyLabel">
               <property name="minimumSize">
                <size>
                 <width>140</width>
                 <height>0</height>
                </size>
               </property>
               <property name="text">
                <string>Maptiler API Key</string>
               </property>
              </widget>
             </item>
             <item row="1" column="1">
              <widget class="QLineEdit" name="maptilerAPIKey">
               <property name="toolTip">
                <string>Enter a Maptiler API key in order to use Maptiler maps: https://www.maptiler.com/</string>
               </property>
              </widget>
             </item>
             <item row="2" column="0">
              <widget class="QLabel" name="mapBoxAPIKeyLabel">
               <property name="minimumSize">
                <size>
                 <width>140</width>
                 <height>0</height>
                </size>
               </property>
               <property name="text">
                <string>Mapbox API Key</string>
               </property>
              </widget>
             </item>
             <item row="2" column="1">
              <widget class="QLineEdit" name="mapBoxAPIKey">
               <property name="toolTip">
                <string>Enter a Mapbox API key in order to use Mapbox maps: https://www.mapbox.com/</string>
               </property>
              </widget>
             </item>
             <item row="3" column="0">
              <widget class="QLabel" name="cesiumIonAPIKeyLabel">
               <property name="minimumSize">
                <size>
                 <width>140</width>
                 <height>0</height>
                </size>
               </property>
               <property name="text">
                <string>Cesium Ion API Key</string>
               </property>
              </widget>
             </item>
             <item row="3" column="1">
              <widget class="QLineEdit" name="cesiumIonAPIKey">
               <property name="toolTip">
                <string>Enter a Cesium Ion Access Token</string>
               </property>
              </widget>
             </item>
             <item row="5" column="0">
              <widget class="QLabel" name="checkWXAPIKeyLabel">
               <property name="text">
                <string>CheckWX API key</string>
               </property>
              </widget>
             </item>
             <item row="5" column="1">
              <widget class="QLineEdit" name="checkWXAPIKey">
               <property name="toolTip">
                <string>checkwxapi.com API key for accessing airport weather (METARs)</string>
               </property>
              </widget>
             </item>
             <item row="4" column="0">
              <widget class="QLabel" name="arcGISAPIKeyLabel">
               <property name="text">
                <string>ArcGIS API Key</string>
               </property>
              </widget>
             </item>
             <item row="4" column="1">
              <widget class="QLineEdit" name="arcGISAPIKey">
               <property name="toolTip">
                <string>Enter an ArcGIS API Key</string>
               </property>
              </widget>
             </item>
            </layout>
           </widget>
          </item>
         </layout>
        </widget>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QDialogButtonBox" name="buttonBox">
     <property name="orientation">
      <enum>Qt::Orientation::Horizontal</enum>
     </property>
     <property name="standardButtons">
      <set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <tabstops>
  <tabstop>map2DEnabled</tabstop>
  <tabstop>mapProvider</tabstop>
  <tabstop>osmURL</tabstop>
  <tabstop>mapBoxStyles</tabstop>
  <tabstop>map3DEnabled</tabstop>
  <tabstop>terrain</tabstop>
  <tabstop>buildings</tabstop>
  <tabstop>sunLightEnabled</tabstop>
  <tabstop>eciCamera</tabstop>
  <tabstop>msaa</tabstop>
  <tabstop>downloadModels</tabstop>
  <tabstop>thunderforestAPIKey</tabstop>
  <tabstop>maptilerAPIKey</tabstop>
  <tabstop>mapBoxAPIKey</tabstop>
  <tabstop>cesiumIonAPIKey</tabstop>
 </tabstops>
 <resources>
  <include location="mapicons.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>MapSettingsDialog</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>248</x>
     <y>254</y>
    </hint>
    <hint type="destinationlabel">
     <x>157</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>MapSettingsDialog</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>316</x>
     <y>260</y>
    </hint>
    <hint type="destinationlabel">
     <x>286</x>
     <y>274</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>
