mainwindow.ui 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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>640</width>
  10. <height>450</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Qt Application Using OpenCV</string>
  15. </property>
  16. <widget class="QWidget" name="centralWidget">
  17. <widget class="CamViewer" name="camViewer" native="true">
  18. <property name="geometry">
  19. <rect>
  20. <x>20</x>
  21. <y>10</y>
  22. <width>600</width>
  23. <height>360</height>
  24. </rect>
  25. </property>
  26. <property name="focusPolicy">
  27. <enum>Qt::NoFocus</enum>
  28. </property>
  29. </widget>
  30. <widget class="QPushButton" name="pushButton">
  31. <property name="geometry">
  32. <rect>
  33. <x>300</x>
  34. <y>380</y>
  35. <width>90</width>
  36. <height>32</height>
  37. </rect>
  38. </property>
  39. <property name="text">
  40. <string>Start</string>
  41. </property>
  42. </widget>
  43. <zorder>pushButton</zorder>
  44. <zorder>camViewer</zorder>
  45. </widget>
  46. <widget class="QMenuBar" name="menuBar">
  47. <property name="geometry">
  48. <rect>
  49. <x>0</x>
  50. <y>0</y>
  51. <width>640</width>
  52. <height>22</height>
  53. </rect>
  54. </property>
  55. </widget>
  56. <widget class="QToolBar" name="mainToolBar">
  57. <attribute name="toolBarArea">
  58. <enum>TopToolBarArea</enum>
  59. </attribute>
  60. <attribute name="toolBarBreak">
  61. <bool>false</bool>
  62. </attribute>
  63. </widget>
  64. <widget class="QStatusBar" name="statusBar"/>
  65. </widget>
  66. <layoutdefault spacing="6" margin="11"/>
  67. <customwidgets>
  68. <customwidget>
  69. <class>CamViewer</class>
  70. <extends>QWidget</extends>
  71. <header>camviewer.h</header>
  72. </customwidget>
  73. </customwidgets>
  74. <resources/>
  75. <connections/>
  76. </ui>