publisherdialog_hor.ui Example Filepublish-subscribe/publisherdialog_hor.ui<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>PublisherDialog</class> <widget class="QDialog" name="PublisherDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>404</width> <height>153</height> </rect> </property> <property name="windowTitle"> <string>Publisher</string> </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>Base path:</string> </property> <property name="buddy"> <cstring>basePath</cstring> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="basePath"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>/example</string> </property> </widget> </item> <item row="0" column="2" colspan="2"> <widget class="QPushButton" name="connectButton"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>Connect</string> </property> </widget> </item> <item row="1" column="0" colspan="4"> <widget class="QWidget" name="setters" native="true"> <layout class="QGridLayout" name="gridLayout"> <property name="margin"> <number>0</number> </property> <item row="0" column="0"> <widget class="QLabel" name="label_2"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>intValue:</string> </property> <property name="buddy"> <cstring>intValue</cstring> </property> </widget> </item> <item row="0" column="1"> <widget class="QSpinBox" name="intValue"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> </item> <item row="0" column="2"> <widget class="QPushButton" name="unsetIntButton"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>Unset</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_3"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>stringValue:</string> </property> <property name="buddy"> <cstring>stringValue</cstring> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="stringValue"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>testString</string> </property> </widget> </item> <item row="1" column="2"> <widget class="QPushButton" name="setStringButton"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>Set</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_4"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>byteArrayValue:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QLineEdit" name="byteArrayValue"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>testByteArray</string> </property> </widget> </item> <item row="2" column="2"> <widget class="QPushButton" name="setByteArrayButton"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>Set</string> </property> </widget> </item> </layout> </widget> </item> <item row="2" column="0" colspan="4"> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>196</height> </size> </property> </spacer> </item> <item row="3" column="2"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Close</set> </property> </widget> </item> </layout> </widget> <tabstops> <tabstop>basePath</tabstop> <tabstop>connectButton</tabstop> <tabstop>intValue</tabstop> <tabstop>unsetIntButton</tabstop> <tabstop>stringValue</tabstop> <tabstop>setStringButton</tabstop> <tabstop>byteArrayValue</tabstop> <tabstop>setByteArrayButton</tabstop> <tabstop>buttonBox</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>PublisherDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>PublisherDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>316</x> <y>260</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> </connections> </ui> X
|