0
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<ui version="4.0">
|
|
3 |
<class>Form</class>
|
|
4 |
<widget class="QWidget" name="Form">
|
|
5 |
<property name="geometry">
|
|
6 |
<rect>
|
|
7 |
<x>0</x>
|
|
8 |
<y>0</y>
|
|
9 |
<width>322</width>
|
|
10 |
<height>203</height>
|
|
11 |
</rect>
|
|
12 |
</property>
|
|
13 |
<property name="windowTitle">
|
|
14 |
<string>Form</string>
|
|
15 |
</property>
|
|
16 |
<property name="styleSheet">
|
|
17 |
<string notr="true"> QPushButton#evilButton {
|
|
18 |
background-color: red;
|
|
19 |
border-style: outset;
|
|
20 |
border-width: 2px;
|
|
21 |
border-radius: 10px;
|
|
22 |
border-color: beige;
|
|
23 |
font: bold 14px;
|
|
24 |
min-width: 10em;
|
|
25 |
padding: 6px;
|
|
26 |
}
|
|
27 |
QPushButton#evilButton:pressed {
|
|
28 |
background-color: rgb(224, 0, 0);
|
|
29 |
border-style: inset;
|
|
30 |
}
|
|
31 |
|
|
32 |
QLineEdit { color: red }
|
|
33 |
QLineEdit[readOnly="true"] { color: gray }
|
|
34 |
</string>
|
|
35 |
</property>
|
|
36 |
<layout class="QGridLayout" name="gridLayout">
|
|
37 |
<item row="0" column="0">
|
|
38 |
<widget class="QPushButton" name="evilButton">
|
|
39 |
<property name="text">
|
|
40 |
<string>Format C:</string>
|
|
41 |
</property>
|
|
42 |
</widget>
|
|
43 |
</item>
|
|
44 |
<item row="0" column="2">
|
|
45 |
<spacer name="horizontalSpacer">
|
|
46 |
<property name="orientation">
|
|
47 |
<enum>Qt::Horizontal</enum>
|
|
48 |
</property>
|
|
49 |
<property name="sizeHint" stdset="0">
|
|
50 |
<size>
|
|
51 |
<width>95</width>
|
|
52 |
<height>20</height>
|
|
53 |
</size>
|
|
54 |
</property>
|
|
55 |
</spacer>
|
|
56 |
</item>
|
|
57 |
<item row="1" column="0">
|
|
58 |
<widget class="QLineEdit" name="lineEdit">
|
|
59 |
<property name="text">
|
|
60 |
<string>Foo</string>
|
|
61 |
</property>
|
|
62 |
</widget>
|
|
63 |
</item>
|
|
64 |
<item row="2" column="0">
|
|
65 |
<widget class="QLineEdit" name="lineEdit_2">
|
|
66 |
<property name="text">
|
|
67 |
<string>ReadOnly</string>
|
|
68 |
</property>
|
|
69 |
<property name="readOnly">
|
|
70 |
<bool>true</bool>
|
|
71 |
</property>
|
|
72 |
</widget>
|
|
73 |
</item>
|
|
74 |
<item row="3" column="1">
|
|
75 |
<spacer name="verticalSpacer">
|
|
76 |
<property name="orientation">
|
|
77 |
<enum>Qt::Vertical</enum>
|
|
78 |
</property>
|
|
79 |
<property name="sizeHint" stdset="0">
|
|
80 |
<size>
|
|
81 |
<width>20</width>
|
|
82 |
<height>102</height>
|
|
83 |
</size>
|
|
84 |
</property>
|
|
85 |
</spacer>
|
|
86 |
</item>
|
|
87 |
</layout>
|
|
88 |
</widget>
|
|
89 |
<resources/>
|
|
90 |
<connections/>
|
|
91 |
</ui>
|