Home | | Ruby | | Ruby Graphical User Interface | | Share This Page |
<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>SampleDialogUI</class> <widget class="QDialog"> <property name="name"> <cstring>SampleDialogUI</cstring> </property> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>425</width> <height>219</height> </rect> </property> <property name="caption"> <string>Sample Dialog</string> </property> <property name="modal"> <bool>true</bool> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> <widget class="QLabel" row="0" column="0" rowspan="1" colspan="4"> <property name="name"> <cstring>textLabel1</cstring> </property> <property name="text"> <string>Hover here to see tooltip text.</string> </property> <property name="alignment"> <set>AlignCenter</set> </property> <property name="toolTip" stdset="0"> <string>This is an example of tooltip text.</string> </property> </widget> <spacer row="1" column="3"> <property name="name"> <cstring>spacer2</cstring> </property> <property name="orientation"> <enum>Horizontal</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>90</width> <height>31</height> </size> </property> </spacer> <spacer row="1" column="0"> <property name="name"> <cstring>spacer1</cstring> </property> <property name="orientation"> <enum>Horizontal</enum> </property> <property name="sizeType"> <enum>Expanding</enum> </property> <property name="sizeHint"> <size> <width>80</width> <height>31</height> </size> </property> </spacer> <widget class="QPushButton" row="1" column="2"> <property name="name"> <cstring>closeButton</cstring> </property> <property name="text"> <string>Close</string> </property> <property name="toolTip" stdset="0"> <string>Close this dialog</string> </property> </widget> <widget class="QPushButton" row="1" column="1"> <property name="name"> <cstring>testButton</cstring> </property> <property name="text"> <string>Test</string> </property> <property name="toolTip" stdset="0"> <string>Test command execution</string> </property> </widget> </grid> </widget> <connections> <connection> <sender>testButton</sender> <signal>clicked()</signal> <receiver>SampleDialogUI</receiver> <slot>testButton_clicked()</slot> </connection> <connection> <sender>closeButton</sender> <signal>clicked()</signal> <receiver>SampleDialogUI</receiver> <slot>closeButton_clicked()</slot> </connection> </connections> <includes> <include location="local" impldecl="in implementation">sampledialog.ui.h</include> </includes> <slots> <slot>testButton_clicked()</slot> <slot>closeButton_clicked()</slot> </slots> <layoutdefaults spacing="6" margin="11"/> </UI>
Home | | Ruby | | Ruby Graphical User Interface | | Share This Page |