22 #ifndef CTKCMDLINEMODULEEXPLORERTREEWIDGET_H 23 #define CTKCMDLINEMODULEEXPLORERTREEWIDGET_H 27 #include <QSortFilterProxyModel> 35 class QStandardItemModel;
49 bool lessThan(
const QModelIndex &left,
const QModelIndex &right)
const;
71 Q_SLOT
void setFilter(
const QString& filter);
75 void contextMenuEvent(QContextMenuEvent* event);
82 Q_SLOT
void moduleDoubleClicked(
const QModelIndex& index);
83 Q_SLOT
void frontendFactoryActionTriggered();
85 static QString CATEGORY_UNKNOWN;
88 QMenu* ShowFrontendMenu;
99 QStandardItemModel* TreeModel;
100 QSortFilterProxyModel* FilterProxyModel;
103 #endif // CTKCMDLINEMODULEEXPLORERTREEWIDGET_H Abstract base class for all front-end command line module implementations.A module front-end represen...
Factory class to create new front-ends.Front-end implementors are advised to create and export a sub-...
bool lessThan(const QModelIndex &left, const QModelIndex &right) const
ModuleSortFilterProxyModel(QObject *parent=0)
Defines a reference or handle to a module, including location, XML, description and access to the ass...
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const