Typica is a free program for professional coffee roasters. https://typica.us
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.

dialog.ui 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Dialog</class>
  4. <widget class="QDialog" name="Dialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>604</width>
  10. <height>485</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Dialog</string>
  15. </property>
  16. <layout class="QHBoxLayout" name="horizontalLayout_2">
  17. <item>
  18. <layout class="QVBoxLayout" name="verticalLayout" stretch="3,1">
  19. <item>
  20. <widget class="QPlainTextEdit" name="recvEdit">
  21. <property name="maximumBlockCount">
  22. <number>800</number>
  23. </property>
  24. </widget>
  25. </item>
  26. <item>
  27. <widget class="QPlainTextEdit" name="sendEdit"/>
  28. </item>
  29. </layout>
  30. </item>
  31. <item>
  32. <layout class="QVBoxLayout" name="verticalLayout_2">
  33. <item>
  34. <layout class="QFormLayout" name="formLayout">
  35. <item row="0" column="0">
  36. <widget class="QLabel" name="label">
  37. <property name="text">
  38. <string>Port:</string>
  39. </property>
  40. </widget>
  41. </item>
  42. <item row="0" column="1">
  43. <widget class="QComboBox" name="portBox"/>
  44. </item>
  45. <item row="1" column="0">
  46. <widget class="QLabel" name="label_2">
  47. <property name="text">
  48. <string>BaudRate:</string>
  49. </property>
  50. </widget>
  51. </item>
  52. <item row="1" column="1">
  53. <widget class="QComboBox" name="baudRateBox"/>
  54. </item>
  55. <item row="2" column="0">
  56. <widget class="QLabel" name="label_3">
  57. <property name="text">
  58. <string>DataBits:</string>
  59. </property>
  60. </widget>
  61. </item>
  62. <item row="2" column="1">
  63. <widget class="QComboBox" name="dataBitsBox"/>
  64. </item>
  65. <item row="3" column="0">
  66. <widget class="QLabel" name="label_4">
  67. <property name="text">
  68. <string>Parity:</string>
  69. </property>
  70. </widget>
  71. </item>
  72. <item row="3" column="1">
  73. <widget class="QComboBox" name="parityBox"/>
  74. </item>
  75. <item row="4" column="0">
  76. <widget class="QLabel" name="label_5">
  77. <property name="text">
  78. <string>StopBits:</string>
  79. </property>
  80. </widget>
  81. </item>
  82. <item row="4" column="1">
  83. <widget class="QComboBox" name="stopBitsBox"/>
  84. </item>
  85. <item row="6" column="0">
  86. <widget class="QLabel" name="label_6">
  87. <property name="text">
  88. <string>QueryMode:</string>
  89. </property>
  90. </widget>
  91. </item>
  92. <item row="6" column="1">
  93. <widget class="QComboBox" name="queryModeBox"/>
  94. </item>
  95. <item row="5" column="0">
  96. <widget class="QLabel" name="label_7">
  97. <property name="text">
  98. <string>Timeout:</string>
  99. </property>
  100. </widget>
  101. </item>
  102. <item row="5" column="1">
  103. <widget class="QSpinBox" name="timeoutBox">
  104. <property name="suffix">
  105. <string> ms</string>
  106. </property>
  107. <property name="minimum">
  108. <number>-1</number>
  109. </property>
  110. <property name="maximum">
  111. <number>10000</number>
  112. </property>
  113. <property name="singleStep">
  114. <number>10</number>
  115. </property>
  116. <property name="value">
  117. <number>10</number>
  118. </property>
  119. </widget>
  120. </item>
  121. </layout>
  122. </item>
  123. <item>
  124. <layout class="QHBoxLayout" name="horizontalLayout">
  125. <item>
  126. <widget class="HLed" name="led" native="true">
  127. <property name="sizePolicy">
  128. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  129. <horstretch>0</horstretch>
  130. <verstretch>0</verstretch>
  131. </sizepolicy>
  132. </property>
  133. <property name="minimumSize">
  134. <size>
  135. <width>20</width>
  136. <height>20</height>
  137. </size>
  138. </property>
  139. <property name="maximumSize">
  140. <size>
  141. <width>25</width>
  142. <height>25</height>
  143. </size>
  144. </property>
  145. </widget>
  146. </item>
  147. <item>
  148. <widget class="QPushButton" name="openCloseButton">
  149. <property name="text">
  150. <string>Open/Close</string>
  151. </property>
  152. </widget>
  153. </item>
  154. </layout>
  155. </item>
  156. <item>
  157. <spacer name="verticalSpacer">
  158. <property name="orientation">
  159. <enum>Qt::Vertical</enum>
  160. </property>
  161. <property name="sizeHint" stdset="0">
  162. <size>
  163. <width>20</width>
  164. <height>40</height>
  165. </size>
  166. </property>
  167. </spacer>
  168. </item>
  169. <item>
  170. <widget class="QPushButton" name="sendButton">
  171. <property name="text">
  172. <string>Send</string>
  173. </property>
  174. </widget>
  175. </item>
  176. </layout>
  177. </item>
  178. </layout>
  179. </widget>
  180. <layoutdefault spacing="6" margin="11"/>
  181. <customwidgets>
  182. <customwidget>
  183. <class>HLed</class>
  184. <extends>QWidget</extends>
  185. <header>hled.h</header>
  186. <container>1</container>
  187. </customwidget>
  188. </customwidgets>
  189. <resources/>
  190. <connections/>
  191. </ui>