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  

Private static functions  

  • static void select_childs(const QModelIndex &index, QItemSelection &selection)
  • static void select_parents(const QModelIndex &index, QItemSelection &selection)

Slots  

  • virtual void select(const QModelIndex &index, QItemSelectionModel::SelectionFlags command)
  • virtual void select(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command)

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.

Valid XHTML 1.0 StrictGenerated by diaxen on Sat Mar 30 16:23:03 2013 using MkDoc