92 lines
2.2 KiB
Plaintext
92 lines
2.2 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<ui version="4.0">
|
||
|
<class>Form</class>
|
||
|
<widget class="QWidget" name="Form">
|
||
|
<property name="geometry">
|
||
|
<rect>
|
||
|
<x>0</x>
|
||
|
<y>0</y>
|
||
|
<width>322</width>
|
||
|
<height>203</height>
|
||
|
</rect>
|
||
|
</property>
|
||
|
<property name="windowTitle">
|
||
|
<string>Form</string>
|
||
|
</property>
|
||
|
<property name="styleSheet">
|
||
|
<string notr="true"> QPushButton#evilButton {
|
||
|
background-color: red;
|
||
|
border-style: outset;
|
||
|
border-width: 2px;
|
||
|
border-radius: 10px;
|
||
|
border-color: beige;
|
||
|
font: bold 14px;
|
||
|
min-width: 10em;
|
||
|
padding: 6px;
|
||
|
}
|
||
|
QPushButton#evilButton:pressed {
|
||
|
background-color: rgb(224, 0, 0);
|
||
|
border-style: inset;
|
||
|
}
|
||
|
|
||
|
QLineEdit { color: red }
|
||
|
QLineEdit[readOnly="true"] { color: gray }
|
||
|
</string>
|
||
|
</property>
|
||
|
<layout class="QGridLayout" name="gridLayout">
|
||
|
<item row="0" column="0">
|
||
|
<widget class="QPushButton" name="evilButton">
|
||
|
<property name="text">
|
||
|
<string>Format C:</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="0" column="2">
|
||
|
<spacer name="horizontalSpacer">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Horizontal</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>95</width>
|
||
|
<height>20</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
<item row="1" column="0">
|
||
|
<widget class="QLineEdit" name="lineEdit">
|
||
|
<property name="text">
|
||
|
<string>Foo</string>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="2" column="0">
|
||
|
<widget class="QLineEdit" name="lineEdit_2">
|
||
|
<property name="text">
|
||
|
<string>ReadOnly</string>
|
||
|
</property>
|
||
|
<property name="readOnly">
|
||
|
<bool>true</bool>
|
||
|
</property>
|
||
|
</widget>
|
||
|
</item>
|
||
|
<item row="3" column="1">
|
||
|
<spacer name="verticalSpacer">
|
||
|
<property name="orientation">
|
||
|
<enum>Qt::Vertical</enum>
|
||
|
</property>
|
||
|
<property name="sizeHint" stdset="0">
|
||
|
<size>
|
||
|
<width>20</width>
|
||
|
<height>102</height>
|
||
|
</size>
|
||
|
</property>
|
||
|
</spacer>
|
||
|
</item>
|
||
|
</layout>
|
||
|
</widget>
|
||
|
<resources/>
|
||
|
<connections/>
|
||
|
</ui>
|