QAdvanced Item View
0.4
The QAIV (Qt Advanced Item Views) library provides GUI and utility classes extending the capabilities of the Qt item views.
|
Functions | |
template<class T > | |
T | qfilter_cast (QAbstractFilter *filter) |
template<class T > | |
T | qfilter_cast (const QAbstractFilter *filter) |
template<class T > | |
T | qsourcemodel_cast (const QModelIndex &index) |
template<class T > | |
T | qsourcemodel_cast (QAbstractItemModel *model) |
template<class T > | |
T | qsourcemodel_cast (const QAbstractItemModel *model) |
void | qMimeDataAddCsv (QMimeData *mimeData, QAdvancedTableView *view, int role) |
void | qMimeDataAddCsv (QMimeData *mimeData, QTableView *view, int role) |
void | qMimeDataAddHtml (QMimeData *mimeData, QAdvancedTableView *view, int role) |
void | qMimeDataAddHtml (QMimeData *mimeData, QTableView *view, int role) |
void | qMimeDataAddPlainText (QMimeData *mimeData, QAdvancedTableView *view, int role) |
void | qMimeDataAddPlainText (QMimeData *mimeData, QTableView *view, int role) |
QPair< QModelIndex, QModelIndex > | selectionEdges (QItemSelection selection) |
|
inline |
Returns the given filter
cast to type T if filter
is of type T; otherwise, 0 is returned.
|
inline |
Returns the given const filter
cast to type T if filter
is of type T; otherwise, 0 is returned.
void qMimeDataAddCsv | ( | QMimeData * | mimeData, |
QAdvancedTableView * | view, | ||
int | role | ||
) |
Adds the 's selection as CSV data to the given QMimeData container mimeData
.
void qMimeDataAddCsv | ( | QMimeData * | mimeData, |
QTableView * | view, | ||
int | role | ||
) |
Adds the 's selection as CSV data to the given QMimeData container mimeData
.
void qMimeDataAddHtml | ( | QMimeData * | mimeData, |
QAdvancedTableView * | view, | ||
int | role | ||
) |
Adds the current 's selection as a HTML table to the given QMimeData container mimeData
.
void qMimeDataAddHtml | ( | QMimeData * | mimeData, |
QTableView * | view, | ||
int | role | ||
) |
Adds the current 's selection as a HTML table to the given QMimeData container mimeData
.
void qMimeDataAddPlainText | ( | QMimeData * | mimeData, |
QAdvancedTableView * | view, | ||
int | role | ||
) |
Adds the current 's selection as plain text the given QMimeData container mimeData
.
void qMimeDataAddPlainText | ( | QMimeData * | mimeData, |
QTableView * | view, | ||
int | role | ||
) |
Adds the current 's selection as plain text the given QMimeData container mimeData
.
|
inline |
Returns the given model
cast to type T if the model of the given index
is of type T (or of a subclass); otherwise returns 0. If index
is invalod then it will also return 0.
|
inline |
Returns the given model
cast to type T if the model
is of type T (or of a subclass); otherwise returns 0. If model
is 0 then it will also return 0.
|
inline |
Returns the given model
cast to type T if the model
is of type T (or of a subclass); otherwise returns 0. If model
is 0 then it will also return 0.
QPair< QModelIndex, QModelIndex > selectionEdges | ( | QItemSelection | selection | ) |
Returns a QModelIndex pair describing the top left and bottom right edges og the given selection
.