0
|
1 |
<ui version="4.0" >
|
|
2 |
<author></author>
|
|
3 |
<comment></comment>
|
|
4 |
<exportmacro></exportmacro>
|
|
5 |
<class>BookWindow</class>
|
|
6 |
<widget class="QMainWindow" name="BookWindow" >
|
|
7 |
<property name="geometry" >
|
|
8 |
<rect>
|
|
9 |
<x>0</x>
|
|
10 |
<y>0</y>
|
|
11 |
<width>601</width>
|
|
12 |
<height>420</height>
|
|
13 |
</rect>
|
|
14 |
</property>
|
|
15 |
<property name="windowTitle" >
|
|
16 |
<string>Books</string>
|
|
17 |
</property>
|
|
18 |
<widget class="QWidget" name="centralWidget" >
|
|
19 |
<layout class="QVBoxLayout" >
|
|
20 |
<property name="margin" >
|
|
21 |
<number>9</number>
|
|
22 |
</property>
|
|
23 |
<property name="spacing" >
|
|
24 |
<number>6</number>
|
|
25 |
</property>
|
|
26 |
<item>
|
|
27 |
<widget class="QGroupBox" name="groupBox" >
|
|
28 |
<property name="title" >
|
|
29 |
<string>Books</string>
|
|
30 |
</property>
|
|
31 |
<layout class="QVBoxLayout" >
|
|
32 |
<property name="margin" >
|
|
33 |
<number>9</number>
|
|
34 |
</property>
|
|
35 |
<property name="spacing" >
|
|
36 |
<number>6</number>
|
|
37 |
</property>
|
|
38 |
<item>
|
|
39 |
<widget class="QTableView" name="bookTable" >
|
|
40 |
<property name="selectionBehavior" >
|
|
41 |
<enum>QAbstractItemView::SelectRows</enum>
|
|
42 |
</property>
|
|
43 |
</widget>
|
|
44 |
</item>
|
|
45 |
<item>
|
|
46 |
<widget class="QGroupBox" name="groupBox_2" >
|
|
47 |
<property name="title" >
|
|
48 |
<string>Details</string>
|
|
49 |
</property>
|
|
50 |
<layout class="QFormLayout" >
|
|
51 |
<item row="0" column="0" >
|
|
52 |
<widget class="QLabel" name="label_5" >
|
|
53 |
<property name="text" >
|
|
54 |
<string><b>Title:</b></string>
|
|
55 |
</property>
|
|
56 |
</widget>
|
|
57 |
</item>
|
|
58 |
<item row="0" column="1" >
|
|
59 |
<widget class="QLineEdit" name="titleEdit" >
|
|
60 |
<property name="enabled" >
|
|
61 |
<bool>true</bool>
|
|
62 |
</property>
|
|
63 |
</widget>
|
|
64 |
</item>
|
|
65 |
<item row="1" column="0" >
|
|
66 |
<widget class="QLabel" name="label_2_2_2_2" >
|
|
67 |
<property name="text" >
|
|
68 |
<string><b>Author: </b></string>
|
|
69 |
</property>
|
|
70 |
</widget>
|
|
71 |
</item>
|
|
72 |
<item row="1" column="1" >
|
|
73 |
<widget class="QComboBox" name="authorEdit" >
|
|
74 |
<property name="enabled" >
|
|
75 |
<bool>true</bool>
|
|
76 |
</property>
|
|
77 |
</widget>
|
|
78 |
</item>
|
|
79 |
<item row="2" column="0" >
|
|
80 |
<widget class="QLabel" name="label_3" >
|
|
81 |
<property name="text" >
|
|
82 |
<string><b>Genre:</b></string>
|
|
83 |
</property>
|
|
84 |
</widget>
|
|
85 |
</item>
|
|
86 |
<item row="2" column="1" >
|
|
87 |
<widget class="QComboBox" name="genreEdit" >
|
|
88 |
<property name="enabled" >
|
|
89 |
<bool>true</bool>
|
|
90 |
</property>
|
|
91 |
</widget>
|
|
92 |
</item>
|
|
93 |
<item row="3" column="0" >
|
|
94 |
<widget class="QLabel" name="label_4" >
|
|
95 |
<property name="text" >
|
|
96 |
<string><b>Year:</b></string>
|
|
97 |
</property>
|
|
98 |
</widget>
|
|
99 |
</item>
|
|
100 |
<item row="3" column="1" >
|
|
101 |
<widget class="QSpinBox" name="yearEdit" >
|
|
102 |
<property name="enabled" >
|
|
103 |
<bool>true</bool>
|
|
104 |
</property>
|
|
105 |
<property name="prefix" >
|
|
106 |
<string/>
|
|
107 |
</property>
|
|
108 |
<property name="maximum" >
|
|
109 |
<number>2100</number>
|
|
110 |
</property>
|
|
111 |
<property name="minimum" >
|
|
112 |
<number>-1000</number>
|
|
113 |
</property>
|
|
114 |
</widget>
|
|
115 |
</item>
|
|
116 |
<item row="4" column="0" >
|
|
117 |
<widget class="QLabel" name="label" >
|
|
118 |
<property name="text" >
|
|
119 |
<string><b>Rating:</b></string>
|
|
120 |
</property>
|
|
121 |
</widget>
|
|
122 |
</item>
|
|
123 |
<item row="4" column="1" >
|
|
124 |
<widget class="QSpinBox" name="ratingEdit" >
|
|
125 |
<property name="maximum" >
|
|
126 |
<number>5</number>
|
|
127 |
</property>
|
|
128 |
</widget>
|
|
129 |
</item>
|
|
130 |
</layout>
|
|
131 |
</widget>
|
|
132 |
</item>
|
|
133 |
</layout>
|
|
134 |
</widget>
|
|
135 |
</item>
|
|
136 |
</layout>
|
|
137 |
</widget>
|
|
138 |
</widget>
|
|
139 |
<pixmapfunction></pixmapfunction>
|
|
140 |
<tabstops>
|
|
141 |
<tabstop>bookTable</tabstop>
|
|
142 |
<tabstop>titleEdit</tabstop>
|
|
143 |
<tabstop>authorEdit</tabstop>
|
|
144 |
<tabstop>genreEdit</tabstop>
|
|
145 |
<tabstop>yearEdit</tabstop>
|
|
146 |
</tabstops>
|
|
147 |
<resources/>
|
|
148 |
<connections/>
|
|
149 |
</ui>
|