main.ui 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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>393</width>
  10. <height>606</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>MainWindow</string>
  15. </property>
  16. <widget class="QWidget" name="centralwidget">
  17. <layout class="QHBoxLayout" name="horizontalLayout">
  18. <item>
  19. <widget class="QGroupBox" name="groupBox">
  20. <property name="title">
  21. <string>Click things</string>
  22. </property>
  23. <layout class="QVBoxLayout" name="verticalLayout">
  24. <item>
  25. <widget class="QRadioButton" name="radio_1">
  26. <property name="text">
  27. <string>Thing 1</string>
  28. </property>
  29. </widget>
  30. </item>
  31. <item>
  32. <widget class="QRadioButton" name="radio_2">
  33. <property name="text">
  34. <string>Thing 2</string>
  35. </property>
  36. </widget>
  37. </item>
  38. <item>
  39. <widget class="QRadioButton" name="radio_3">
  40. <property name="text">
  41. <string>Thing 3</string>
  42. </property>
  43. </widget>
  44. </item>
  45. <item>
  46. <widget class="QRadioButton" name="radio_4">
  47. <property name="text">
  48. <string>Last thing</string>
  49. </property>
  50. </widget>
  51. </item>
  52. <item>
  53. <widget class="QPushButton" name="add_button">
  54. <property name="text">
  55. <string>Add to list</string>
  56. </property>
  57. </widget>
  58. </item>
  59. <item>
  60. <spacer name="verticalSpacer">
  61. <property name="orientation">
  62. <enum>Qt::Vertical</enum>
  63. </property>
  64. <property name="sizeHint" stdset="0">
  65. <size>
  66. <width>20</width>
  67. <height>40</height>
  68. </size>
  69. </property>
  70. </spacer>
  71. </item>
  72. </layout>
  73. </widget>
  74. </item>
  75. <item>
  76. <widget class="QListWidget" name="listWidget"/>
  77. </item>
  78. </layout>
  79. </widget>
  80. <widget class="QMenuBar" name="menubar">
  81. <property name="geometry">
  82. <rect>
  83. <x>0</x>
  84. <y>0</y>
  85. <width>393</width>
  86. <height>24</height>
  87. </rect>
  88. </property>
  89. <widget class="QMenu" name="menuFile">
  90. <property name="title">
  91. <string>File</string>
  92. </property>
  93. <addaction name="actionNew"/>
  94. <addaction name="actionOpen"/>
  95. <addaction name="actionSave"/>
  96. </widget>
  97. <addaction name="menuFile"/>
  98. </widget>
  99. <widget class="QStatusBar" name="statusbar"/>
  100. <action name="actionNew">
  101. <property name="text">
  102. <string>New</string>
  103. </property>
  104. </action>
  105. <action name="actionOpen">
  106. <property name="text">
  107. <string>Open</string>
  108. </property>
  109. </action>
  110. <action name="actionSave">
  111. <property name="text">
  112. <string>Save</string>
  113. </property>
  114. </action>
  115. </widget>
  116. <resources/>
  117. <connections/>
  118. </ui>