|
|
template<std::size_t N> |
| | QGraphicsCombo (const std::array< const char *, N > &arr, QGraphicsItem *parent) |
| |
|
| QGraphicsCombo (QStringList arr, QGraphicsItem *parent) |
| |
|
| QGraphicsCombo (QGraphicsItem *parent) |
| |
|
void | init () |
| |
|
void | setRect (const QRectF &r) |
| |
|
void | setValue (int v) |
| |
|
int | value () const |
| |
|
void | setEditable (bool b) |
| | Whether a value that is not in the list may be entered.
|
| |
|
bool | editable () const noexcept |
| |
|
void | openEditor (QPointF scenePos) |
| | Show the drop-down at that position in scene coordinates.
|
| |
|
void | sliderMoved () |
| |
|
void | sliderReleased () |
| |
|
void | valueEdited (const QString &text) |
| | Text matching none of the entries; only sent when editable().
|
| |
|
void | contextMenuEvent (QGraphicsSceneContextMenuEvent *event) override |
| |
|
void | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
| |
|
void | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
| |
|
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
| |
|
bool | sceneEvent (QEvent *event) override |
| |
|
QRectF | boundingRect () const override |
| |
|
void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override |
| |
|
|
QStringList | array |
| |
|
bool | moving = false |
| |
The documentation for this class was generated from the following files: