mainwindow.ui 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="6">
  3. <class>MainWindow</class>
  4. <widget class="QMainWindow" name="MainWindow">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>600</width>
  10. <height>500</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Whisper ASR Client</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <layout class="QVBoxLayout" name="verticalLayout">
  18. <item>
  19. <widget class="QGroupBox" name="connectionGroup">
  20. <property name="title">
  21. <string>Connection</string>
  22. </property>
  23. <layout class="QHBoxLayout" name="horizontalLayout_2">
  24. <item>
  25. <widget class="QLabel" name="labelHost">
  26. <property name="text">
  27. <string>Host:</string>
  28. </property>
  29. </widget>
  30. </item>
  31. <item>
  32. <widget class="QLineEdit" name="lineEditHost">
  33. <property name="text">
  34. <string>localhost</string>
  35. </property>
  36. </widget>
  37. </item>
  38. <item>
  39. <widget class="QLabel" name="labelPort">
  40. <property name="text">
  41. <string>Port:</string>
  42. </property>
  43. </widget>
  44. </item>
  45. <item>
  46. <widget class="QLineEdit" name="lineEditPort">
  47. <property name="text">
  48. <string>8765</string>
  49. </property>
  50. </widget>
  51. </item>
  52. <item>
  53. <widget class="QPushButton" name="btnConnect">
  54. <property name="text">
  55. <string>Connect</string>
  56. </property>
  57. </widget>
  58. </item>
  59. </layout>
  60. </widget>
  61. </item>
  62. <item>
  63. <widget class="QGroupBox" name="statusGroup">
  64. <property name="title">
  65. <string>Status</string>
  66. </property>
  67. <layout class="QHBoxLayout" name="horizontalLayout_3">
  68. <item>
  69. <widget class="QLabel" name="labelStatus">
  70. <property name="text">
  71. <string>Disconnected</string>
  72. </property>
  73. </widget>
  74. </item>
  75. <item>
  76. <spacer name="horizontalSpacer">
  77. <property name="orientation">
  78. <enum>Qt::Horizontal</enum>
  79. </property>
  80. <property name="sizeHint" stdset="0">
  81. <size>
  82. <width>40</width>
  83. <height>20</height>
  84. </size>
  85. </property>
  86. </spacer>
  87. </item>
  88. <item>
  89. <widget class="QLabel" name="labelAudioLevel">
  90. <property name="text">
  91. <string>Audio Level: 0%</string>
  92. </property>
  93. </widget>
  94. </item>
  95. </layout>
  96. </widget>
  97. </item>
  98. <item>
  99. <widget class="QGroupBox" name="transcriptGroup">
  100. <property name="title">
  101. <string>Transcription</string>
  102. </property>
  103. <layout class="QVBoxLayout" name="verticalLayout_2">
  104. <item>
  105. <widget class="QTextEdit" name="textEditTranscript">
  106. <property name="readOnly">
  107. <bool>true</bool>
  108. </property>
  109. </widget>
  110. </item>
  111. </layout>
  112. </widget>
  113. </item>
  114. <item>
  115. <widget class="QPushButton" name="btnStartStop">
  116. <property name="text">
  117. <string>Start Recording</string>
  118. </property>
  119. <property name="enabled">
  120. <bool>false</bool>
  121. </property>
  122. </widget>
  123. </item>
  124. <item>
  125. <widget class="QPushButton" name="btnClear">
  126. <property name="text">
  127. <string>Clear</string>
  128. </property>
  129. </widget>
  130. </item>
  131. </layout>
  132. </widget>
  133. <widget class="QMenuBar" name="menubar">
  134. <property name="geometry">
  135. <rect>
  136. <x>0</x>
  137. <y>0</y>
  138. <width>600</width>
  139. <height>24</height>
  140. </rect>
  141. </property>
  142. <widget class="QMenu" name="menuFile">
  143. <property name="title">
  144. <string>File</string>
  145. </property>
  146. <addaction name="actionExit"/>
  147. </widget>
  148. <widget class="QMenu" name="menuHelp">
  149. <property name="title">
  150. <string>Help</string>
  151. </property>
  152. <addaction name="actionAbout"/>
  153. </widget>
  154. <addaction name="menuFile"/>
  155. <addaction name="menuHelp"/>
  156. </widget>
  157. <widget class="QStatusBar" name="statusbar"/>
  158. <action name="actionExit">
  159. <property name="text">
  160. <string>Exit</string>
  161. </property>
  162. </action>
  163. <action name="actionAbout">
  164. <property name="text">
  165. <string>About</string>
  166. </property>
  167. </action>
  168. </widget>
  169. <resources/>
  170. <connections/>
  171. </ui>