mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-18 10:01:57 -05:00
947b429723
This change incorporates a reorganization of the GUI code with widgets, validators, models, and item delegates being moved to sub-directories. Relax the requirements of the ForeignKeyDelegate and related CandidateKeyFilter classes to allow them to work with constant model pointers for both referenced and referencing models.
527 lines
15 KiB
XML
527 lines
15 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>WideGraph</class>
|
|
<widget class="QDialog" name="WideGraph">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>799</width>
|
|
<height>337</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Dialog</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<property name="spacing">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="CPlotter" name="widePlot">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>400</width>
|
|
<height>100</height>
|
|
</size>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Plain</enum>
|
|
</property>
|
|
<property name="lineWidth">
|
|
<number>1</number>
|
|
</property>
|
|
<widget class="QCheckBox" name="cbControls">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>5</x>
|
|
<y>0</y>
|
|
<width>77</width>
|
|
<height>17</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Controls</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="controls_widget" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="horizontalSpacing">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="verticalSpacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item row="1" column="8">
|
|
<widget class="QSlider" name="gain2dSlider">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Spectrum gain</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>-50</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>50</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="tickPosition">
|
|
<enum>QSlider::TicksAbove</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="4">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="labPalette">
|
|
<property name="text">
|
|
<string> Palette </string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="adjust_palette_push_button">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Enter definition for a new color palette.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Adjust...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="0" column="8">
|
|
<widget class="QSlider" name="gainSlider">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Waterfall gain</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>-50</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>50</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="tickPosition">
|
|
<enum>QSlider::TicksAbove</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="11">
|
|
<widget class="QSpinBox" name="sbPercent2dPlot">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Set fractional size of spectrum in this window.</p></body></html></string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> %</string>
|
|
</property>
|
|
<property name="prefix">
|
|
<string>Spec </string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>30</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="6">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<item>
|
|
<widget class="QCheckBox" name="cbFlatten">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Flatten spectral baseline over the full displayed interval.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Flatten</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="cbRef">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Compute and save a reference spectrum. (Not yet fully implemented.)</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Ref Spec</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="11">
|
|
<widget class="QSpinBox" name="smoSpinBox">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Smoothing of Linear Average spectrum</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<property name="suffix">
|
|
<string/>
|
|
</property>
|
|
<property name="prefix">
|
|
<string>Smooth </string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>7</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSpinBox" name="bppSpinBox">
|
|
<property name="toolTip">
|
|
<string>Compression factor for frequency scale</string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string/>
|
|
</property>
|
|
<property name="prefix">
|
|
<string>Bins/Pixel </string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>2</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="4">
|
|
<widget class="QComboBox" name="paletteComboBox">
|
|
<property name="toolTip">
|
|
<string>Select waterfall palette</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="6">
|
|
<widget class="QComboBox" name="spec2dComboBox">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Select data for spectral display</p></body></html></string>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Current</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Cumulative</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Linear Avg</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Reference</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QSpinBox" name="fStartSpinBox">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Frequency at left edge of waterfall</p></body></html></string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> Hz</string>
|
|
</property>
|
|
<property name="prefix">
|
|
<string>Start </string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>4900</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>100</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QSpinBox" name="fSplitSpinBox">
|
|
<property name="toolTip">
|
|
<string><html><head/><body><p>Decode JT9 only above this frequency</p></body></html></string>
|
|
</property>
|
|
<property name="suffix">
|
|
<string> JT9</string>
|
|
</property>
|
|
<property name="prefix">
|
|
<string>JT65 </string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>5000</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>3000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QSpinBox" name="waterfallAvgSpinBox">
|
|
<property name="toolTip">
|
|
<string>Number of FFTs averaged (controls waterfall scrolling rate)</string>
|
|
</property>
|
|
<property name="prefix">
|
|
<string>N Avg </string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>50</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="10">
|
|
<widget class="QSlider" name="zeroSlider">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Waterfall zero</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>-50</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>50</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="tickPosition">
|
|
<enum>QSlider::TicksAbove</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="10">
|
|
<widget class="QSlider" name="zero2dSlider">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Spectrum zero</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>-50</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>50</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="tickPosition">
|
|
<enum>QSlider::TicksAbove</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" rowspan="2">
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="0" column="12" rowspan="2">
|
|
<spacer name="horizontalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="0" column="3" rowspan="2">
|
|
<widget class="Line" name="line">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="5" rowspan="2">
|
|
<widget class="Line" name="line_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>CPlotter</class>
|
|
<extends>QFrame</extends>
|
|
<header>widgets/plotter.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|