1#ifndef ProjectItemTreeView_h
2#define ProjectItemTreeView_h
21 class ProjectItemModel;
77 QTreeView *m_treeView;
AbstractProjectItemView is a base class for views of a ProjectItemModel in Qt's model-view framework.
Definition AbstractProjectItemView.h:79
virtual ProjectItemModel * model()
Returns the model used by the view.
Definition AbstractProjectItemView.cpp:83
Represents an item of a ProjectItemModel in Qt's model-view framework.
Definition ProjectItem.h:134
Provides access to data stored in a Project through Qt's model-view framework.
Definition ProjectItemModel.h:132
A ProjectItemTreeView displays items from a ProjectItemProxyModel in a tree structure.
Definition ProjectItemTreeView.h:56
virtual void setInternalModel(ProjectItemModel *model)
Sets the model so that the internal proxy model exactly matches the source model.
Definition ProjectItemTreeView.cpp:90
~ProjectItemTreeView()
Default destructor.
Definition ProjectItemTreeView.cpp:71
bool eventFilter(QObject *watched, QEvent *event)
Filters out drag and drop events so that they are handled by the ProjectItemTreeView.
Definition ProjectItemTreeView.cpp:131
QTreeView * treeView()
Returns the tree view.
Definition ProjectItemTreeView.cpp:79
ProjectItemTreeView(QWidget *parent=0)
Constructs a ProjectItemTreeView.
Definition ProjectItemTreeView.cpp:29
virtual QSize sizeHint() const
Returns the suggested size.
Definition ProjectItemTreeView.cpp:61
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16