Inheritance diagram for score::QGraphicsEnum:
score::QGraphicsPixmapEnum

Public Member Functions

template<std::size_t N>
 QGraphicsEnum (const std::array< const char *, N > &arr, QGraphicsItem *parent)
 
 QGraphicsEnum (std::vector< QString > arr, QGraphicsItem *parent)
 
 QGraphicsEnum (QGraphicsItem *parent)
 
void updateRect ()
 
void setRect (const QRectF &r)
 
void setOneLineRect ()
 
void setValue (int32_t v)
 
int value () const
 
QRectF boundingRect () const override
 
void currentIndexChanged (int arg_1)
 

Public Attributes

std::vector< QString > array
 
int rows {1}
 
int columns {4}
 

Protected Attributes

int m_value {}
 
int m_clicking {-1}
 
QRectF m_rect
 
QRectF m_smallRect
 
int m_actualRows {1}
 
int m_actualColumns {1}
 

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