]> rtime.felk.cvut.cz Git - orte.git/blobdiff - orte/contrib/shape/FPublisher.ui
orte 0.3.2 release
[orte.git] / orte / contrib / shape / FPublisher.ui
index fe38ec163700364d3b4fe9327ffe65f37e76b61b..628e5664bb639f0f9518f710b80cabbe6be912ea 100644 (file)
-<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
-<class>FPublisher</class>
-<widget class="QWidget">
-    <property name="name">
-        <cstring>FPublisher</cstring>
-    </property>
-    <property name="geometry">
-        <rect>
-            <x>0</x>
-            <y>0</y>
-            <width>389</width>
-            <height>256</height>
-        </rect>
-    </property>
-    <property name="caption">
-        <string>Publisher</string>
-    </property>
-    <vbox>
-        <property name="name">
-            <cstring>unnamed</cstring>
+<ui version="4.0" >
+ <class>FPublisher</class>
+ <widget class="QWidget" name="FPublisher" >
+  <property name="geometry" >
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>389</width>
+    <height>256</height>
+   </rect>
+  </property>
+  <property name="windowTitle" >
+   <string>Publisher</string>
+  </property>
+  <layout class="QVBoxLayout" >
+   <item>
+    <widget class="MyQFrame" native="1" name="view" />
+   </item>
+   <item>
+    <layout class="QHBoxLayout" >
+     <item>
+      <widget class="QSplitter" name="splitter2" >
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <widget class="QLabel" name="strengt" >
+        <property name="text" >
+         <string>Strength:</string>
         </property>
