#include <Optika_treeview.hpp>
List of all members.
Detailed Description
Class used to view TreeModels
Member Typedef Documentation
A pair representing an invalidIndex and why it's invalid
Constructor & Destructor Documentation
Constructs a TreeView.
- Parameters:
-
| treeModel | The Tree Model being used with the TreeView. |
| delegate | The delegate to be used with the TreeView. |
Member Function Documentation
| void Optika::TreeView::checkForOtherBadValues |
( |
| ) |
[slot] |
Checks to see if there are any other invalid indicies. If there are, it dequeues the next invalidIndex from the invalidIndicies queue and calls the handleBadValue function with it.
| void Optika::TreeView::handleBadValue |
( |
QModelIndex |
badValueIndex, |
|
|
QString |
message |
|
) |
| [slot] |
Handles any badValue signals that might be emitted by the TreeModel.
- Parameters:
-
| badValueIndex | The index of the item with the bad value. |
| A | brief message explaining what happened to cause the treeitem to have an invalid value. |
| void Optika::TreeView::hideRow |
( |
int |
row, |
|
|
const QModelIndex & |
parent |
|
) |
| [slot] |
Used to change the visiblity of a row from shown to hidden.
- Parameters:
-
| row | The row to be shwon. |
| parent | The parent of the item to be hidden. |
| void Optika::TreeView::showRow |
( |
int |
row, |
|
|
const QModelIndex & |
parent |
|
) |
| [slot] |
Used to change the visiblity of a row from hidden to shown.
- Parameters:
-
| row | The row to be shwon. |
| parent | The parent of the item to be shown. |
The documentation for this class was generated from the following files:
- Optika_treeview.hpp
- Optika_treeview.cpp