qnetdice

diff ui/server.ui @ 1:92377189a5c6

moving along
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 22 Dec 2013 04:08:50 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ui/server.ui	Sun Dec 22 04:08:50 2013 +0200
     1.3 @@ -0,0 +1,132 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +<ui version="4.0">
     1.6 + <class>ServerDialog</class>
     1.7 + <widget class="QDialog" name="ServerDialog">
     1.8 +  <property name="geometry">
     1.9 +   <rect>
    1.10 +    <x>0</x>
    1.11 +    <y>0</y>
    1.12 +    <width>378</width>
    1.13 +    <height>233</height>
    1.14 +   </rect>
    1.15 +  </property>
    1.16 +  <property name="windowTitle">
    1.17 +   <string>Start server</string>
    1.18 +  </property>
    1.19 +  <layout class="QVBoxLayout" name="verticalLayout">
    1.20 +   <item>
    1.21 +    <layout class="QFormLayout" name="formLayout">
    1.22 +     <item row="0" column="0">
    1.23 +      <widget class="QLabel" name="label_2">
    1.24 +       <property name="text">
    1.25 +        <string>Port</string>
    1.26 +       </property>
    1.27 +       <property name="alignment">
    1.28 +        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
    1.29 +       </property>
    1.30 +      </widget>
    1.31 +     </item>
    1.32 +     <item row="0" column="1">
    1.33 +      <widget class="QLineEdit" name="tx_port"/>
    1.34 +     </item>
    1.35 +     <item row="1" column="0">
    1.36 +      <widget class="QLabel" name="label">
    1.37 +       <property name="text">
    1.38 +        <string>Password</string>
    1.39 +       </property>
    1.40 +       <property name="alignment">
    1.41 +        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
    1.42 +       </property>
    1.43 +      </widget>
    1.44 +     </item>
    1.45 +     <item row="1" column="1">
    1.46 +      <widget class="QLineEdit" name="tx_passwd">
    1.47 +       <property name="echoMode">
    1.48 +        <enum>QLineEdit::PasswordEchoOnEdit</enum>
    1.49 +       </property>
    1.50 +      </widget>
    1.51 +     </item>
    1.52 +    </layout>
    1.53 +   </item>
    1.54 +   <item>
    1.55 +    <spacer name="verticalSpacer">
    1.56 +     <property name="orientation">
    1.57 +      <enum>Qt::Vertical</enum>
    1.58 +     </property>
    1.59 +     <property name="sizeHint" stdset="0">
    1.60 +      <size>
    1.61 +       <width>20</width>
    1.62 +       <height>113</height>
    1.63 +      </size>
    1.64 +     </property>
    1.65 +    </spacer>
    1.66 +   </item>
    1.67 +   <item>
    1.68 +    <layout class="QHBoxLayout" name="horizontalLayout">
    1.69 +     <item>
    1.70 +      <widget class="QPushButton" name="pushButton_2">
    1.71 +       <property name="text">
    1.72 +        <string>&amp;Cancel</string>
    1.73 +       </property>
    1.74 +      </widget>
    1.75 +     </item>
    1.76 +     <item>
    1.77 +      <spacer name="horizontalSpacer">
    1.78 +       <property name="orientation">
    1.79 +        <enum>Qt::Horizontal</enum>
    1.80 +       </property>
    1.81 +       <property name="sizeHint" stdset="0">
    1.82 +        <size>
    1.83 +         <width>40</width>
    1.84 +         <height>20</height>
    1.85 +        </size>
    1.86 +       </property>
    1.87 +      </spacer>
    1.88 +     </item>
    1.89 +     <item>
    1.90 +      <widget class="QPushButton" name="pushButton">
    1.91 +       <property name="text">
    1.92 +        <string>&amp;Start Server</string>
    1.93 +       </property>
    1.94 +      </widget>
    1.95 +     </item>
    1.96 +    </layout>
    1.97 +   </item>
    1.98 +  </layout>
    1.99 + </widget>
   1.100 + <resources/>
   1.101 + <connections>
   1.102 +  <connection>
   1.103 +   <sender>pushButton</sender>
   1.104 +   <signal>clicked()</signal>
   1.105 +   <receiver>ServerDialog</receiver>
   1.106 +   <slot>accept()</slot>
   1.107 +   <hints>
   1.108 +    <hint type="sourcelabel">
   1.109 +     <x>315</x>
   1.110 +     <y>207</y>
   1.111 +    </hint>
   1.112 +    <hint type="destinationlabel">
   1.113 +     <x>276</x>
   1.114 +     <y>139</y>
   1.115 +    </hint>
   1.116 +   </hints>
   1.117 +  </connection>
   1.118 +  <connection>
   1.119 +   <sender>pushButton_2</sender>
   1.120 +   <signal>clicked()</signal>
   1.121 +   <receiver>ServerDialog</receiver>
   1.122 +   <slot>reject()</slot>
   1.123 +   <hints>
   1.124 +    <hint type="sourcelabel">
   1.125 +     <x>70</x>
   1.126 +     <y>204</y>
   1.127 +    </hint>
   1.128 +    <hint type="destinationlabel">
   1.129 +     <x>23</x>
   1.130 +     <y>137</y>
   1.131 +    </hint>
   1.132 +   </hints>
   1.133 +  </connection>
   1.134 + </connections>
   1.135 +</ui>