459 lines
12 KiB
Plaintext
459 lines
12 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>MainWindow</class>
|
||
|
<widget class="QMainWindow" name="MainWindow">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>698</width>
|
||
|
<height>589</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>MainWindow</string>
|
||
|
</property>
|
||
|
<property name="styleSheet">
|
||
|
<string notr="true">* {
|
||
|
background: yellow;
|
||
|
padding: 2px;
|
||
|
border-radius: 4px;
|
||
|
}
|
||
|
|
||
|
QGroupBox {
|
||
|
border: 1px solid gray;
|
||
|
}
|
||
|
|
||
|
QAbstractButton {
|
||
|
background: cyan;
|
||
|
}
|
||
|
|
||
|
QFrame, QMenuBar {
|
||
|
background: magenta;
|
||
|
}
|
||
|
|
||
|
QLineEdit, QSpinBox {
|
||
|
background: white;
|
||
|
}
|
||
|
|
||
|
#gb1 * {
|
||
|
}
|
||
|
|
||
|
#gb2 * {
|
||
|
border: 1px solid blue;
|
||
|
}
|
||
|
|
||
|
#gb3 * {
|
||
|
border: 0px solid blue;
|
||
|
}
|
||
|
|
||
|
#gb4 * {
|
||
|
border-image: url("images/pushbutton.png") 6 6 6 6;
|
||
|
border-width:6px;
|
||
|
}
|
||
|
</string>
|
||
|
</property>
|
||
|
<widget class="QWidget" name="centralwidget">
|
||
|
<layout class="QGridLayout" name="gridLayout_4">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QGroupBox" name="gb1">
|
||
|
<property name="title">
|
||
|
<string>No border</string>
|
||
|
</property>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
|
<item>
|
||
|
<widget class="QFrame" name="frame">
|
||
|
<property name="frameShape">
|
||
|
<enum>QFrame::StyledPanel</enum>
|
||
|
</property>
|
||
|
<property name="frameShadow">
|
||
|
<enum>QFrame::Raised</enum>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="pushButton_4">
|
||
|
<property name="text">
|
||
|
<string>PushButton</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QSpinBox" name="spinBox_2"/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QRadioButton" name="radioButton_6">
|
||
|
<property name="text">
|
||
|
<string>RadioButton</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QCheckBox" name="checkBox_4">
|
||
|
<property name="text">
|
||
|
<string>CheckBox</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLineEdit" name="lineEdit">
|
||
|
<property name="text">
|
||
|
<string>LineEdit</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QComboBox" name="comboBox">
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>ComboBox</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QListWidget" name="listWidget_2">
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QGroupBox" name="gb3">
|
||
|
<property name="title">
|
||
|
<string>0px border</string>
|
||
|
</property>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
|
<item>
|
||
|
<widget class="QFrame" name="frame_2">
|
||
|
<property name="frameShape">
|
||
|
<enum>QFrame::StyledPanel</enum>
|
||
|
</property>
|
||
|
<property name="frameShadow">
|
||
|
<enum>QFrame::Raised</enum>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="pushButton_5">
|
||
|
<property name="text">
|
||
|
<string>PushButton</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QSpinBox" name="spinBox_3"/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QRadioButton" name="radioButton_7">
|
||
|
<property name="text">
|
||
|
<string>RadioButton</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QCheckBox" name="checkBox_5">
|
||
|
<property name="text">
|
||
|
<string>CheckBox</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLineEdit" name="lineEdit_2">
|
||
|
<property name="text">
|
||
|
<string>LineEdit</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QComboBox" name="comboBox_2">
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>ComboBox</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QListWidget" name="listWidget_3">
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="1" column="1">
|
||
|
<widget class="QGroupBox" name="gb4">
|
||
|
<property name="title">
|
||
|
<string>border-image</string>
|
||
|
</property>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||
|
<item>
|
||
|
<widget class="QFrame" name="frame_4">
|
||
|
<property name="frameShape">
|
||
|
<enum>QFrame::StyledPanel</enum>
|
||
|
</property>
|
||
|
<property name="frameShadow">
|
||
|
<enum>QFrame::Raised</enum>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="pushButton_7">
|
||
|
<property name="text">
|
||
|
<string>PushButton</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QSpinBox" name="spinBox_5"/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QRadioButton" name="radioButton_9">
|
||
|
<property name="text">
|
||
|
<string>RadioButton</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QCheckBox" name="checkBox_7">
|
||
|
<property name="text">
|
||
|
<string>CheckBox</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLineEdit" name="lineEdit_4">
|
||
|
<property name="text">
|
||
|
<string>LineEdit</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QComboBox" name="comboBox_4">
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>ComboBox</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QListWidget" name="listWidget_5">
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="1">
|
||
|
<widget class="QGroupBox" name="gb2">
|
||
|
<property name="title">
|
||
|
<string>1px border</string>
|
||
|
</property>
|
||
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||
|
<item>
|
||
|
<widget class="QFrame" name="frame_3">
|
||
|
<property name="frameShape">
|
||
|
<enum>QFrame::StyledPanel</enum>
|
||
|
</property>
|
||
|
<property name="frameShadow">
|
||
|
<enum>QFrame::Raised</enum>
|
||
|
</property>
|
||
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||
|
<item>
|
||
|
<widget class="QPushButton" name="pushButton_6">
|
||
|
<property name="text">
|
||
|
<string>PushButton</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QSpinBox" name="spinBox_4"/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QRadioButton" name="radioButton_8">
|
||
|
<property name="text">
|
||
|
<string>RadioButton</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QCheckBox" name="checkBox_6">
|
||
|
<property name="text">
|
||
|
<string>CheckBox</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QLineEdit" name="lineEdit_3">
|
||
|
<property name="text">
|
||
|
<string>LineEdit</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QComboBox" name="comboBox_3">
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>ComboBox</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item>
|
||
|
<widget class="QListWidget" name="listWidget_4">
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
<item>
|
||
|
<property name="text">
|
||
|
<string>New Item</string>
|
||
|
</property>
|
||
|
</item>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<widget class="QMenuBar" name="menubar">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>698</width>
|
||
|
<height>24</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<widget class="QMenu" name="menuFile">
|
||
|
<property name="title">
|
||
|
<string>File</string>
|
||
|
</property>
|
||
|
<addaction name="actionOpen"/>
|
||
|
<addaction name="actionClose"/>
|
||
|
</widget>
|
||
|
<widget class="QMenu" name="menuEdit">
|
||
|
<property name="title">
|
||
|
<string>Edit</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
<addaction name="menuFile"/>
|
||
|
<addaction name="menuEdit"/>
|
||
|
</widget>
|
||
|
<widget class="QStatusBar" name="statusbar"/>
|
||
|
<action name="actionOpen">
|
||
|
<property name="text">
|
||
|
<string>Open</string>
|
||
|
</property>
|
||
|
</action>
|
||
|
<action name="actionClose">
|
||
|
<property name="text">
|
||
|
<string>Close</string>
|
||
|
</property>
|
||
|
</action>
|
||
|
</widget>
|
||
|
<resources/>
|
||
|
<connections/>
|
||
|
</ui>
|