107 lines
2.3 KiB
XML
107 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>NicknameDialog</class>
|
|
<widget class="QDialog" name="NicknameDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>366</width>
|
|
<height>151</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Login</string>
|
|
</property>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>99</y>
|
|
<width>311</width>
|
|
<height>32</height>
|
|
</rect>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="nicknameEdit">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>27</x>
|
|
<y>60</y>
|
|
<width>311</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="placeholderText">
|
|
<string>Type nickname here...</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>44</x>
|
|
<y>23</y>
|
|
<width>271</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>15</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>What's your nickname?</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>NicknameDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>298</x>
|
|
<y>97</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>298</x>
|
|
<y>108</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>NicknameDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>210</x>
|
|
<y>125</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>202</x>
|
|
<y>84</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>checkAccept()</slot>
|
|
<slot>checkAcc()</slot>
|
|
</slots>
|
|
</ui>
|