LeechCraft 0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
LC::Util::ItemsCheckable< NoField_v > Struct Reference

#include "itemsmodel.h"

Inheritance diagram for LC::Util::ItemsCheckable< NoField_v >:
Collaboration diagram for LC::Util::ItemsCheckable< NoField_v >:

Public Member Functions

bool IsChecked (int row) const
QVariant GetDataForRole (detail::RoleTag< Qt::CheckStateRole >, const auto &, int row, int column)
template<typename Item>
bool SetData (Item &, int row, int column, const QVariant &value, int role)
Public Member Functions inherited from LC::Util::detail::Extension
 Extension (auto &&...)
Public Member Functions inherited from LC::Util::detail::ParameterizedExtension< Qt::CheckState >
 ParameterizedExtension (const std::tuple< Params... > &args)

Static Public Member Functions

static Qt::ItemFlags GetFlags (int column)
Static Public Member Functions inherited from LC::Util::detail::Extension
static Qt::ItemFlags GetFlags (auto &&...)
static bool SetData (auto &&...)
static void GetDataForRole ()

Public Attributes

QHash< int, Qt::CheckState > RowsStates_
Public Attributes inherited from LC::Util::detail::ParameterizedExtension< Qt::CheckState >
Qt::CheckState Param_

Detailed Description

Definition at line 350 of file itemsmodel.h.

Member Function Documentation

◆ GetDataForRole()

QVariant LC::Util::ItemsCheckable< NoField_v >::GetDataForRole ( detail::RoleTag< Qt::CheckStateRole > ,
const auto & ,
int row,
int column )
inline

◆ GetFlags()

Qt::ItemFlags LC::Util::ItemsCheckable< NoField_v >::GetFlags ( int column)
inlinestatic

Definition at line 356 of file itemsmodel.h.

◆ IsChecked()

bool LC::Util::ItemsCheckable< NoField_v >::IsChecked ( int row) const
inline

◆ SetData()

template<typename Item>
bool LC::Util::ItemsCheckable< NoField_v >::SetData ( Item & ,
int row,
int column,
const QVariant & value,
int role )
inline

Definition at line 372 of file itemsmodel.h.

References RowsStates_.

Member Data Documentation

◆ RowsStates_

QHash<int, Qt::CheckState> LC::Util::ItemsCheckable< NoField_v >::RowsStates_

Definition at line 352 of file itemsmodel.h.

Referenced by GetDataForRole(), IsChecked(), and SetData().


The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.18450.gabe19ee3b0-build/leechcraft-0.6.70-18450-gabe19ee3b0/src/util/models/itemsmodel.h