mainwindow.ui 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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>800</width>
  10. <height>480</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <widget class="QWidget" name="centralWidget">
  17. <layout class="QGridLayout" name="gridLayout">
  18. <item row="0" column="0">
  19. <widget class="QLineEdit" name="lineEdit"/>
  20. </item>
  21. <item row="0" column="1">
  22. <widget class="QPushButton" name="pushButton">
  23. <property name="text">
  24. <string>PushButton</string>
  25. </property>
  26. </widget>
  27. </item>
  28. <item row="1" column="0" colspan="2">
  29. <widget class="QWebView" name="webView">
  30. <property name="url">
  31. <url>
  32. <string>about:blank</string>
  33. </url>
  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>800</width>
  45. <height>23</height>
  46. </rect>
  47. </property>
  48. <widget class="QMenu" name="menuTest">
  49. <property name="title">
  50. <string>test</string>
  51. </property>
  52. <addaction name="actionTest2"/>
  53. <addaction name="separator"/>
  54. <addaction name="separator"/>
  55. <addaction name="actionTest3"/>
  56. </widget>
  57. <widget class="QMenu" name="menuLol">
  58. <property name="title">
  59. <string>lol</string>
  60. </property>
  61. <addaction name="actionLol1"/>
  62. </widget>
  63. <addaction name="menuTest"/>
  64. <addaction name="menuLol"/>
  65. </widget>
  66. <action name="actionTest2">
  67. <property name="text">
  68. <string>test2</string>
  69. </property>
  70. </action>
  71. <action name="actionTest3">
  72. <property name="text">
  73. <string>test3</string>
  74. </property>
  75. </action>
  76. <action name="actionLol1">
  77. <property name="text">
  78. <string>lol1</string>
  79. </property>
  80. </action>
  81. </widget>
  82. <layoutdefault spacing="6" margin="11"/>
  83. <customwidgets>
  84. <customwidget>
  85. <class>QWebView</class>
  86. <extends>QWidget</extends>
  87. <header>QtWebKit/QWebView</header>
  88. </customwidget>
  89. </customwidgets>
  90. <resources/>
  91. <connections/>
  92. </ui>