score::QGraphicsCombo Class Referencefinal
Inheritance diagram for score::QGraphicsCombo:

Public Member Functions

template<std::size_t N>
 QGraphicsCombo (const std::array< const char *, N > &arr, QGraphicsItem *parent)
 
 QGraphicsCombo (QStringList arr, QGraphicsItem *parent)
 
 QGraphicsCombo (QGraphicsItem *parent)
 
void setRect (const QRectF &r)
 
void setValue (int v)
 
int value () const
 
void sliderMoved ()
 
void sliderReleased ()
 
void mousePressEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override
 
QRectF boundingRect () const override
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 

Public Attributes

QStringList array
 
bool moving = false
 

Friends

struct DefaultComboImpl
 

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