AddRecordDialog
0
0
650
500
Add New Record
:/icons/table:/icons/table
true
-
Enter values for the new record considering constraints. Fields in bold are mandatory.
-
0
0
0
0
0
-
Qt::Vertical
0
0
0
140
In the Value column you can specify the value for the field identified in the Name column. The Type column indicates the type of the field. Default values are displayed in the same style as NULL values.
false
Name
Type
Value
Values to insert. Pre-filled default values are inserted automatically unless they are changed.
When you edit the values in the upper frame, the SQL query for inserting this new record is shown here. You can edit manually the query before saving.
true
-
<html><head/><body><p><span style=" font-weight:600;">Save</span> will submit the shown SQL statement to the database for inserting the new record.</p><p><span style=" font-weight:600;">Restore Defaults</span> will restore the initial values in the <span style=" font-weight:600;">Value</span> column.</p><p><span style=" font-weight:600;">Cancel</span> will close this dialog without executing the query.</p></body></html>
Qt::Horizontal
QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::RestoreDefaults|QDialogButtonBox::Save
SqlTextEdit
QWidget
1
treeWidget
sqlTextEdit
buttonBox
clicked(QAbstractButton*)
AddRecordDialog
buttonBoxClicked(QAbstractButton*)
324
477
324
249
buttonBoxClicked(QAbstractButton*)