#include <kpttaskeditor.h>
Signals | |
| void | currentChanged (const QModelIndex &) |
| void | currentColumnChanged (QModelIndex, QModelIndex) |
| void | selectionChanged (const QModelIndexList) |
Public Member Functions | |
| NodeTreeView (Part *part, QWidget *parent) | |
| NodeItemModel * | itemModel () const |
| void | setArrowKeyNavigation (bool on) |
| bool | arrowKeyNavigation () const |
| Project * | project () const |
| void | setProject (Project *project) |
Protected Slots | |
| void | headerContextMenuRequested (const QPoint &pos) |
| void | slotActivated (const QModelIndex index) |
| virtual void | selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) |
| virtual void | currentChanged (const QModelIndex ¤t, const QModelIndex &previous) |
Protected Member Functions | |
| void | keyPressEvent (QKeyEvent *event) |
| QItemSelectionModel::SelectionFlags | selectionCommand (const QModelIndex &index, const QEvent *event) const |
Private Attributes | |
| bool | m_arrowKeyNavigation |
Definition at line 139 of file kpttaskeditor.h.
| KPlato::NodeTreeView::NodeTreeView | ( | Part * | part, | |
| QWidget * | parent | |||
| ) |
Definition at line 613 of file kpttaskeditor.cc.
References headerContextMenuRequested(), and slotActivated().
| NodeItemModel* KPlato::NodeTreeView::itemModel | ( | ) | const [inline] |
Definition at line 147 of file kpttaskeditor.h.
Referenced by KPlato::TaskEditor::currentNode(), project(), KPlato::TaskEditor::selectedNode(), KPlato::TaskEditor::selectedNodes(), and setProject().
| void KPlato::NodeTreeView::setArrowKeyNavigation | ( | bool | on | ) | [inline] |
| bool KPlato::NodeTreeView::arrowKeyNavigation | ( | ) | const [inline] |
| Project* KPlato::NodeTreeView::project | ( | ) | const [inline] |
Definition at line 152 of file kpttaskeditor.h.
References itemModel(), and KPlato::ItemModelBase::project().
Referenced by setProject(), and KPlato::TaskEditor::updateActionsEnabled().
| void KPlato::NodeTreeView::setProject | ( | Project * | project | ) | [inline] |
Definition at line 153 of file kpttaskeditor.h.
References itemModel(), project(), and KPlato::NodeItemModel::setProject().
Referenced by KPlato::TaskEditor::draw().
| void KPlato::NodeTreeView::currentChanged | ( | const QModelIndex & | ) | [signal] |
Referenced by currentChanged().
| void KPlato::NodeTreeView::currentColumnChanged | ( | QModelIndex | , | |
| QModelIndex | ||||
| ) | [signal] |
| void KPlato::NodeTreeView::selectionChanged | ( | const | QModelIndexList | ) | [signal] |
Referenced by selectionChanged().
| void KPlato::NodeTreeView::headerContextMenuRequested | ( | const QPoint & | pos | ) | [protected, slot] |
| void KPlato::NodeTreeView::slotActivated | ( | const QModelIndex | index | ) | [protected, slot] |
| void KPlato::NodeTreeView::selectionChanged | ( | const QItemSelection & | selected, | |
| const QItemSelection & | deselected | |||
| ) | [protected, virtual, slot] |
| void KPlato::NodeTreeView::currentChanged | ( | const QModelIndex & | current, | |
| const QModelIndex & | previous | |||
| ) | [protected, virtual, slot] |
| void KPlato::NodeTreeView::keyPressEvent | ( | QKeyEvent * | event | ) | [protected] |
| QItemSelectionModel::SelectionFlags KPlato::NodeTreeView::selectionCommand | ( | const QModelIndex & | index, | |
| const QEvent * | event | |||
| ) | const [protected] |
Definition at line 736 of file kpttaskeditor.cc.
bool KPlato::NodeTreeView::m_arrowKeyNavigation [private] |
Definition at line 171 of file kpttaskeditor.h.
Referenced by arrowKeyNavigation(), keyPressEvent(), and setArrowKeyNavigation().
1.5.1-p1