LeechCraft 0.6.70-19424-g027e980fd1
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::CategorySelector::CheckableModel Class Referencefinal
Inheritance diagram for LC::Util::CategorySelector::CheckableModel:
Collaboration diagram for LC::Util::CategorySelector::CheckableModel:

Public Member Functions

 CheckableModel (CategorySelector &selector)
QVariant headerData (int section, Qt::Orientation orientation, int role) const override
Qt::ItemFlags flags (const QModelIndex &index) const override
QVariant data (const QModelIndex &index, int role) const override
bool setData (const QModelIndex &index, const QVariant &value, int role) override
QStringList Selections () const
QModelIndexList SelectedIndexes () const
void SetSelected (const QStringList &names)
void SelectAll ()
void SelectNone ()
void SetCaption (const QString &caption)

Detailed Description

Definition at line 18 of file categoryselector.cpp.

Constructor & Destructor Documentation

◆ CheckableModel()

LC::Util::CategorySelector::CheckableModel::CheckableModel ( CategorySelector & selector)
inlineexplicit

Definition at line 24 of file categoryselector.cpp.

References LC::Util::CategorySelector::CategorySelector().

Here is the call graph for this function:

Member Function Documentation

◆ data()

QVariant LC::Util::CategorySelector::CheckableModel::data ( const QModelIndex & index,
int role ) const
inlineoverride

Definition at line 49 of file categoryselector.cpp.

◆ flags()

Qt::ItemFlags LC::Util::CategorySelector::CheckableModel::flags ( const QModelIndex & index) const
inlineoverride

Definition at line 40 of file categoryselector.cpp.

References flags().

Referenced by flags().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ headerData()

QVariant LC::Util::CategorySelector::CheckableModel::headerData ( int section,
Qt::Orientation orientation,
int role ) const
inlineoverride

Definition at line 32 of file categoryselector.cpp.

◆ SelectAll()

void LC::Util::CategorySelector::CheckableModel::SelectAll ( )
inline

Definition at line 100 of file categoryselector.cpp.

◆ SelectedIndexes()

QModelIndexList LC::Util::CategorySelector::CheckableModel::SelectedIndexes ( ) const
inline

Definition at line 85 of file categoryselector.cpp.

◆ Selections()

QStringList LC::Util::CategorySelector::CheckableModel::Selections ( ) const
inline

Definition at line 76 of file categoryselector.cpp.

◆ SelectNone()

void LC::Util::CategorySelector::CheckableModel::SelectNone ( )
inline

Definition at line 108 of file categoryselector.cpp.

◆ SetCaption()

void LC::Util::CategorySelector::CheckableModel::SetCaption ( const QString & caption)
inline

Definition at line 114 of file categoryselector.cpp.

◆ setData()

bool LC::Util::CategorySelector::CheckableModel::setData ( const QModelIndex & index,
const QVariant & value,
int role )
inlineoverride

Definition at line 60 of file categoryselector.cpp.

◆ SetSelected()

void LC::Util::CategorySelector::CheckableModel::SetSelected ( const QStringList & names)
inline

Definition at line 94 of file categoryselector.cpp.


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.19424.g027e980fd1-build/leechcraft-0.6.70-19424-g027e980fd1/src/util/tags/categoryselector.cpp