41 #ifndef OPTIKA_TREEVIEW_HPP_
42 #define OPTIKA_TREEVIEW_HPP_
97 void showRow(
int row,
const QModelIndex& parent);
105 void hideRow(
int row,
const QModelIndex& parent);
143 #endif //OPTIKA_TREEVIEW_HPP_
The delegate used in the MVC framework for Optika.
void checkForOtherBadValues()
Checks to see if there are any other invalid indicies. If there are, it dequeues the next invalidInde...
void hideRow(int row, const QModelIndex &parent)
Used to change the visiblity of a row from shown to hidden.
TreeView(TreeModel *treeModel, Delegate *delegate, QWidget *parent=0)
Constructs a TreeView.
Class used to view TreeModels.
QQueue< invalidIndex > invalidInicies
A Queue containing any invalid indicies that need to be delt with.
void showRow(int row, const QModelIndex &parent)
Used to change the visiblity of a row from hidden to shown.
std::pair< QModelIndex, QString > invalidIndex
A pair representing an invalidIndex and why it's invalid.
void handleBadValue(QModelIndex badValueIndex, QString message)
Handles any badValue signals that might be emitted by the TreeModel.
TreeModel is a type of QAbstractItemModel that has a Tree like structure.
The delegate used for the Optika package. For non-documented functions please refer to the Qt API...