diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-11-04 19:05:34 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-11-04 19:06:25 +0100 |
commit | 35b46547cb0be698d0f3a2c17437bad2a5067789 (patch) | |
tree | e44a0bb7c780a90b93b9892482044a04a949908d /tracker-pt/FTNoIR_PT_Controls.ui | |
parent | c99692bf76ccc6798181ec13547f45f1f8430b78 (diff) |
tracker/pt: add point filter gain limiter
Diffstat (limited to 'tracker-pt/FTNoIR_PT_Controls.ui')
-rw-r--r-- | tracker-pt/FTNoIR_PT_Controls.ui | 74 |
1 files changed, 65 insertions, 9 deletions
diff --git a/tracker-pt/FTNoIR_PT_Controls.ui b/tracker-pt/FTNoIR_PT_Controls.ui index edb401da..bf6cbbde 100644 --- a/tracker-pt/FTNoIR_PT_Controls.ui +++ b/tracker-pt/FTNoIR_PT_Controls.ui @@ -9,8 +9,8 @@ <rect> <x>0</x> <y>0</y> - <width>420</width> - <height>703</height> + <width>397</width> + <height>673</height> </rect> </property> <property name="sizePolicy"> @@ -707,8 +707,8 @@ <property name="title"> <string>Point filter</string> </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> + <layout class="QGridLayout" name="gridLayout_12"> + <item row="0" column="0"> <widget class="QCheckBox" name="enable_point_filter"> <property name="sizePolicy"> <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> @@ -724,7 +724,36 @@ </property> </widget> </item> - <item> + <item row="0" column="2"> + <widget class="QDoubleSpinBox" name="point_filter_label"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + <property name="buttonSymbols"> + <enum>QAbstractSpinBox::NoButtons</enum> + </property> + <property name="maximum"> + <double>999.990000000000009</double> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="label_15"> + <property name="text"> + <string>Limit</string> + </property> + </widget> + </item> + <item row="0" column="1"> <widget class="QSlider" name="point_filter_slider"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> @@ -749,10 +778,35 @@ </property> </widget> </item> - <item> - <widget class="QDoubleSpinBox" name="point_filter_label"> + <item row="1" column="1"> + <widget class="QSlider" name="point_filter_limit_slider"> <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Maximum"> + <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimum"> + <number>0</number> + </property> + <property name="maximum"> + <number>99</number> + </property> + <property name="singleStep"> + <number>1</number> + </property> + <property name="pageStep"> + <number>10</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QDoubleSpinBox" name="point_filter_limit_label"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> @@ -767,7 +821,7 @@ <enum>QAbstractSpinBox::NoButtons</enum> </property> <property name="maximum"> - <double>999.990000000000009</double> + <double>1.000000000000000</double> </property> </widget> </item> @@ -1546,6 +1600,8 @@ Don't roll or change position.</string> <tabstop>enable_point_filter</tabstop> <tabstop>point_filter_slider</tabstop> <tabstop>point_filter_label</tabstop> + <tabstop>point_filter_limit_slider</tabstop> + <tabstop>point_filter_limit_label</tabstop> <tabstop>model_tabs</tabstop> <tabstop>clip_tlength_spin</tabstop> <tabstop>clip_theight_spin</tabstop> |