GammaRay API Documentaion  2.5.0
Public Member Functions | Protected Member Functions | List of all members
GammaRay::ClientToolModel Class Reference

Tool model for the client that implements the custom roles that return widget/factory pointers. More...

#include <clienttoolmodel.h>

Inheritance diagram for GammaRay::ClientToolModel:
Inheritance graph
[legend]

Public Member Functions

 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
 

Protected Member Functions

bool filterAcceptsRow (int source_row, const QModelIndex &source_parent) const override
 
bool lessThan (const QModelIndex &source_left, const QModelIndex &source_right) const override
 

Detailed Description

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.


Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
http://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
http://www.kdab.com/gammaray/