28#include <QModelIndexList>
31#include <QSortFilterProxyModel>
32#include <QStandardItemModel>
49 class ObjectExplorerModelPrivate :
public QStandardItemModel
57 QStringList mimeTypes()
const override;
59 QMimeData* mimeData(
const QModelIndexList& indexes)
const override;
126 QPointer<gui::ObjectExplorerModel::ObjectExplorerModelPrivate> sModel;
128 bool filterAcceptsRow(
int sourceRow,
const QModelIndex& sourceParent)
const override;
129 bool showThis(
const QModelIndex&
index)
const;
ObjectExplorerModel(const controller::ControllerPtr &control, QObject *parent=0)
Creates a new instance of this class.
void onConnect()
Reloads the model.
std::pair< std::string, std::string > getItemInformation(const QModelIndex &index)
Returns a tupel containing information about the class at the given index.
QPixmap getItemPixmap(const QModelIndex &index) const
Returns the Icon of the class at index.
void setFilterFixedString(QString searchPattern)
Sets the string to filter all classes.
This file is part of ArmarX.
std::weak_ptr< Controller > ControllerWeakPtr
std::shared_ptr< Controller > ControllerPtr
IceInternal::Handle< ObjectClass > ObjectClassPtr