1 #ifndef ProjectItemTreeView_h 2 #define ProjectItemTreeView_h 35 class ProjectItemModel;
void onItemAdded(ProjectItem *item)
Expands the parent project item in the tree view to show the added item.
QTreeView * treeView()
Returns the tree view.
~ProjectItemTreeView()
Default destructor.
virtual QSize sizeHint() const
Returns the suggested size.
QTreeView * m_treeView
The tree view (widget)
AbstractProjectItemView is a base class for views of a ProjectItemModel in Qt's model-view framework...
Provides access to data stored in a Project through Qt's model-view framework.
bool eventFilter(QObject *watched, QEvent *event)
Filters out drag and drop events so that they are handled by the ProjectItemTreeView.
ProjectItemTreeView(QWidget *parent=0)
Constructs a ProjectItemTreeView.
A ProjectItemTreeView displays items from a ProjectItemProxyModel in a tree structure.
Represents an item of a ProjectItemModel in Qt's model-view framework.
Namespace for ISIS/Bullet specific routines.
virtual void setInternalModel(ProjectItemModel *model)
Sets the model so that the internal proxy model exactly matches the source model. ...
virtual ProjectItemModel * model()
Returns the model used by the view.