Books▲
Sélectionnez
&
lt;?xml version=
"1.0"
encoding=
"UTF-8"
?&
gt;
&
lt;ui version=
"4.0"
&
gt;
&
lt;class
&
gt;BookWindow&
lt;/
class
&
gt;
&
lt;widget class
=
"QMainWindow"
name=
"BookWindow"
&
gt;
&
lt;property name=
"geometry"
&
gt;
&
lt;rect&
gt;
&
lt;x&
gt;0
&
lt;/
x&
gt;
&
lt;y&
gt;0
&
lt;/
y&
gt;
&
lt;width&
gt;601
&
lt;/
width&
gt;
&
lt;height&
gt;420
&
lt;/
height&
gt;
&
lt;/
rect&
gt;
&
lt;/
property&
gt;
&
lt;property name=
"windowTitle"
&
gt;
&
lt;string&
gt;Books&
lt;/
string&
gt;
&
lt;/
property&
gt;
&
lt;widget class
=
"QWidget"
name=
"centralWidget"
&
gt;
&
lt;layout class
=
"QVBoxLayout"
&
gt;
&
lt;property name=
"spacing"
&
gt;
&
lt;number&
gt;6
&
lt;/
number&
gt;
&
lt;/
property&
gt;
&
lt;property name=
"leftMargin"
&
gt;
&
lt;number&
gt;9
&
lt;/
number&
gt;
&
lt;/
property&
gt;
&
lt;property name=
"topMargin"
&
gt;
&
lt;number&
gt;9
&
lt;/
number&
gt;
&
lt;/
property&
gt;
&
lt;property name=
"rightMargin"
&
gt;
&
lt;number&
gt;9
&
lt;/
number&
gt;
&
lt;/
property&
gt;
&
lt;property name=
"bottomMargin"
&
gt;
&
lt;number&
gt;9
&
lt;/
number&
gt;
&
lt;/
property&
gt;
&
lt;item&
gt;
&
lt;widget class
=
"QGroupBox"
name=
"groupBox"
&
gt;
&
lt;property name=
"title"
&
gt;
&
lt;string/&
gt;
&
lt;/
property&
gt;
&
lt;layout class
=
"QVBoxLayout"
&
gt;
&
lt;property name=
"spacing"
&
gt;
&
lt;number&
gt;6
&
lt;/
number&
gt;
&
lt;/
property&
gt;
&
lt;property name=
"leftMargin"
&
gt;
&
lt;number&
gt;9
&
lt;/
number&
gt;
&
lt;/
property&
gt;
&
lt;property name=
"topMargin"
&
gt;
&
lt;number&
gt;9
&
lt;/
number&
gt;
&
lt;/
property&
gt;
&
lt;property name=
"rightMargin"
&
gt;
&
lt;number&
gt;9
&
lt;/
number&
gt;
&
lt;/
property&
gt;
&
lt;property name=
"bottomMargin"
&
gt;
&
lt;number&
gt;9
&
lt;/
number&
gt;
&
lt;/
property&
gt;
&
lt;item&
gt;
&
lt;widget class
=
"QTableView"
name=
"bookTable"
&
gt;
&
lt;property name=
"selectionBehavior"
&
gt;
&
lt;enum
&
gt;QAbstractItemView::
SelectRows&
lt;/
enum
&
gt;
&
lt;/
property&
gt;
&
lt;/
widget&
gt;
&
lt;/
item&
gt;
&
lt;item&
gt;
&
lt;widget class
=
"QGroupBox"
name=
"groupBox_2"
&
gt;
&
lt;property name=
"title"
&
gt;
&
lt;string&
gt;Details&
lt;/
string&
gt;
&
lt;/
property&
gt;
&
lt;layout class
=
"QFormLayout"
&
gt;
&
lt;item row=
"0"
column=
"0"
&
gt;
&
lt;widget class
=
"QLabel"
name=
"label_5"
&
gt;
&
lt;property name=
"text"
&
gt;
&
lt;string&
gt;&
amp;lt;b&
amp;gt;Title:&
amp;lt;/
b&
amp;gt;&
lt;/
string&
gt;
&
lt;/
property&
gt;
&
lt;/
widget&
gt;
&
lt;/
item&
gt;
&
lt;item row=
"0"
column=
"1"
&
gt;
&
lt;widget class
=
"QLineEdit"
name=
"titleEdit"
&
gt;
&
lt;property name=
"enabled"
&
gt;
&
lt;bool
&
gt;true
&
lt;/
bool
&
gt;
&
lt;/
property&
gt;
&
lt;/
widget&
gt;
&
lt;/
item&
gt;
&
lt;item row=
"1"
column=
"0"
&
gt;
&
lt;widget class
=
"QLabel"
name=
"label_2"
&
gt;
&
lt;property name=
"text"
&
gt;
&
lt;string&
gt;&
amp;lt;b&
amp;gt;Author: &
amp;lt;/
b&
amp;gt;&
lt;/
string&
gt;
&
lt;/
property&
gt;
&
lt;/
widget&
gt;
&
lt;/
item&
gt;
&
lt;item row=
"1"
column=
"1"
&
gt;
&
lt;widget class
=
"QComboBox"
name=
"authorEdit"
&
gt;
&
lt;property name=
"enabled"
&
gt;
&
lt;bool
&
gt;true
&
lt;/
bool
&
gt;
&
lt;/
property&
gt;
&
lt;/
widget&
gt;
&
lt;/
item&
gt;
&
lt;item row=
"2"
column=
"0"
&
gt;
&
lt;widget class
=
"QLabel"
name=
"label_3"
&
gt;
&
lt;property name=
"text"
&
gt;
&
lt;string&
gt;&
amp;lt;b&
amp;gt;Genre:&
amp;lt;/
b&
amp;gt;&
lt;/
string&
gt;
&
lt;/
property&
gt;
&
lt;/
widget&
gt;
&
lt;/
item&
gt;
&
lt;item row=
"2"
column=
"1"
&
gt;
&
lt;widget class
=
"QComboBox"
name=
"genreEdit"
&
gt;
&
lt;property name=
"enabled"
&
gt;
&
lt;bool
&
gt;true
&
lt;/
bool
&
gt;
&
lt;/
property&
gt;
&
lt;/
widget&
gt;
&
lt;/
item&
gt;
&
lt;item row=
"3"
column=
"0"
&
gt;
&
lt;widget class
=
"QLabel"
name=
"label_4"
&
gt;
&
lt;property name=
"text"
&
gt;
&
lt;string&
gt;&
amp;lt;b&
amp;gt;Year:&
amp;lt;/
b&
amp;gt;&
lt;/
string&
gt;
&
lt;/
property&
gt;
&
lt;/
widget&
gt;
&
lt;/
item&
gt;
&
lt;item row=
"3"
column=
"1"
&
gt;
&
lt;widget class
=
"QSpinBox"
name=
"yearEdit"
&
gt;
&
lt;property name=
"enabled"
&
gt;
&
lt;bool
&
gt;true
&
lt;/
bool
&
gt;
&
lt;/
property&
gt;
&
lt;property name=
"prefix"
&
gt;
&
lt;string/&
gt;
&
lt;/
property&
gt;
&
lt;property name=
"minimum"
&
gt;
&
lt;number&
gt;-
1000
&
lt;/
number&
gt;
&
lt;/
property&
gt;
&
lt;property name=
"maximum"
&
gt;
&
lt;number&
gt;2100
&
lt;/
number&
gt;
&
lt;/
property&
gt;
&
lt;/
widget&
gt;
&
lt;/
item&
gt;
&
lt;item row=
"4"
column=
"0"
&
gt;
&
lt;widget class
=
"QLabel"
name=
"label"
&
gt;
&
lt;property name=
"text"
&
gt;
&
lt;string&
gt;&
amp;lt;b&
amp;gt;Rating:&
amp;lt;/
b&
amp;gt;&
lt;/
string&
gt;
&
lt;/
property&
gt;
&
lt;/
widget&
gt;
&
lt;/
item&
gt;
&
lt;item row=
"4"
column=
"1"
&
gt;
&
lt;widget class
=
"QSpinBox"
name=
"ratingEdit"
&
gt;
&
lt;property name=
"maximum"
&
gt;
&
lt;number&
gt;5
&
lt;/
number&
gt;
&
lt;/
property&
gt;
&
lt;/
widget&
gt;
&
lt;/
item&
gt;
&
lt;/
layout&
gt;
&
lt;/
widget&
gt;
&
lt;/
item&
gt;
&
lt;/
layout&
gt;
&
lt;/
widget&
gt;
&
lt;/
item&
gt;
&
lt;/
layout&
gt;
&
lt;/
widget&
gt;
&
lt;/
widget&
gt;
&
lt;tabstops&
gt;
&
lt;tabstop&
gt;bookTable&
lt;/
tabstop&
gt;
&
lt;tabstop&
gt;titleEdit&
lt;/
tabstop&
gt;
&
lt;tabstop&
gt;authorEdit&
lt;/
tabstop&
gt;
&
lt;tabstop&
gt;genreEdit&
lt;/
tabstop&
gt;
&
lt;tabstop&
gt;yearEdit&
lt;/
tabstop&
gt;
&
lt;/
tabstops&
gt;
&
lt;resources/&
gt;
&
lt;connections/&
gt;
&
lt;/
ui&
gt;