score::QGraphicsPixmapEnum Class Referencefinal
Inheritance diagram for score::QGraphicsPixmapEnum:
Public Member Functions | |
QGraphicsPixmapEnum (QGraphicsItem *parent) | |
template<std::size_t N> | |
QGraphicsPixmapEnum (const std::array< const char *, N > &arr, const std::array< const char *, 2 *N > &pixmaps, QGraphicsItem *parent) | |
QGraphicsPixmapEnum (std::vector< QString > arr, const std::vector< QString > &pixmaps, QGraphicsItem *parent) | |
void | updateRect () |
void | setupDefaultColumns (int N) |
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
Public Member Functions inherited from score::QGraphicsEnum | |
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< QPixmap > | on_images |
std::vector< QPixmap > | off_images |
Public Attributes inherited from score::QGraphicsEnum | |
std::vector< QString > | array |
int | rows {1} |
int | columns {4} |
Additional Inherited Members | |
Protected Attributes inherited from score::QGraphicsEnum | |
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:
- QGraphicsPixmapEnum.hpp
- QGraphicsPixmapEnum.cpp