Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
typedef ItemStyle | StyleType |
Public Member Functions | |
CursorShapeItem (Cursor *cursor, const StyleType *style=itemStyles().get()) | |
virtual | ~CursorShapeItem () |
virtual QList< Visualization::VisualizationAddOn * > | addOns () override |
QPoint | cursorCenter () const |
QSize | cursorSize () const |
QPoint | cursorTopLeft () const |
virtual Visualization::InteractionHandler * | handler () const override |
virtual UpdateType | needsUpdate () override |
void | setCursorCenter (const QPoint ¢er) |
void | setCursorSize (const QSize &size) |
void | setCursorTopLeft (const QPoint &topLeft) |
virtual void | setStyle (const Visualization::ItemStyle *itemStyle) override |
const StyleType * | style () const |
bool | useCenter () const |
Static Public Member Functions | |
static void | addAddOn (Visualization::VisualizationAddOn *addOn) |
static Visualization::InteractionHandler * | defaultClassHandler () |
static Visualization::StyleSet< CursorShapeItem > & | itemStyles () |
static bool | removeAddOn (Visualization::VisualizationAddOn *addOn) |
static void | setDefaultClassHandler (Visualization::InteractionHandler *handler) |
Protected Member Functions | |
virtual void | determineChildren () override |
virtual void | updateGeometry (int availableWidth, int availableHeight) override |
Static Private Member Functions | |
static QList< Visualization::VisualizationAddOn * > & | staticAddOns () |
Private Attributes | |
QPoint | center_ |
Cursor * | cursor_ |
QSize | size_ |
QPoint | topLeft_ |
bool | useCenter_ |
Static Private Attributes | |
static Visualization::InteractionHandler * | defaultClassHandler_ = nullptr |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
Visualization::CursorShapeItem::CursorShapeItem | ( | Cursor * | cursor, |
const StyleType * | style = itemStyles().get() |
||
) |
|
virtual |
|
static |
|
overridevirtual |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
overrideprotectedvirtual |
|
overridevirtual |
|
static |
|
overridevirtual |
|
static |
void Visualization::CursorShapeItem::setCursorCenter | ( | const QPoint & | center | ) |
|
inline |
void Visualization::CursorShapeItem::setCursorTopLeft | ( | const QPoint & | topLeft | ) |
|
inlinestatic |
|
overridevirtual |
|
staticprivate |
|
inline |
|
overrideprotectedvirtual |
|
inline |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |