#include <editbooksmodel.hpp>
This class is an edit delegate for the Books table. Methods provided here customize the edit process in the display grid rather than a separate form.
- Parameters
-
- See also
- MainWindow
◆ EditBooksModel()
EditBooksModel::EditBooksModel |
( |
QObject * |
parent = 0 | ) |
|
◆ ~EditBooksModel()
EditBooksModel::~EditBooksModel |
( |
| ) |
|
◆ findBooksByAuthor
QSqlQuery EditBooksModel::findBooksByAuthor |
( |
QString |
author | ) |
|
|
slot |
◆ findBooksByTitle
QSqlQuery EditBooksModel::findBooksByTitle |
( |
QString |
title | ) |
|
|
slot |
◆ flags()
Qt::ItemFlags EditBooksModel::flags |
( |
const QModelIndex & |
index | ) |
const |
◆ initModel()
void EditBooksModel::initModel |
( |
| ) |
|
|
virtual |
◆ refresh()
void EditBooksModel::refresh |
( |
| ) |
|
|
private |
◆ setAuthKey()
bool EditBooksModel::setAuthKey |
( |
int |
logId, |
|
|
const int & |
authkey |
|
) |
| |
|
private |
◆ setData()
bool EditBooksModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
◆ setLoanedKey()
bool EditBooksModel::setLoanedKey |
( |
int |
logId, |
|
|
const int & |
loankey |
|
) |
| |
|
private |
◆ setMediaKey()
bool EditBooksModel::setMediaKey |
( |
int |
logId, |
|
|
const int & |
mediakey |
|
) |
| |
|
private |
◆ setNotes()
bool EditBooksModel::setNotes |
( |
int |
logId, |
|
|
const QString & |
notes |
|
) |
| |
|
private |
◆ setTitle()
bool EditBooksModel::setTitle |
( |
int |
logId, |
|
|
const QString & |
title |
|
) |
| |
|
private |
◆ books
Books EditBooksModel::books |
The documentation for this class was generated from the following files: