lobbyroomrequest_moc.ui 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>LobbyRoomRequest</class>
  4. <widget class="QDialog" name="LobbyRoomRequest">
  5. <property name="windowModality">
  6. <enum>Qt::WindowModal</enum>
  7. </property>
  8. <property name="geometry">
  9. <rect>
  10. <x>0</x>
  11. <y>0</y>
  12. <width>193</width>
  13. <height>188</height>
  14. </rect>
  15. </property>
  16. <property name="windowTitle">
  17. <string>Room settings</string>
  18. </property>
  19. <property name="locale">
  20. <locale language="English" country="UnitedStates"/>
  21. </property>
  22. <property name="sizeGripEnabled">
  23. <bool>false</bool>
  24. </property>
  25. <property name="modal">
  26. <bool>true</bool>
  27. </property>
  28. <layout class="QGridLayout" name="gridLayout">
  29. <item row="0" column="0" colspan="2">
  30. <widget class="QLabel" name="label">
  31. <property name="text">
  32. <string>Room name</string>
  33. </property>
  34. </widget>
  35. </item>
  36. <item row="1" column="0" colspan="2">
  37. <widget class="QLineEdit" name="nameEdit"/>
  38. </item>
  39. <item row="2" column="0">
  40. <widget class="QLabel" name="label_2">
  41. <property name="text">
  42. <string>Maximum players</string>
  43. </property>
  44. </widget>
  45. </item>
  46. <item row="2" column="1">
  47. <widget class="QComboBox" name="totalPlayers">
  48. <property name="sizePolicy">
  49. <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
  50. <horstretch>0</horstretch>
  51. <verstretch>0</verstretch>
  52. </sizepolicy>
  53. </property>
  54. <property name="currentText">
  55. <string notr="true">2</string>
  56. </property>
  57. <item>
  58. <property name="text">
  59. <string notr="true">2</string>
  60. </property>
  61. </item>
  62. <item>
  63. <property name="text">
  64. <string notr="true">3</string>
  65. </property>
  66. </item>
  67. <item>
  68. <property name="text">
  69. <string notr="true">4</string>
  70. </property>
  71. </item>
  72. <item>
  73. <property name="text">
  74. <string notr="true">5</string>
  75. </property>
  76. </item>
  77. <item>
  78. <property name="text">
  79. <string notr="true">6</string>
  80. </property>
  81. </item>
  82. <item>
  83. <property name="text">
  84. <string notr="true">7</string>
  85. </property>
  86. </item>
  87. <item>
  88. <property name="text">
  89. <string notr="true">8</string>
  90. </property>
  91. </item>
  92. </widget>
  93. </item>
  94. <item row="3" column="0" colspan="2">
  95. <widget class="QLabel" name="label_3">
  96. <property name="text">
  97. <string>Password (optional)</string>
  98. </property>
  99. </widget>
  100. </item>
  101. <item row="4" column="0" colspan="2">
  102. <widget class="QLineEdit" name="passwordEdit"/>
  103. </item>
  104. <item row="5" column="0" colspan="2">
  105. <widget class="QDialogButtonBox" name="buttonBox">
  106. <property name="orientation">
  107. <enum>Qt::Horizontal</enum>
  108. </property>
  109. <property name="standardButtons">
  110. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  111. </property>
  112. </widget>
  113. </item>
  114. </layout>
  115. </widget>
  116. <resources/>
  117. <connections>
  118. <connection>
  119. <sender>buttonBox</sender>
  120. <signal>rejected()</signal>
  121. <receiver>LobbyRoomRequest</receiver>
  122. <slot>reject()</slot>
  123. <hints>
  124. <hint type="sourcelabel">
  125. <x>316</x>
  126. <y>260</y>
  127. </hint>
  128. <hint type="destinationlabel">
  129. <x>286</x>
  130. <y>274</y>
  131. </hint>
  132. </hints>
  133. </connection>
  134. <connection>
  135. <sender>buttonBox</sender>
  136. <signal>accepted()</signal>
  137. <receiver>LobbyRoomRequest</receiver>
  138. <slot>accept()</slot>
  139. <hints>
  140. <hint type="sourcelabel">
  141. <x>248</x>
  142. <y>254</y>
  143. </hint>
  144. <hint type="destinationlabel">
  145. <x>157</x>
  146. <y>274</y>
  147. </hint>
  148. </hints>
  149. </connection>
  150. </connections>
  151. </ui>