You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

dialogoptions.ui 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>DialogOptions</class>
  4. <widget class="QDialog" name="DialogOptions">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>228</width>
  10. <height>204</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Options</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">QWidget
  18. {
  19. background-color: rgb(0, 0, 0);
  20. color: rgb(255, 255, 255);
  21. }
  22. QPushButton
  23. {
  24. border: 1px solid white;
  25. border-radius: 4px;
  26. height: 20px;
  27. min-width: 50px;
  28. }
  29. QPushButton:hover
  30. {
  31. background-color:rgb(71, 71, 71);
  32. }
  33. QPushButton:pressed
  34. {
  35. background-color:rgb(42, 42, 42);
  36. }
  37. QFrame, QToolTip
  38. {
  39. color: black;
  40. }
  41. QLabel
  42. {
  43. color: white;
  44. }</string>
  45. </property>
  46. <layout class="QVBoxLayout" name="verticalLayout">
  47. <item>
  48. <layout class="QFormLayout" name="formLayout">
  49. <item row="0" column="0">
  50. <widget class="QLabel" name="label">
  51. <property name="text">
  52. <string>Start at boot:</string>
  53. </property>
  54. </widget>
  55. </item>
  56. <item row="0" column="1">
  57. <widget class="QCheckBox" name="checkStartAtBoot">
  58. <property name="text">
  59. <string/>
  60. </property>
  61. </widget>
  62. </item>
  63. <item row="1" column="0">
  64. <widget class="QLabel" name="label_2">
  65. <property name="text">
  66. <string>Default login:</string>
  67. </property>
  68. </widget>
  69. </item>
  70. <item row="2" column="0">
  71. <widget class="QLabel" name="label_3">
  72. <property name="text">
  73. <string>Auto connect at launch:</string>
  74. </property>
  75. </widget>
  76. </item>
  77. <item row="2" column="1">
  78. <widget class="QCheckBox" name="checkAutoConnect">
  79. <property name="text">
  80. <string/>
  81. </property>
  82. </widget>
  83. </item>
  84. <item row="1" column="1">
  85. <widget class="QComboBox" name="lineDefaultLogin">
  86. <property name="styleSheet">
  87. <string notr="true">QWidget
  88. {
  89. border: 1px solid white;
  90. border-radius: 1px;
  91. }
  92. QFrame, QToolTip
  93. {
  94. color: white;
  95. }</string>
  96. </property>
  97. <property name="editable">
  98. <bool>true</bool>
  99. </property>
  100. </widget>
  101. </item>
  102. <item row="3" column="0">
  103. <widget class="QLabel" name="label_4">
  104. <property name="text">
  105. <string>Auto reconnect interval:</string>
  106. </property>
  107. </widget>
  108. </item>
  109. <item row="3" column="1">
  110. <widget class="QSpinBox" name="spinAutoreconnectInterval">
  111. <property name="maximumSize">
  112. <size>
  113. <width>16777215</width>
  114. <height>16777215</height>
  115. </size>
  116. </property>
  117. <property name="suffix">
  118. <string> ms</string>
  119. </property>
  120. <property name="maximum">
  121. <number>16777215</number>
  122. </property>
  123. <property name="value">
  124. <number>1000</number>
  125. </property>
  126. </widget>
  127. </item>
  128. </layout>
  129. </item>
  130. <item>
  131. <widget class="QDialogButtonBox" name="buttonBox">
  132. <property name="orientation">
  133. <enum>Qt::Horizontal</enum>
  134. </property>
  135. <property name="standardButtons">
  136. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  137. </property>
  138. </widget>
  139. </item>
  140. </layout>
  141. </widget>
  142. <tabstops>
  143. <tabstop>checkStartAtBoot</tabstop>
  144. <tabstop>checkAutoConnect</tabstop>
  145. <tabstop>buttonBox</tabstop>
  146. </tabstops>
  147. <resources/>
  148. <connections>
  149. <connection>
  150. <sender>buttonBox</sender>
  151. <signal>accepted()</signal>
  152. <receiver>DialogOptions</receiver>
  153. <slot>accept()</slot>
  154. <hints>
  155. <hint type="sourcelabel">
  156. <x>248</x>
  157. <y>254</y>
  158. </hint>
  159. <hint type="destinationlabel">
  160. <x>157</x>
  161. <y>274</y>
  162. </hint>
  163. </hints>
  164. </connection>
  165. <connection>
  166. <sender>buttonBox</sender>
  167. <signal>rejected()</signal>
  168. <receiver>DialogOptions</receiver>
  169. <slot>reject()</slot>
  170. <hints>
  171. <hint type="sourcelabel">
  172. <x>316</x>
  173. <y>260</y>
  174. </hint>
  175. <hint type="destinationlabel">
  176. <x>286</x>
  177. <y>274</y>
  178. </hint>
  179. </hints>
  180. </connection>
  181. </connections>
  182. </ui>