lobbyroomrequest_moc.ui 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. <item>
  55. <property name="text">
  56. <string>2</string>
  57. </property>
  58. </item>
  59. <item>
  60. <property name="text">
  61. <string>3</string>
  62. </property>
  63. </item>
  64. <item>
  65. <property name="text">
  66. <string>4</string>
  67. </property>
  68. </item>
  69. <item>
  70. <property name="text">
  71. <string>5</string>
  72. </property>
  73. </item>
  74. <item>
  75. <property name="text">
  76. <string>6</string>
  77. </property>
  78. </item>
  79. <item>
  80. <property name="text">
  81. <string>7</string>
  82. </property>
  83. </item>
  84. <item>
  85. <property name="text">
  86. <string>8</string>
  87. </property>
  88. </item>
  89. </widget>
  90. </item>
  91. <item row="3" column="0" colspan="2">
  92. <widget class="QLabel" name="label_3">
  93. <property name="text">
  94. <string>Password (optional)</string>
  95. </property>
  96. </widget>
  97. </item>
  98. <item row="4" column="0" colspan="2">
  99. <widget class="QLineEdit" name="passwordEdit"/>
  100. </item>
  101. <item row="5" column="0" colspan="2">
  102. <widget class="QDialogButtonBox" name="buttonBox">
  103. <property name="orientation">
  104. <enum>Qt::Horizontal</enum>
  105. </property>
  106. <property name="standardButtons">
  107. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  108. </property>
  109. </widget>
  110. </item>
  111. </layout>
  112. </widget>
  113. <resources/>
  114. <connections>
  115. <connection>
  116. <sender>buttonBox</sender>
  117. <signal>rejected()</signal>
  118. <receiver>LobbyRoomRequest</receiver>
  119. <slot>reject()</slot>
  120. <hints>
  121. <hint type="sourcelabel">
  122. <x>316</x>
  123. <y>260</y>
  124. </hint>
  125. <hint type="destinationlabel">
  126. <x>286</x>
  127. <y>274</y>
  128. </hint>
  129. </hints>
  130. </connection>
  131. <connection>
  132. <sender>buttonBox</sender>
  133. <signal>accepted()</signal>
  134. <receiver>LobbyRoomRequest</receiver>
  135. <slot>accept()</slot>
  136. <hints>
  137. <hint type="sourcelabel">
  138. <x>248</x>
  139. <y>254</y>
  140. </hint>
  141. <hint type="destinationlabel">
  142. <x>157</x>
  143. <y>274</y>
  144. </hint>
  145. </hints>
  146. </connection>
  147. </connections>
  148. </ui>