diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-16 18:23:24 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-16 18:23:24 +0200 |
commit | b091ac9b9614dc4d8c0f02f63321eb1e88c291b7 (patch) | |
tree | 2c196401877fbe31d64ac8e3fe12f7e809ad3f18 | |
parent | cbed796eb82ba7d600097035602a9e7c52943b31 (diff) |
add ui layouts for legibility's sake
-rw-r--r-- | ftnoir_filter_ewma2/ftnoir_ewma_filtercontrols.ui | 671 |
1 files changed, 249 insertions, 422 deletions
diff --git a/ftnoir_filter_ewma2/ftnoir_ewma_filtercontrols.ui b/ftnoir_filter_ewma2/ftnoir_ewma_filtercontrols.ui index 1a798a45..a66966e7 100644 --- a/ftnoir_filter_ewma2/ftnoir_ewma_filtercontrols.ui +++ b/ftnoir_filter_ewma2/ftnoir_ewma_filtercontrols.ui @@ -9,16 +9,10 @@ <rect> <x>0</x> <y>0</y> - <width>404</width> + <width>448</width> <height>380</height> </rect> </property> - <property name="minimumSize"> - <size> - <width>0</width> - <height>380</height> - </size> - </property> <property name="windowTitle"> <string>EWMA2 filter settings</string> </property> @@ -35,43 +29,240 @@ <property name="styleSheet"> <string notr="true"/> </property> - <widget class="QDialogButtonBox" name="buttonBox"> - <property name="geometry"> - <rect> - <x>204</x> - <y>351</y> - <width>164</width> - <height>25</height> - </rect> - </property> - <property name="standardButtons"> - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> - </property> - </widget> - <widget class="QLabel" name="label_4"> - <property name="geometry"> - <rect> - <x>4</x> - <y>143</y> - <width>396</width> - <height>204</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - <property name="styleSheet"> - <string notr="true">background-color: rgb(214, 214, 214); + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QFrame" name="frame"> + <layout class="QGridLayout" name="gridLayout_2"> + <property name="topMargin"> + <number>2</number> + </property> + <property name="bottomMargin"> + <number>2</number> + </property> + <item row="0" column="0"> + <widget class="QLabel" name="lblInvert1_6"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimumSize"> + <size> + <width>0</width> + <height>0</height> + </size> + </property> + <property name="styleSheet"> + <string notr="true"/> + </property> + <property name="text"> + <string>Min</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QSlider" name="minSmooth"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>100</number> + </property> + <property name="pageStep"> + <number>5</number> + </property> + <property name="value"> + <number>2</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="tickPosition"> + <enum>QSlider::NoTicks</enum> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QSpinBox" name="spinMinSmooth"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="styleSheet"> + <string notr="true">background:none;</string> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>120</number> + </property> + <property name="singleStep"> + <number>5</number> + </property> + <property name="value"> + <number>2</number> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="lblInvert1_7"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="styleSheet"> + <string notr="true"/> + </property> + <property name="text"> + <string>Max</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QSlider" name="maxSmooth"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>100</number> + </property> + <property name="pageStep"> + <number>5</number> + </property> + <property name="value"> + <number>10</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="tickPosition"> + <enum>QSlider::NoTicks</enum> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QSpinBox" name="spinMaxSmooth"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="styleSheet"> + <string notr="true">background:none;</string> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>120</number> + </property> + <property name="singleStep"> + <number>5</number> + </property> + <property name="value"> + <number>10</number> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QLabel" name="lblInvert1_8"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Maximum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="styleSheet"> + <string notr="true"/> + </property> + <property name="text"> + <string>Curve</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QSlider" name="powCurve"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>100</number> + </property> + <property name="pageStep"> + <number>5</number> + </property> + <property name="value"> + <number>10</number> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="tickPosition"> + <enum>QSlider::NoTicks</enum> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QSpinBox" name="spinPowCurve"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="styleSheet"> + <string notr="true">background:none;</string> + </property> + <property name="maximum"> + <number>100</number> + </property> + <property name="singleStep"> + <number>5</number> + </property> + <property name="value"> + <number>10</number> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QLabel" name="label_4"> + <property name="styleSheet"> + <string notr="true">background-color: rgb(214, 214, 214); border-color: rgb(0, 0, 0);</string> - </property> - <property name="frameShape"> - <enum>QFrame::Box</enum> - </property> - <property name="text"> - <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> + </property> + <property name="frameShape"> + <enum>QFrame::Box</enum> + </property> + <property name="text"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> @@ -87,389 +278,25 @@ p, li { white-space: pre-wrap; } <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2';">Defines the filters 'readiness' to respond to speed changes;</span></p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2';">Higher value = </span><span style=" font-family:'MS Shell Dlg 2'; font-weight:600;">faster</span><span style=" font-family:'MS Shell Dlg 2';"> response;</span></p> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2';"><br /></p></body></html></string> - </property> - <property name="margin"> - <number>5</number> - </property> - </widget> - <widget class="QLabel" name="lblInvert1_6"> - <property name="geometry"> - <rect> - <x>5</x> - <y>5</y> - <width>27</width> - <height>16</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>16777215</height> - </size> - </property> - <property name="styleSheet"> - <string notr="true"/> - </property> - <property name="text"> - <string>Min</string> - </property> - </widget> - <widget class="QSlider" name="maxSmooth"> - <property name="geometry"> - <rect> - <x>47</x> - <y>32</y> - <width>84</width> - <height>23</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>45</width> - <height>15</height> - </size> - </property> - <property name="minimum"> - <number>1</number> - </property> - <property name="maximum"> - <number>100</number> - </property> - <property name="pageStep"> - <number>10</number> - </property> - <property name="value"> - <number>10</number> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="tickPosition"> - <enum>QSlider::NoTicks</enum> - </property> - </widget> - <widget class="QSpinBox" name="spinMaxSmooth"> - <property name="geometry"> - <rect> - <x>135</x> - <y>32</y> - <width>52</width> - <height>23</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>40</width> - <height>22</height> - </size> - </property> - <property name="styleSheet"> - <string notr="true">background:none;</string> - </property> - <property name="minimum"> - <number>1</number> - </property> - <property name="maximum"> - <number>120</number> - </property> - <property name="singleStep"> - <number>5</number> - </property> - <property name="value"> - <number>10</number> - </property> - </widget> - <widget class="QSpinBox" name="spinPowCurve"> - <property name="geometry"> - <rect> - <x>135</x> - <y>59</y> - <width>52</width> - <height>23</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>40</width> - <height>22</height> - </size> - </property> - <property name="styleSheet"> - <string notr="true">background:none;</string> - </property> - <property name="maximum"> - <number>100</number> - </property> - <property name="singleStep"> - <number>5</number> - </property> - <property name="value"> - <number>10</number> - </property> - </widget> - <widget class="QSlider" name="powCurve"> - <property name="geometry"> - <rect> - <x>47</x> - <y>59</y> - <width>84</width> - <height>23</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>45</width> - <height>15</height> - </size> - </property> - <property name="minimum"> - <number>1</number> - </property> - <property name="maximum"> - <number>100</number> - </property> - <property name="pageStep"> - <number>10</number> - </property> - <property name="value"> - <number>10</number> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="tickPosition"> - <enum>QSlider::NoTicks</enum> - </property> - </widget> - <widget class="QLabel" name="lblInvert1_8"> - <property name="geometry"> - <rect> - <x>5</x> - <y>59</y> - <width>38</width> - <height>16</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>16777215</height> - </size> - </property> - <property name="styleSheet"> - <string notr="true"/> - </property> - <property name="text"> - <string>Curve</string> - </property> - </widget> - <widget class="QLabel" name="lblInvert1_7"> - <property name="geometry"> - <rect> - <x>5</x> - <y>32</y> - <width>32</width> - <height>16</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>16777215</width> - <height>16777215</height> - </size> - </property> - <property name="styleSheet"> - <string notr="true"/> - </property> - <property name="text"> - <string>Max</string> - </property> - </widget> - <widget class="QSlider" name="minSmooth"> - <property name="geometry"> - <rect> - <x>47</x> - <y>5</y> - <width>84</width> - <height>23</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>45</width> - <height>15</height> - </size> - </property> - <property name="minimum"> - <number>1</number> - </property> - <property name="maximum"> - <number>100</number> - </property> - <property name="pageStep"> - <number>10</number> - </property> - <property name="value"> - <number>2</number> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="tickPosition"> - <enum>QSlider::NoTicks</enum> - </property> - </widget> - <widget class="QSpinBox" name="spinMinSmooth"> - <property name="geometry"> - <rect> - <x>135</x> - <y>5</y> - <width>52</width> - <height>23</height> - </rect> - </property> - <property name="minimumSize"> - <size> - <width>40</width> - <height>22</height> - </size> - </property> - <property name="styleSheet"> - <string notr="true">background:none;</string> - </property> - <property name="minimum"> - <number>1</number> - </property> - <property name="maximum"> - <number>120</number> - </property> - <property name="singleStep"> - <number>5</number> - </property> - <property name="value"> - <number>2</number> - </property> - </widget> + </property> + <property name="margin"> + <number>5</number> + </property> + </widget> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> + <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + </layout> </widget> <resources> <include location="ewma-filter.qrc"/> </resources> - <connections> - <connection> - <sender>minSmooth</sender> - <signal>valueChanged(int)</signal> - <receiver>spinMinSmooth</receiver> - <slot>setValue(int)</slot> - <hints> - <hint type="sourcelabel"> - <x>199</x> - <y>22</y> - </hint> - <hint type="destinationlabel"> - <x>337</x> - <y>23</y> - </hint> - </hints> - </connection> - <connection> - <sender>spinMinSmooth</sender> - <signal>valueChanged(int)</signal> - <receiver>minSmooth</receiver> - <slot>setValue(int)</slot> - <hints> - <hint type="sourcelabel"> - <x>330</x> - <y>12</y> - </hint> - <hint type="destinationlabel"> - <x>185</x> - <y>17</y> - </hint> - </hints> - </connection> - <connection> - <sender>maxSmooth</sender> - <signal>valueChanged(int)</signal> - <receiver>spinMaxSmooth</receiver> - <slot>setValue(int)</slot> - <hints> - <hint type="sourcelabel"> - <x>181</x> - <y>48</y> - </hint> - <hint type="destinationlabel"> - <x>335</x> - <y>54</y> - </hint> - </hints> - </connection> - <connection> - <sender>spinMaxSmooth</sender> - <signal>valueChanged(int)</signal> - <receiver>maxSmooth</receiver> - <slot>setValue(int)</slot> - <hints> - <hint type="sourcelabel"> - <x>324</x> - <y>42</y> - </hint> - <hint type="destinationlabel"> - <x>259</x> - <y>43</y> - </hint> - </hints> - </connection> - <connection> - <sender>powCurve</sender> - <signal>valueChanged(int)</signal> - <receiver>spinPowCurve</receiver> - <slot>setValue(int)</slot> - <hints> - <hint type="sourcelabel"> - <x>145</x> - <y>74</y> - </hint> - <hint type="destinationlabel"> - <x>339</x> - <y>78</y> - </hint> - </hints> - </connection> - <connection> - <sender>spinPowCurve</sender> - <signal>valueChanged(int)</signal> - <receiver>powCurve</receiver> - <slot>setValue(int)</slot> - <hints> - <hint type="sourcelabel"> - <x>330</x> - <y>69</y> - </hint> - <hint type="destinationlabel"> - <x>176</x> - <y>76</y> - </hint> - </hints> - </connection> - </connections> + <connections/> <slots> <slot>startEngineClicked()</slot> <slot>stopEngineClicked()</slot> |