Isis 3 Programmer Reference
|
#include <TreeViewContent.h>
Public Slots | |
void | refresh () |
Signals | |
void | treeSelectionChanged () |
void | treeSelectionChanged (QList< AbstractTreeItem * >) |
Public Member Functions | |
TreeViewContent (QWidget *parent) | |
QSize | minimumSizeHint () const |
QSize | sizeHint () const |
AbstractTreeModel * | getModel () |
void | setModel (AbstractTreeModel *someModel) |
Protected Member Functions | |
bool | eventFilter (QObject *target, QEvent *event) |
void | keyPressEvent (QKeyEvent *event) |
void | leaveEvent (QEvent *event) |
void | mouseDoubleClickEvent (QMouseEvent *event) |
void | mouseMoveEvent (QMouseEvent *event) |
void | mousePressEvent (QMouseEvent *event) |
void | mouseReleaseEvent (QMouseEvent *event) |
void | paintEvent (QPaintEvent *event) |
void | resizeEvent (QResizeEvent *event) |
void | scrollContentsBy (int dx, int dy) |
Private Slots | |
void | scrollTo (QList< AbstractTreeItem * >) |
void | scrollTo (AbstractTreeItem *) |
void | setAlternatingRowColors (bool) |
void | updateItemList () |
Private Member Functions | |
TreeViewContent (const TreeViewContent &other) | |
TreeViewContent & | operator= (const TreeViewContent &other) |
void | nullify () |
void | paintItemText (QPainter *, int, QPoint, QPoint) |
void | drawCollapsedArrow (QPainter *, QRect) |
void | drawExpandedArrow (QPainter *, QRect) |
QRect | getArrowRect (AbstractTreeItem *item) const |
Private Attributes | |
TreeView * | m_parentView |
AbstractTreeModel * | m_model |
QList< AbstractTreeItem * > * | m_items |
QPair< AbstractTreeItem *, bool > * | m_pressedItem |
The bool is true if the arrow in the item was pressed. | |
QPair< AbstractTreeItem *, bool > * | m_hoveredItem |
The bool is true if the mouse is hovering over the arrow. | |
AbstractTreeItem * | m_lastDirectlySelectedItem |
QList< AbstractTreeItem * > * | m_lastShiftSelection |
QPoint * | m_mousePressPos |
int | m_rowHeight |
int | m_contentWidth |
bool | m_alternatingRowColors |
Static Private Attributes | |
static const int | ITEM_PADDING = 4 |
static const int | ITEM_INDENTATION = 23 |
2012-09-28 Kimberly Oyama - Changed member variables to be prefixed with "m_".
2017-07-25 Summer Stapleton - Removed the CnetViz namespace. Fixes #5054.
Definition at line 36 of file TreeViewContent.h.
Isis::TreeViewContent::TreeViewContent | ( | QWidget * | parent | ) |
Definition at line 34 of file TreeViewContent.cpp.
|
virtual |
Definition at line 62 of file TreeViewContent.cpp.
|
private |
Definition at line 488 of file TreeViewContent.cpp.
|
private |
Definition at line 508 of file TreeViewContent.cpp.
|
protected |
Definition at line 145 of file TreeViewContent.cpp.
|
private |
Definition at line 544 of file TreeViewContent.cpp.
AbstractTreeModel * Isis::TreeViewContent::getModel | ( | ) |
Definition at line 90 of file TreeViewContent.cpp.
|
protected |
Definition at line 305 of file TreeViewContent.cpp.
|
protected |
Definition at line 298 of file TreeViewContent.cpp.
QSize Isis::TreeViewContent::minimumSizeHint | ( | ) | const |
Definition at line 80 of file TreeViewContent.cpp.
|
protected |
Definition at line 150 of file TreeViewContent.cpp.
|
protected |
Definition at line 273 of file TreeViewContent.cpp.
|
protected |
Definition at line 161 of file TreeViewContent.cpp.
|
protected |
Definition at line 258 of file TreeViewContent.cpp.
|
private |
Definition at line 395 of file TreeViewContent.cpp.
|
protected |
Definition at line 318 of file TreeViewContent.cpp.
|
private |
Definition at line 407 of file TreeViewContent.cpp.
|
slot |
Definition at line 126 of file TreeViewContent.cpp.
|
protected |
Definition at line 381 of file TreeViewContent.cpp.
|
protected |
Definition at line 389 of file TreeViewContent.cpp.
|
privateslot |
Definition at line 566 of file TreeViewContent.cpp.
|
privateslot |
Definition at line 559 of file TreeViewContent.cpp.
|
privateslot |
Definition at line 528 of file TreeViewContent.cpp.
void Isis::TreeViewContent::setModel | ( | AbstractTreeModel * | someModel | ) |
Definition at line 95 of file TreeViewContent.cpp.
QSize Isis::TreeViewContent::sizeHint | ( | ) | const |
Definition at line 85 of file TreeViewContent.cpp.
|
privateslot |
Definition at line 534 of file TreeViewContent.cpp.
|
staticprivate |
Definition at line 112 of file TreeViewContent.h.
|
staticprivate |
Definition at line 111 of file TreeViewContent.h.
|
private |
Definition at line 107 of file TreeViewContent.h.
|
private |
Definition at line 106 of file TreeViewContent.h.
|
private |
The bool is true if the mouse is hovering over the arrow.
Definition at line 99 of file TreeViewContent.h.
|
private |
Definition at line 93 of file TreeViewContent.h.
|
private |
Definition at line 101 of file TreeViewContent.h.
|
private |
Definition at line 102 of file TreeViewContent.h.
|
private |
Definition at line 92 of file TreeViewContent.h.
|
private |
Definition at line 104 of file TreeViewContent.h.
|
private |
Definition at line 91 of file TreeViewContent.h.
|
private |
The bool is true if the arrow in the item was pressed.
Definition at line 96 of file TreeViewContent.h.
|
private |
Definition at line 105 of file TreeViewContent.h.