mainform.ui 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>MainForm</class>
  4. <widget class="QWidget" name="MainForm">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>664</width>
  10. <height>559</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Form</string>
  15. </property>
  16. <layout class="QGridLayout" name="gridLayout_3">
  17. <item row="0" column="0">
  18. <widget class="QScrollArea" name="scrollArea">
  19. <property name="sizePolicy">
  20. <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
  21. <horstretch>0</horstretch>
  22. <verstretch>0</verstretch>
  23. </sizepolicy>
  24. </property>
  25. <property name="widgetResizable">
  26. <bool>true</bool>
  27. </property>
  28. <widget class="QWidget" name="scrollAreaWidgetContents">
  29. <property name="geometry">
  30. <rect>
  31. <x>0</x>
  32. <y>0</y>
  33. <width>644</width>
  34. <height>539</height>
  35. </rect>
  36. </property>
  37. <layout class="QGridLayout" name="gridLayout_4">
  38. <item row="0" column="0">
  39. <layout class="QGridLayout" name="gridLayout_2">
  40. <item row="0" column="0">
  41. <widget class="QLabel" name="modeLabel">
  42. <property name="text">
  43. <string>设备类型</string>
  44. </property>
  45. </widget>
  46. </item>
  47. <item row="1" column="1">
  48. <widget class="QComboBox" name="deviceBox"/>
  49. </item>
  50. <item row="5" column="0" colspan="2">
  51. <widget class="QTabWidget" name="tabWidget">
  52. <property name="currentIndex">
  53. <number>0</number>
  54. </property>
  55. <widget class="QWidget" name="testFormatTab">
  56. <attribute name="title">
  57. <string>tab1</string>
  58. </attribute>
  59. <layout class="QGridLayout" name="gridLayout"/>
  60. </widget>
  61. <widget class="QWidget" name="tab">
  62. <attribute name="title">
  63. <string>tab2</string>
  64. </attribute>
  65. <layout class="QVBoxLayout" name="verticalLayout_2"/>
  66. </widget>
  67. </widget>
  68. </item>
  69. <item row="1" column="0">
  70. <widget class="QComboBox" name="modeBox">
  71. <item>
  72. <property name="text">
  73. <string>音频输入设备(麦克风)</string>
  74. </property>
  75. </item>
  76. <item>
  77. <property name="text">
  78. <string>音频输出设备(扬声器)</string>
  79. </property>
  80. </item>
  81. <item>
  82. <property name="text">
  83. <string>摄像头</string>
  84. </property>
  85. </item>
  86. </widget>
  87. </item>
  88. <item row="0" column="1">
  89. <widget class="QLabel" name="deviceLabel">
  90. <property name="text">
  91. <string>设备列表</string>
  92. </property>
  93. </widget>
  94. </item>
  95. <item row="2" column="1">
  96. <widget class="QPushButton" name="saveBtn">
  97. <property name="text">
  98. <string>应用</string>
  99. </property>
  100. </widget>
  101. </item>
  102. <item row="2" column="0">
  103. <widget class="QPushButton" name="loadBtn">
  104. <property name="text">
  105. <string>重新获取</string>
  106. </property>
  107. </widget>
  108. </item>
  109. <item row="3" column="0">
  110. <spacer name="verticalSpacer">
  111. <property name="orientation">
  112. <enum>Qt::Vertical</enum>
  113. </property>
  114. <property name="sizeHint" stdset="0">
  115. <size>
  116. <width>20</width>
  117. <height>40</height>
  118. </size>
  119. </property>
  120. </spacer>
  121. </item>
  122. </layout>
  123. </item>
  124. </layout>
  125. </widget>
  126. </widget>
  127. </item>
  128. </layout>
  129. </widget>
  130. <resources/>
  131. <connections/>
  132. </ui>