mainwindow.ui 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  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>918</width>
  10. <height>741</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="minimumSize">
  20. <size>
  21. <width>918</width>
  22. <height>741</height>
  23. </size>
  24. </property>
  25. <property name="maximumSize">
  26. <size>
  27. <width>918</width>
  28. <height>741</height>
  29. </size>
  30. </property>
  31. <property name="windowTitle">
  32. <string>MainWindow</string>
  33. </property>
  34. <widget class="QWidget" name="centralWidget">
  35. <layout class="QGridLayout" name="gridLayout">
  36. <item row="1" column="0">
  37. <widget class="QPushButton" name="pushButton_2">
  38. <property name="text">
  39. <string>Start Stream</string>
  40. </property>
  41. </widget>
  42. </item>
  43. <item row="2" column="0" colspan="4">
  44. <widget class="QGraphicsView" name="graphicsView">
  45. <property name="verticalScrollBarPolicy">
  46. <enum>Qt::ScrollBarAlwaysOff</enum>
  47. </property>
  48. <property name="horizontalScrollBarPolicy">
  49. <enum>Qt::ScrollBarAlwaysOff</enum>
  50. </property>
  51. </widget>
  52. </item>
  53. <item row="0" column="1">
  54. <widget class="QPushButton" name="pushButton_4">
  55. <property name="text">
  56. <string>Save Image</string>
  57. </property>
  58. </widget>
  59. </item>
  60. <item row="1" column="3">
  61. <spacer name="horizontalSpacer">
  62. <property name="orientation">
  63. <enum>Qt::Horizontal</enum>
  64. </property>
  65. <property name="sizeHint" stdset="0">
  66. <size>
  67. <width>40</width>
  68. <height>20</height>
  69. </size>
  70. </property>
  71. </spacer>
  72. </item>
  73. <item row="1" column="1">
  74. <widget class="QPushButton" name="pushButton_3">
  75. <property name="text">
  76. <string>Stop Stream</string>
  77. </property>
  78. </widget>
  79. </item>
  80. <item row="0" column="0">
  81. <widget class="QPushButton" name="pushButton">
  82. <property name="text">
  83. <string>Grab Image</string>
  84. </property>
  85. </widget>
  86. </item>
  87. <item row="0" column="3">
  88. <widget class="QCheckBox" name="checkZoom">
  89. <property name="text">
  90. <string>Zoom</string>
  91. </property>
  92. </widget>
  93. </item>
  94. </layout>
  95. </widget>
  96. <widget class="QMenuBar" name="menuBar">
  97. <property name="geometry">
  98. <rect>
  99. <x>0</x>
  100. <y>0</y>
  101. <width>918</width>
  102. <height>22</height>
  103. </rect>
  104. </property>
  105. </widget>
  106. <widget class="QToolBar" name="mainToolBar">
  107. <attribute name="toolBarArea">
  108. <enum>TopToolBarArea</enum>
  109. </attribute>
  110. <attribute name="toolBarBreak">
  111. <bool>false</bool>
  112. </attribute>
  113. </widget>
  114. <widget class="QStatusBar" name="statusBar"/>
  115. </widget>
  116. <layoutdefault spacing="6" margin="11"/>
  117. <resources/>
  118. <connections/>
  119. </ui>