Tool model for the client that implements the custom roles that return widget/factory pointers.
More...
#include <clienttoolmodel.h>
|
| ClientToolModel (QObject *parent=0) |
|
QVariant | data (const QModelIndex &index, int role) const override |
|
Qt::ItemFlags | flags (const QModelIndex &index) const override |
|
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override |
|
void | setSourceModel (QAbstractItemModel *sourceModel) override |
|
|
bool | filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override |
|
bool | lessThan (const QModelIndex &source_left, const QModelIndex &source_right) const override |
|
Tool model for the client that implements the custom roles that return widget/factory pointers.
This is needed when implementing your own client UI embedded into a different application.