]> ruin.nu Git - hbs.git/blobdiff - bs/ui/tickviewbase.ui
Some changes
[hbs.git] / bs / ui / tickviewbase.ui
index 2ea6579e36885d7d76b17127a1605efb017f1a7b..387d7bd1ee3035d6220354be990eaca533ef0abd 100644 (file)
@@ -1,8 +1,5 @@
 <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
 <class>CTickViewBase</class>
-<include location="local" implDecl="in declaration">tickviewbase.ui.h</include>
-<pixmapinproject/>
-<layoutdefaults spacing="3" margin="6"/>
 <widget class="QWidget">
     <property name="name">
         <cstring>CTickViewBase</cstring>
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>371</width>
-            <height>34</height>
+            <width>478</width>
+            <height>37</height>
         </rect>
     </property>
     <property name="caption">
         <string>Form1</string>
     </property>
-    <grid>
+    <hbox>
         <property name="name">
             <cstring>unnamed</cstring>
         </property>
         <property name="spacing">
             <number>3</number>
         </property>
-        <widget class="QLayoutWidget" row="0" column="0">
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>TextLabel45</cstring>
+            </property>
+            <property name="text">
+                <string>Show result from tick:</string>
+            </property>
+        </widget>
+        <widget class="QSpinBox">
+            <property name="name">
+                <cstring>minTickSpin</cstring>
+            </property>
+            <property name="maxValue">
+                <number>1</number>
+            </property>
+            <property name="minValue">
+                <number>1</number>
+            </property>
+        </widget>
+        <widget class="QLabel">
+            <property name="name">
+                <cstring>TextLabel47</cstring>
+            </property>
+            <property name="text">
+                <string>to:</string>
+            </property>
+        </widget>
+        <widget class="QSpinBox">
             <property name="name">
-                <cstring>Layout26</cstring>
+                <cstring>maxTickSpin</cstring>
+            </property>
+            <property name="minValue">
+                <number>1</number>
             </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <property name="margin">
-                    <number>0</number>
-                </property>
-                <property name="spacing">
-                    <number>6</number>
-                </property>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>TextLabel45</cstring>
-                    </property>
-                    <property name="text">
-                        <string>Show result from tick:</string>
-                    </property>
-                </widget>
-                <widget class="QSpinBox">
-                    <property name="name">
-                        <cstring>minTickSpin</cstring>
-                    </property>
-                    <property name="maxValue">
-                        <number>1</number>
-                    </property>
-                    <property name="minValue">
-                        <number>1</number>
-                    </property>
-                </widget>
-                <widget class="QLabel">
-                    <property name="name">
-                        <cstring>TextLabel47</cstring>
-                    </property>
-                    <property name="text">
-                        <string>to:</string>
-                    </property>
-                </widget>
-                <widget class="QSpinBox">
-                    <property name="name">
-                        <cstring>maxTickSpin</cstring>
-                    </property>
-                    <property name="minValue">
-                        <number>1</number>
-                    </property>
-                </widget>
-            </hbox>
         </widget>
-    </grid>
+        <widget class="QCheckBox">
+            <property name="name">
+                <cstring>oneTickCheck</cstring>
+            </property>
+            <property name="text">
+                <string>one tick</string>
+            </property>
+            <property name="toolTip" stdset="0">
+                <string>Check this option if you only want the result from for one tick.</string>
+            </property>
+        </widget>
+    </hbox>
 </widget>
 <connections>
-    <connection language="C++">
-        <sender>minTickSpin</sender>
+    <connection>
+        <sender>maxTickSpin</sender>
         <signal>valueChanged(int)</signal>
         <receiver>CTickViewBase</receiver>
-        <slot>slotMinTick(int)</slot>
+        <slot>slotMaxTick(int)</slot>
     </connection>
-    <connection language="C++">
+    <connection>
         <sender>maxTickSpin</sender>
         <signal>valueChanged(int)</signal>
         <receiver>CTickViewBase</receiver>
-        <slot>slotMaxTick(int)</slot>
+        <slot>slotTickChanged(int)</slot>
+    </connection>
+    <connection>
+        <sender>minTickSpin</sender>
+        <signal>valueChanged(int)</signal>
+        <receiver>CTickViewBase</receiver>
+        <slot>slotTickChanged(int)</slot>
+    </connection>
+    <connection>
+        <sender>minTickSpin</sender>
+        <signal>valueChanged(int)</signal>
+        <receiver>CTickViewBase</receiver>
+        <slot>slotMinTick(int)</slot>
+    </connection>
+    <connection>
+        <sender>oneTickCheck</sender>
+        <signal>toggled(bool)</signal>
+        <receiver>CTickViewBase</receiver>
+        <slot>slotOneTick(bool)</slot>
     </connection>
-    <slot access="public" language="C++" returnType="void">slotMaxTick( int i )</slot>
-    <slot access="public" language="C++" returnType="void">slotMinTick( int i )</slot>
 </connections>
+<includes>
+    <include location="local" impldecl="in implementation">tickviewbase.ui.h</include>
+</includes>
+<slots>
+    <slot access="protected">slotMaxTick( int i )</slot>
+    <slot access="protected">slotMinTick( int i )</slot>
+    <slot access="protected">slotTickChanged( int i )</slot>
+    <slot access="protected">slotOneTick( bool b )</slot>
+</slots>
+<pixmapinproject/>
+<layoutdefaults spacing="3" margin="6"/>
 </UI>