42 QSize minimumSizeHint()
const;
43 QSize sizeHint()
const;
49 void treeSelectionChanged();
50 void treeSelectionChanged(QList< AbstractTreeItem * >);
58 bool eventFilter(
QObject *target, QEvent *event);
59 void keyPressEvent(QKeyEvent *event);
60 void leaveEvent(QEvent *event);
61 void mouseDoubleClickEvent(QMouseEvent *event);
62 void mouseMoveEvent(QMouseEvent *event);
63 void mousePressEvent(QMouseEvent *event);
64 void mouseReleaseEvent(QMouseEvent *event);
65 void paintEvent(QPaintEvent *event);
66 void resizeEvent(QResizeEvent *event);
67 void scrollContentsBy(
int dx,
int dy);
77 void paintItemText(QPainter *,
int, QPoint, QPoint);
78 void drawCollapsedArrow(QPainter *, QRect);
79 void drawExpandedArrow(QPainter *, QRect);
84 void scrollTo(QList< AbstractTreeItem * >);
86 void setAlternatingRowColors(
bool);
87 void updateItemList();
93 QList< AbstractTreeItem * > * m_items;
102 QList<AbstractTreeItem *> * m_lastShiftSelection;
104 QPoint *m_mousePressPos;
107 bool m_alternatingRowColors;
111 static const int ITEM_PADDING = 4;
112 static const int ITEM_INDENTATION = 23;
QPair< AbstractTreeItem *, bool > * m_hoveredItem
The bool is true if the mouse is hovering over the arrow.
QPair< AbstractTreeItem *, bool > * m_pressedItem
The bool is true if the arrow in the item was pressed.