-        <widget class="MyQFrame">
-            <property name="name">
-                <cstring>view</cstring>
-            </property>
-            <property name="paletteBackgroundColor">
-                <color>
-                    <red>255</red>
-                    <green>255</green>
-                    <blue>255</blue>
-                </color>
-            </property>
-        </widget>
-        <widget class="QLayoutWidget">
-            <property name="name">
-                <cstring>layout33</cstring>
-            </property>
-            <hbox>
-                <property name="name">
-                    <cstring>unnamed</cstring>
-                </property>
-                <widget class="QSplitter">
-                    <property name="name">
-                        <cstring>splitter2</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Horizontal</enum>
-                    </property>
-                    <widget class="QLabel">
-                        <property name="name">
-                            <cstring>strengt</cstring>
-                        </property>
-                        <property name="text">
-                            <string>Strength:</string>
-                        </property>
-                    </widget>
-                    <spacer>
-                        <property name="name">
-                            <cstring>spacer3</cstring>
-                        </property>
-                        <property name="orientation">
-                            <enum>Horizontal</enum>
-                        </property>
-                        <property name="sizeType">
-                            <enum>Expanding</enum>
-                        </property>
-                        <property name="sizeHint">
-                            <size>
-                                <width>46</width>
-                                <height>20</height>
-                            </size>
-                        </property>
-                    </spacer>
-                </widget>
-                <widget class="QSlider">
-                    <property name="name">
-                        <cstring>slider</cstring>
-                    </property>
-                    <property name="minValue">
-                        <number>1</number>
-                    </property>
-                    <property name="maxValue">
-                        <number>5</number>
-                    </property>
-                    <property name="pageStep">
-                        <number>1</number>
-                    </property>
-                    <property name="orientation">
-                        <enum>Horizontal</enum>
-                    </property>
-                    <property name="tickmarks">
-                        <enum>NoMarks</enum>
-                    </property>
-                    <property name="tickInterval">
-                        <number>1</number>
-                    </property>
-                </widget>
-                <spacer>
-                    <property name="name">
-                        <cstring>spacer4</cstring>
-                    </property>
-                    <property name="orientation">
-                        <enum>Horizontal</enum>
-                    </property>
-                    <property name="sizeType">
-                        <enum>Expanding</enum>
-                    </property>
-                    <property name="sizeHint">
-                        <size>
-                            <width>122</width>
-                            <height>20</height>
-                        </size>
-                    </property>
-                </spacer>
-            </hbox>
-        </widget>
-    </vbox>
-</widget>
-<customwidgets>
-    <customwidget>
-        <class>MyQFrame</class>
-        <header location="global">MyQFrame.h</header>
-        <sizehint>
-            <width>-1</width>
-            <height>-1</height>
-        </sizehint>
-        <container>0</container>
-        <sizepolicy>
-            <hordata>5</hordata>
-            <verdata>5</verdata>
-            <horstretch>0</horstretch>
-            <verstretch>0</verstretch>
-        </sizepolicy>
-        <pixmap>image0</pixmap>
-    </customwidget>
-</customwidgets>
-<images>
-    <image name="image0">
-        <data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data>
-    </image>
-</images>
-<connections>
-    <connection>
-        <sender>slider</sender>
-        <signal>valueChanged(int)</signal>
-        <receiver>FPublisher</receiver>
-        <slot>strengthChanged()</slot>
-    </connection>
-</connections>
-<includes>
-    <include location="global" impldecl="in declaration">orte.h</include>
-    <include location="local" impldecl="in declaration">BoxType.h</include>
-    <include location="local" impldecl="in implementation">FPublisher.ui.h</include>
-</includes>
-<variables>
-    <variable>int strength;</variable>
-    <variable>ORTEPublication *publisher;</variable>
-    <variable>ORTEDomain *domain;</variable>
-    <variable access="public">QTimer *timer;</variable>
-    <variable>int color;</variable>
-    <variable>int stepx;</variable>
-    <variable>int stepy;</variable>
-    <variable>int incx;</variable>
-    <variable>int incy;</variable>
-    <variable>int shape;</variable>
-    <variable>BoxType boxType;</variable>
-    <variable>QRect rect;</variable>
-</variables>
-<slots>
-    <slot access="protected">init()</slot>
-    <slot access="protected">closeEvent( QCloseEvent * e )</slot>
-    <slot>destroy()</slot>
-    <slot access="protected">Timer()</slot>
-    <slot access="protected">strengthChanged()</slot>
-</slots>
-<functions>
-    <function>initPublisher( int icolor, int istrength )</function>
-</functions>
-<pixmapinproject/>
-<layoutdefaults spacing="6" margin="11"/>
-<includehints>
-    <includehint>myqframe.h</includehint>
-</includehints>
-</UI>
+        <property name="wordWrap" >
+         <bool>false</bool>
+        </property>
+       </widget>
+      </widget>
+     </item>
+     <item>
+      <widget class="QSlider" name="slider" >
+       <property name="minimum" >
+        <number>1</number>
+       </property>
+       <property name="maximum" >
+        <number>5</number>
+       </property>
+       <property name="pageStep" >
+        <number>1</number>
+       </property>
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="tickInterval" >
+        <number>1</number>
+       </property>
+      </widget>
+     </item>
+     <item>
+      <spacer>
+       <property name="orientation" >
+        <enum>Qt::Horizontal</enum>
+       </property>
+       <property name="sizeType" >
+        <enum>QSizePolicy::Expanding</enum>
+       </property>
+       <property name="sizeHint" >
+        <size>
+         <width>122</width>
+         <height>20</height>
+        </size>
+       </property>
+      </spacer>
+     </item>
+    </layout>
+   </item>
+  </layout>
+ </widget>
+ <layoutdefault spacing="6" margin="11" />
+ <customwidgets>
+  <customwidget>
+   <class>MyQFrame</class>
+   <extends>QWidget</extends>
+   <header location="global" >MyQFrame.h</header>
+  </customwidget>
+ </customwidgets>
+ <includes>
+  <include location="global" >orte.h</include>
+  <include location="local" >BoxType.h</include>
+  <include location="local" >MyQFrame.h</include>
+ </includes>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>slider</sender>
+   <signal>valueChanged(int)</signal>
+   <receiver>FPublisher</receiver>
+   <slot>strengthChanged()</slot>
+   <hints>
+    <hint type="sourcelabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+    <hint type="destinationlabel" >
+     <x>20</x>
+     <y>20</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
+</ui>