1
0

mainwindow.ui 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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>400</width>
  10. <height>300</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>PyQt5-OpenCV Example</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <layout class="QGridLayout" name="gridLayout">
  18. <item row="0" column="0">
  19. <widget class="QLabel" name="video">
  20. <property name="styleSheet">
  21. <string notr="true">background-color: 'black'; color: 'white'</string>
  22. </property>
  23. <property name="frameShape">
  24. <enum>QFrame::NoFrame</enum>
  25. </property>
  26. <property name="frameShadow">
  27. <enum>QFrame::Plain</enum>
  28. </property>
  29. <property name="text">
  30. <string/>
  31. </property>
  32. <property name="alignment">
  33. <set>Qt::AlignCenter</set>
  34. </property>
  35. </widget>
  36. </item>
  37. </layout>
  38. </widget>
  39. <widget class="QMenuBar" name="menubar">
  40. <property name="geometry">
  41. <rect>
  42. <x>0</x>
  43. <y>0</y>
  44. <width>400</width>
  45. <height>20</height>
  46. </rect>
  47. </property>
  48. </widget>
  49. <widget class="QStatusBar" name="statusbar"/>
  50. </widget>
  51. <resources/>
  52. <connections/>
  53. </ui>