22 #ifndef CTKCMDLINEMODULEEXPLORERTREEWIDGET_H
23 #define CTKCMDLINEMODULEEXPLORERTREEWIDGET_H
27 #include <QSortFilterProxyModel>
35 class QStandardItemModel;
49 bool lessThan(
const QModelIndex &left,
const QModelIndex &right)
const;
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;
bool lessThan(const QModelIndex &left, const QModelIndex &right) const
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
ModuleSortFilterProxyModel(QObject *parent=0)
Abstract base class for all front-end command line module implementations.
Defines a reference or handle to a module, including location, XML, description and access to the ass...
Factory class to create new front-ends.