RhythmGame 1.4.3
Loading...
Searching...
No Matches
Classes | Public Types | Signals | Public Member Functions | Properties | List of all members
Lr2SelectBarModel Class Reference

#include <Lr2SelectBarModel.h>

Inheritance diagram for Lr2SelectBarModel:
Inheritance graph
[legend]
Collaboration diagram for Lr2SelectBarModel:
Collaboration graph
[legend]

Public Types

enum  Roles {
  RowRole = Qt::UserRole + 1 , SlotRole , SourceRowRole , EntryKeyRole ,
  TextRole , TitleTypeRole , BodyTypeRole , PlayLevelRole ,
  DifficultyRole , KeymodeRole , ChartLikeRole , EntryLikeRole ,
  FolderLikeRole , RankingRole , LampRole , RankRole ,
  LabelMaskRole , GraphLampsRole , GraphRanksRole , RawItemRole ,
  ArenaAvailabilityRole
}
 

Signals

void sourceModelChanged ()
 
void logicalCountChanged ()
 
void rowCountLimitChanged ()
 
void centerRowChanged ()
 
void currentIndexChanged ()
 
void visualStateChanged ()
 
void slotOffsetChanged ()
 
void cellsChanged ()
 

Public Member Functions

 Lr2SelectBarModel (QObject *parent=nullptr)
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 
QHash< int, QByteArray > roleNames () const override
 
Lr2SelectItemModel * sourceModel () const
 
void setSourceModel (Lr2SelectItemModel *model)
 
int logicalCount () const
 
void setLogicalCount (int count)
 
int rowCountLimit () const
 
void setRowCountLimit (int count)
 
int centerRow () const
 
void setCenterRow (int row)
 
int currentIndex () const
 
void setCurrentIndex (int index)
 
Lr2SelectVisualState * visualState () const
 
void setVisualState (Lr2SelectVisualState *state)
 
int slotOffset () const
 
QVariantList cells () const
 
Q_INVOKABLE void rebuild ()
 
Q_INVOKABLE void scrollBy (int delta)
 

Properties

QML_ELEMENTLr2SelectItemModel * sourceModel
 
int logicalCount
 
int rowCountLimit
 
int centerRow
 
int currentIndex
 
Lr2SelectVisualState * visualState
 
int slotOffset
 
QVariantList cells
 

Member Enumeration Documentation

◆ Roles

Enumerator
RowRole 
SlotRole 
SourceRowRole 
EntryKeyRole 
TextRole 
TitleTypeRole 
BodyTypeRole 
PlayLevelRole 
DifficultyRole 
KeymodeRole 
ChartLikeRole 
EntryLikeRole 
FolderLikeRole 
RankingRole 
LampRole 
RankRole 
LabelMaskRole 
GraphLampsRole 
GraphRanksRole 
RawItemRole 
ArenaAvailabilityRole 

Constructor & Destructor Documentation

◆ Lr2SelectBarModel()

Lr2SelectBarModel::Lr2SelectBarModel ( QObject *  parent = nullptr)
explicit

Member Function Documentation

◆ cells()

QVariantList Lr2SelectBarModel::cells ( ) const

◆ cellsChanged

void Lr2SelectBarModel::cellsChanged ( )
signal

◆ centerRow()

int Lr2SelectBarModel::centerRow ( ) const

◆ centerRowChanged

void Lr2SelectBarModel::centerRowChanged ( )
signal

◆ currentIndex()

int Lr2SelectBarModel::currentIndex ( ) const

◆ currentIndexChanged

void Lr2SelectBarModel::currentIndexChanged ( )
signal

◆ data()

QVariant Lr2SelectBarModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
override

◆ logicalCount()

int Lr2SelectBarModel::logicalCount ( ) const

◆ logicalCountChanged

void Lr2SelectBarModel::logicalCountChanged ( )
signal

◆ rebuild()

void Lr2SelectBarModel::rebuild ( )

◆ roleNames()

QHash< int, QByteArray > Lr2SelectBarModel::roleNames ( ) const
override

◆ rowCount()

int Lr2SelectBarModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
override

◆ rowCountLimit()

int Lr2SelectBarModel::rowCountLimit ( ) const

◆ rowCountLimitChanged

void Lr2SelectBarModel::rowCountLimitChanged ( )
signal

◆ scrollBy()

void Lr2SelectBarModel::scrollBy ( int  delta)

◆ setCenterRow()

void Lr2SelectBarModel::setCenterRow ( int  row)

◆ setCurrentIndex()

void Lr2SelectBarModel::setCurrentIndex ( int  index)

◆ setLogicalCount()

void Lr2SelectBarModel::setLogicalCount ( int  count)

◆ setRowCountLimit()

void Lr2SelectBarModel::setRowCountLimit ( int  count)

◆ setSourceModel()

void Lr2SelectBarModel::setSourceModel ( Lr2SelectItemModel *  model)

◆ setVisualState()

void Lr2SelectBarModel::setVisualState ( Lr2SelectVisualState *  state)

◆ slotOffset()

int Lr2SelectBarModel::slotOffset ( ) const

◆ slotOffsetChanged

void Lr2SelectBarModel::slotOffsetChanged ( )
signal

◆ sourceModel()

Lr2SelectItemModel * Lr2SelectBarModel::sourceModel ( ) const

◆ sourceModelChanged

void Lr2SelectBarModel::sourceModelChanged ( )
signal

◆ visualState()

Lr2SelectVisualState * Lr2SelectBarModel::visualState ( ) const

◆ visualStateChanged

void Lr2SelectBarModel::visualStateChanged ( )
signal

Property Documentation

◆ cells

QVariantList Lr2SelectBarModel::cells
read

◆ centerRow

int Lr2SelectBarModel::centerRow
readwrite

◆ currentIndex

int Lr2SelectBarModel::currentIndex
readwrite

◆ logicalCount

int Lr2SelectBarModel::logicalCount
readwrite

◆ rowCountLimit

int Lr2SelectBarModel::rowCountLimit
readwrite

◆ slotOffset

int Lr2SelectBarModel::slotOffset
read

◆ sourceModel

QML_ELEMENTLr2SelectItemModel* Lr2SelectBarModel::sourceModel
readwrite

◆ visualState

Lr2SelectVisualState* Lr2SelectBarModel::visualState
readwrite

The documentation for this class was generated from the following files: