 |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Go to the documentation of this file.
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;
103 #endif // CTKCMDLINEMODULEEXPLORERTREEWIDGET_H
ModuleSortFilterProxyModel(QObject *parent=0)
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
Factory class to create new front-ends.
Defines a reference or handle to a module, including location, XML, description and access to the ass...
Abstract base class for all front-end command line module implementations.
bool lessThan(const QModelIndex &left, const QModelIndex &right) const