<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>FreqDisplayGUI</class>
 <widget class="RollupContents" name="FreqDisplayGUI">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>520</width>
    <height>249</height>
   </rect>
  </property>
  <property name="minimumSize">
   <size>
    <width>420</width>
    <height>200</height>
   </size>
  </property>
  <property name="windowTitle">
   <string>Frequency Display</string>
  </property>
  <widget class="QWidget" name="settingsContainer" native="true">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>520</width>
     <height>91</height>
    </rect>
   </property>
   <property name="sizePolicy">
    <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
     <horstretch>0</horstretch>
     <verstretch>0</verstretch>
    </sizepolicy>
   </property>
   <property name="windowTitle">
    <string>Settings</string>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout">
    <property name="leftMargin">
     <number>4</number>
    </property>
    <property name="topMargin">
     <number>4</number>
    </property>
    <property name="rightMargin">
     <number>4</number>
    </property>
    <property name="bottomMargin">
     <number>4</number>
    </property>
    <item>
     <layout class="QHBoxLayout" name="channelLayout">
      <item>
       <widget class="QLabel" name="channelsLabel">
        <property name="text">
         <string>Channel</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QComboBox" name="channels">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="toolTip">
         <string>Which channel to display frequency / power for</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QLabel" name="displayLabel">
        <property name="text">
         <string>Display</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QComboBox" name="displayMode">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="toolTip">
         <string>Select what to display: channel frequency, power or both</string>
        </property>
        <item>
         <property name="text">
          <string>Frequency</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>Power</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>Frequency &amp; Power</string>
         </property>
        </item>
       </widget>
      </item>
      <item>
       <widget class="ButtonSwitch" name="activeOnly">
        <property name="toolTip">
         <string>When checked, display frequency / power only when channel is active (unmuted and squelch open)</string>
        </property>
        <property name="text">
         <string>A</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="ButtonSwitch" name="transparentBackground">
        <property name="toolTip">
         <string>Click to display frequency / power on transparent background.

When in transparent mode:
- Left click on text to drag.
- Right click on the text to exit transparent mode.</string>
        </property>
        <property name="text">
         <string>T</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="ButtonSwitch" name="speech">
        <property name="toolTip">
         <string>Speak frequency/power value when it changes</string>
        </property>
        <property name="text">
         <string>S</string>
        </property>
        <property name="icon">
         <iconset resource="../../../sdrgui/resources/res.qrc">
          <normaloff>:/sound_off.png</normaloff>
          <normalon>:/sound_on.png</normalon>:/sound_off.png</iconset>
        </property>
       </widget>
      </item>
     </layout>
    </item>
    <item>
     <layout class="QHBoxLayout" name="unitsLayout">
      <item>
       <widget class="QLabel" name="unitsLabel">
        <property name="text">
         <string>Units</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QComboBox" name="frequencyUnits">
        <property name="toolTip">
         <string>Select units for the displayed frequency value</string>
        </property>
        <item>
         <property name="text">
          <string>Hz</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>kHz</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>MHz</string>
         </property>
        </item>
        <item>
         <property name="text">
          <string>GHz</string>
         </property>
        </item>
       </widget>
      </item>
      <item>
       <widget class="ButtonSwitch" name="showUnits">
        <property name="toolTip">
         <string>Show or hide unit labels in the display</string>
        </property>
        <property name="text">
         <string>U</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QLabel" name="freqDecimalPlacesLabel">
        <property name="toolTip">
         <string>Decimal places for frequency (disabled when units is Hz)</string>
        </property>
        <property name="text">
         <string>Freq DP</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QSpinBox" name="freqDecimalPlaces">
        <property name="toolTip">
         <string>Number of decimal places to show for the frequency value</string>
        </property>
        <property name="minimum">
         <number>0</number>
        </property>
        <property name="maximum">
         <number>3</number>
        </property>
        <property name="value">
         <number>3</number>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QLabel" name="powerDecimalPlacesLabel">
        <property name="toolTip">
         <string>Decimal places for power</string>
        </property>
        <property name="text">
         <string>Power DP</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QSpinBox" name="powerDecimalPlaces">
        <property name="toolTip">
         <string>Number of decimal places to show for the power value</string>
        </property>
        <property name="minimum">
         <number>0</number>
        </property>
        <property name="maximum">
         <number>3</number>
        </property>
        <property name="value">
         <number>1</number>
        </property>
       </widget>
      </item>
      <item>
       <spacer name="unitsSpacer">
        <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>
    <item>
     <layout class="QHBoxLayout" name="fontLayout">
      <item>
       <widget class="QLabel" name="fontLabel">
        <property name="text">
         <string>Font</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QFontComboBox" name="fontFamily">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="toolTip">
         <string>Select font family for the frequency display</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="textColor">
        <property name="maximumSize">
         <size>
          <width>24</width>
          <height>24</height>
         </size>
        </property>
        <property name="toolTip">
         <string>Select color for the frequency / power text</string>
        </property>
        <property name="text">
         <string/>
        </property>
       </widget>
      </item>
      <item>
       <widget class="ButtonSwitch" name="dropShadow">
        <property name="toolTip">
         <string>Enable drop shadow effect on the frequency / power text</string>
        </property>
        <property name="text">
         <string>DS</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="dropShadowColor">
        <property name="maximumSize">
         <size>
          <width>24</width>
          <height>24</height>
         </size>
        </property>
        <property name="toolTip">
         <string>Select color for the drop shadow</string>
        </property>
        <property name="text">
         <string/>
        </property>
       </widget>
      </item>
     </layout>
    </item>
   </layout>
  </widget>
  <widget class="FrequencyLabel" name="frequencyValue">
   <property name="geometry">
    <rect>
     <x>10</x>
     <y>120</y>
     <width>501</width>
     <height>91</height>
    </rect>
   </property>
   <property name="sizePolicy">
    <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
     <horstretch>0</horstretch>
     <verstretch>1</verstretch>
    </sizepolicy>
   </property>
   <property name="text">
    <string>No channel selected</string>
   </property>
   <property name="alignment">
    <set>Qt::AlignmentFlag::AlignCenter</set>
   </property>
  </widget>
 </widget>
 <customwidgets>
  <customwidget>
   <class>FrequencyLabel</class>
   <extends>QLabel</extends>
   <header>freqdisplaygui.h</header>
  </customwidget>
  <customwidget>
   <class>RollupContents</class>
   <extends>QWidget</extends>
   <header>gui/rollupcontents.h</header>
   <container>1</container>
  </customwidget>
  <customwidget>
   <class>ButtonSwitch</class>
   <extends>QToolButton</extends>
   <header>gui/buttonswitch.h</header>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="../../../sdrgui/resources/res.qrc"/>
 </resources>
 <connections/>
</ui>
