UserItemSelectionModel class reference
[Model/View module]
Declaration
#include <QtLua/UserItemSelectionModel>
namespace QtLua {
class UserItemSelectionModel;
};
This class is a member of the QtLua namespace.
This class is declared in QtLua/qtluauseritemselectionmodel.hh source file, line 43.
Description
This class can be used with UserItemModel if you want to prevent multiple selection which contains childs and associated parents at the same time.
Members
Functions
- UserItemSelectionModel(UserItemModel *model)
- UserItemSelectionModel(UserItemModel *model, QObject *parent)
Private static functions
- static void select_childs(const QModelIndex &index, QItemSelection &selection)
- static void select_parents(const QModelIndex &index, QItemSelection &selection)
Slots
Members detail
UserItemSelectionModel(UserItemModel *model)
This constructor is declared in QtLua/qtluauseritemselectionmodel.hh source file, line 47.
UserItemSelectionModel(UserItemModel *model, QObject *parent)
This constructor is declared in QtLua/qtluauseritemselectionmodel.hh source file, line 48.
virtual void select(const QModelIndex &index, QItemSelectionModel::SelectionFlags command)
This virtual Qt slot is declared in QtLua/qtluauseritemselectionmodel.hh source file, line 51.
This member is a Qt slot.
virtual void select(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command)
This virtual Qt slot is declared in QtLua/qtluauseritemselectionmodel.hh source file, line 52.
This member is a Qt slot.
static void select_childs(const QModelIndex &index, QItemSelection &selection)
This function is declared in QtLua/qtluauseritemselectionmodel.hh source file, line 55.
This member access is private.
static void select_parents(const QModelIndex &index, QItemSelection &selection)
This function is declared in QtLua/qtluauseritemselectionmodel.hh source file, line 56.
This member access is private.