237 changes: 141 additions & 96 deletions src/widgets/datarange.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>611</width>
<height>156</height>
<width>597</width>
<height>129</height>
</rect>
</property>
<property name="sizePolicy">
Expand All @@ -17,7 +17,16 @@
</sizepolicy>
</property>
<layout class="QGridLayout">
<property name="margin">
<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="spacing">
Expand All @@ -28,65 +37,53 @@
<property name="title">
<string>Data Range</string>
</property>
<layout class="QGridLayout" name="_2">
<item row="2" column="5">
<widget class="QCheckBox" name="_doFilter">
<property name="enabled">
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayoutDR">
<item row="2" column="6">
<widget class="QCheckBox" name="_readToEnd">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>Select this to average the skipped frames together. Provides simple low pass filtering.</string>
<string>Select this to read all of the data up to the end of the file. </string>
</property>
<property name="text">
<string>Boxcar &amp;filter first</string>
<string>Read to &amp;end</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QCheckBox" name="_doSkip">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Save memory by sparsely sampling the data</string>
</property>
<item row="0" column="6">
<widget class="QCheckBox" name="_countFromEnd">
<property name="whatsThis">
<string>Select this to skip frames, rather than reading all of the data. This is useful for reading very long but slowly changing data files.</string>
<string>Select this to read data from the end of the file. This is useful for scrolling displays when the file is being appended by another application.</string>
</property>
<property name="text">
<string>Read &amp;1 sample per:</string>
<string>Co&amp;unt from end</string>
</property>
</widget>
</item>
<item row="1" column="5">
<widget class="QCheckBox" name="_readToEnd">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<item row="0" column="3">
<widget class="QLineEdit" name="_last">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Input a number (starting from 0 for the first value), or the format [[[[YYYY:]MM:]DD:]HH:]MM[.SS] for dates.</string>
</property>
<property name="whatsThis">
<string>Select this to read all of the data up to the end of the file. </string>
<string>The index of the first data read. For ASCII files, this is the data row number in the file. For frame based files, this is the first frame.</string>
</property>
<property name="text">
<string>Read to &amp;end</string>
</property>
<property name="checked">
<bool>true</bool>
<string>0</string>
</property>
</widget>
</item>
<item row="0" column="4">
<item row="0" column="5">
<widget class="QLabel" name="label_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
Expand All @@ -102,75 +99,121 @@
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QLabel" name="label_2">
<item row="3" column="4" colspan="3">
<widget class="QCheckBox" name="_doFilter">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>or</string>
<property name="whatsThis">
<string>Select this to average the skipped frames together. Provides simple low pass filtering.</string>
</property>
<property name="wordWrap">
<bool>false</bool>
<property name="text">
<string>Boxcar &amp;filter first</string>
</property>
</widget>
</item>
<item row="0" column="5">
<widget class="QCheckBox" name="_countFromEnd">
<property name="whatsThis">
<string>Select this to read data from the end of the file. This is useful for scrolling displays when the file is being appended by another application.</string>
<item row="0" column="2">
<widget class="QLabel" name="_lastLabel">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Co&amp;unt from end</string>
<string>&amp;Last</string>
</property>
<property name="buddy">
<cstring>_last</cstring>
</property>
</widget>
</item>
<item row="2" column="2" colspan="2">
<widget class="QSpinBox" name="_skip">
<item row="2" column="1" colspan="3">
<widget class="QLineEdit" name="_range">
<property name="enabled">
<bool>false</bool>
</property>
<property name="whatsThis">
<string>Number of frames to skip, if &quot;Read 1 sample per&quot; is selected.</string>
</property>
<property name="suffix">
<string> frame(s)</string>
<property name="toolTip">
<string>Input a number (starting from 0 for the first value), or the format [[[[YYYY:]MM:]DD:]HH:]MM[.SS] for dates.</string>
</property>
<property name="minimum">
<number>1</number>
<property name="whatsThis">
<string>The amount of data to read into the vector. For ASCII files, this is the number of data rows. For frame files there may be more than one sample per frame. Dates are input in the format [[[[YYYY:]MM:]DD:]HH:]MM[.SS].</string>
</property>
<property name="maximum">
<number>2147483647</number>
</widget>
</item>
<item row="0" column="4">
<widget class="QComboBox" name="_startUnits">
<property name="si" stdset="0">
<string notr="true">start units</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_4">
<item row="3" column="0" colspan="4">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QCheckBox" name="_doSkip">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Save memory by sparsely sampling the data</string>
</property>
<property name="whatsThis">
<string>Select this to skip frames, rather than reading all of the data. This is useful for reading very long but slowly changing data files.</string>
</property>
<property name="text">
<string>Read &amp;1 sample per:</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="_skip">
<property name="enabled">
<bool>false</bool>
</property>
<property name="whatsThis">
<string>Number of frames to skip, if &quot;Read 1 sample per&quot; is selected.</string>
</property>
<property name="suffix">
<string> frame(s)</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>2147483647</number>
</property>
</widget>
</item>
</layout>
</item>
<item row="2" column="5">
<widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&amp;Start:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<string>or</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>_start</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label">
<item row="2" column="0">
<widget class="QLabel" name="_rangeLabel">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
Expand All @@ -194,7 +237,17 @@
</property>
</widget>
</item>
<item row="0" column="1" colspan="2">
<item row="2" column="4">
<widget class="QComboBox" name="_rangeUnits">
<property name="enabled">
<bool>false</bool>
</property>
<property name="si" stdset="0">
<string notr="true">range units</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="_start">
<property name="toolTip">
<string>Input a number (starting from 0 for the first value), or the format [[[[YYYY:]MM:]DD:]HH:]MM[.SS] for dates.</string>
Expand All @@ -207,33 +260,25 @@
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<widget class="QLineEdit" name="_range">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Input a number (starting from 0 for the first value), or the format [[[[YYYY:]MM:]DD:]HH:]MM[.SS] for dates.</string>
<item row="0" column="0">
<widget class="QLabel" name="_startLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>The amount of data to read into the vector. For ASCII files, this is the number of data rows. For frame files there may be more than one sample per frame. Dates are input in the format [[[[YYYY:]MM:]DD:]HH:]MM[.SS].</string>
<property name="text">
<string>&amp;Start:</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QComboBox" name="_startUnits">
<property name="si" stdset="0">
<string notr="true">start units</string>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QComboBox" name="_rangeUnits">
<property name="enabled">
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="si" stdset="0">
<string notr="true">range units</string>
<property name="buddy">
<cstring>_start</cstring>
</property>
</widget>
</item>
Expand All @@ -245,14 +290,14 @@
<layoutdefault spacing="6" margin="11"/>
<tabstops>
<tabstop>_start</tabstop>
<tabstop>_last</tabstop>
<tabstop>_startUnits</tabstop>
<tabstop>_countFromEnd</tabstop>
<tabstop>_range</tabstop>
<tabstop>_rangeUnits</tabstop>
<tabstop>_readToEnd</tabstop>
<tabstop>_doSkip</tabstop>
<tabstop>_skip</tabstop>
<tabstop>_doFilter</tabstop>
</tabstops>
<resources/>
<connections/>
Expand Down