equal
deleted
inserted
replaced
90 void setOpacity(qreal opacity); |
90 void setOpacity(qreal opacity); |
91 qreal opacity(); |
91 qreal opacity(); |
92 void setEffect(const QString & effect); |
92 void setEffect(const QString & effect); |
93 void enableEffect(bool enable); |
93 void enableEffect(bool enable); |
94 void toggleEffect(); |
94 void toggleEffect(); |
95 void grabFocus(); |
95 virtual void grabFocus(); |
96 QObject *setVisibilityAnimator(const QString& animator); |
96 QObject *setVisibilityAnimator(const QString& animator); |
97 void visibilityFinished(bool visiblity); |
97 void visibilityFinished(bool visiblity); |
98 void moveBy(int dx, int dy); |
98 void moveBy(int dx, int dy); |
99 void anchorTo(const QString & id, int x = 0, int y = 0); |
99 void anchorTo(const QString & id, int x = 0, int y = 0); |
100 void unAnchor(); |
100 void unAnchor(); |
110 int zValue(); |
110 int zValue(); |
111 void setZValue(int z); |
111 void setZValue(int z); |
112 //NB: deprecate repaint: if this is needed, then there are bugs that are preventing updates |
112 //NB: deprecate repaint: if this is needed, then there are bugs that are preventing updates |
113 void repaint() { m_widget->update(); } |
113 void repaint() { m_widget->update(); } |
114 void onContextMenuEvent(QGraphicsSceneContextMenuEvent * ev); |
114 void onContextMenuEvent(QGraphicsSceneContextMenuEvent * ev); |
|
115 virtual bool editable() { return false; } |
|
116 virtual bool useNativeCopyPasteMenu() { return false; } |
|
117 virtual void cut() {} |
|
118 virtual void copy() {} |
|
119 virtual void paste() {} |
|
120 virtual void setContextMenuStatus(bool on) { Q_UNUSED(on); } |
115 |
121 |
116 signals: |
122 signals: |
117 void hidden(); |
123 void hidden(); |
118 void shown(); |
124 void shown(); |
119 void externalMouseEvent( |
125 void externalMouseEvent( |