#include <editauthorsmodel.hpp>
|
| EditAuthorsModel (QObject *parent=0) |
|
void | initModel () |
|
bool | setData (const QModelIndex &index, const QVariant &value, int role) Q_DECL_OVERRIDE |
|
quint32 | count () |
|
Qt::ItemFlags | flags (const QModelIndex &index) const Q_DECL_OVERRIDE |
|
|
bool | setStatus (int logId, const QString &status) |
|
bool | setFName (int logId, const QString &fname) |
|
bool | setLName (int logId, const QString &lname) |
|
bool | setNotes (int logId, const QString ¬es) |
|
void | refresh () |
|
This class is an edit delegate for the Authors table view. Methods provided here customize the edit process in the display grid rather than a separate form.
- Parameters
-
- See also
- MainWindow
◆ EditAuthorsModel()
EditAuthorsModel::EditAuthorsModel |
( |
QObject * |
parent = 0 | ) |
|
◆ count()
quint32 EditAuthorsModel::count |
( |
| ) |
|
◆ flags()
Qt::ItemFlags EditAuthorsModel::flags |
( |
const QModelIndex & |
index | ) |
const |
◆ initModel()
void EditAuthorsModel::initModel |
( |
| ) |
|
◆ refresh()
void EditAuthorsModel::refresh |
( |
| ) |
|
|
private |
◆ setData()
bool EditAuthorsModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role |
|
) |
| |
◆ setFName()
bool EditAuthorsModel::setFName |
( |
int |
logId, |
|
|
const QString & |
fname |
|
) |
| |
|
private |
◆ setLName()
bool EditAuthorsModel::setLName |
( |
int |
logId, |
|
|
const QString & |
lname |
|
) |
| |
|
private |
◆ setNotes()
bool EditAuthorsModel::setNotes |
( |
int |
logId, |
|
|
const QString & |
notes |
|
) |
| |
|
private |
◆ setStatus()
bool EditAuthorsModel::setStatus |
( |
int |
logId, |
|
|
const QString & |
status |
|
) |
| |
|
private |
◆ m_rowcnt
quint32 EditAuthorsModel::m_rowcnt |
|
private |
The documentation for this class was generated from the following files: