NAME

Qt::Gui::QItemSelectionModel

PUBLIC METHODS

QItemSelectionModel(QAbstractItemModel * model)
QItemSelectionModel(QAbstractItemModel * model, QObject * parent)
~QItemSelectionModel()
void clear()
void clearSelection()
bool columnIntersectsSelection(int column, const QModelIndex & parent)
QModelIndex currentIndex()
bool hasSelection()
bool isColumnSelected(int column, const QModelIndex & parent)
bool isRowSelected(int row, const QModelIndex & parent)
bool isSelected(const QModelIndex & index)
const QAbstractItemModel * model()
void reset()
bool rowIntersectsSelection(int row, const QModelIndex & parent)
void select(const QModelIndex & index, QFlags<QItemSelectionModel::SelectionFlag> command)
void select(const QItemSelection & selection, QFlags<QItemSelectionModel::SelectionFlag> command)
const QItemSelection selection()
void setCurrentIndex(const QModelIndex & index, QFlags<QItemSelectionModel::SelectionFlag> command)

ENUM VALUES

NoUpdate
Clear
Select
Deselect
Toggle
Current
Rows
Columns
SelectCurrent
ToggleCurrent
ClearAndSelect

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html