1 #ifndef TreeViewContent_H 2 #define TreeViewContent_H 6 #include <QAbstractScrollArea> 11 template<
typename T >
class QList;
18 class AbstractTreeItem;
19 class AbstractTreeModel;
70 void paintItemText(QPainter *,
int, QPoint, QPoint);
71 void drawCollapsedArrow(QPainter *, QRect);
72 void drawExpandedArrow(QPainter *, QRect);
79 void setAlternatingRowColors(
bool);
80 void updateItemList();
97 QPoint *m_mousePressPos;
100 bool m_alternatingRowColors;
104 static const int ITEM_PADDING = 4;
105 static const int ITEM_INDENTATION = 23;
void mouseReleaseEvent(QMouseEvent *event)
Definition: TreeViewContent.cpp:253
QSize sizeHint() const
Definition: TreeViewContent.cpp:80
void leaveEvent(QEvent *event)
Definition: TreeViewContent.cpp:293
AbstractTreeModel * getModel()
Definition: TreeViewContent.cpp:85
void mouseMoveEvent(QMouseEvent *event)
Definition: TreeViewContent.cpp:268
virtual ~TreeViewContent()
Definition: TreeViewContent.cpp:57
Base class for tree models.
Definition: AbstractTreeModel.h:39
void refresh()
Definition: TreeViewContent.cpp:121
QSize minimumSizeHint() const
Definition: TreeViewContent.cpp:75
bool eventFilter(QObject *target, QEvent *event)
Definition: TreeViewContent.cpp:140
TreeViewContent(QWidget *parent)
Definition: TreeViewContent.cpp:28
Definition: TreeView.h:23
void mousePressEvent(QMouseEvent *event)
Definition: TreeViewContent.cpp:156
void scrollContentsBy(int dx, int dy)
Definition: TreeViewContent.cpp:385
Definition: TreeViewContent.h:29
void setModel(AbstractTreeModel *someModel)
Definition: TreeViewContent.cpp:90
Definition: BoxcarCachingAlgorithm.h:29
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void mouseDoubleClickEvent(QMouseEvent *event)
Definition: TreeViewContent.cpp:145
void keyPressEvent(QKeyEvent *event)
Definition: TreeViewContent.cpp:300
void treeSelectionChanged()
Base class for an item in the tree.
Definition: AbstractTreeItem.h:31
void paintEvent(QPaintEvent *event)
Definition: TreeViewContent.cpp:313
Definition: CubeIoHandler.h:39
void resizeEvent(QResizeEvent *event)
Definition: TreeViewContent.cpp:377