RectangleItem Class Reference

MathVizAnimator: RectangleItem Class Reference
MathVizAnimator  0.0.1
RectangleItem Class Reference
Inheritance diagram for RectangleItem:
[legend]
Collaboration diagram for RectangleItem:
[legend]

Public Member Functions

 RectangleItem (BasicItem *parent=nullptr)
 
void paint (QPainter *painter) override
 
- Public Member Functions inherited from GeometryItem
 GeometryItem (const QString &qml_file, BasicItem *parent=nullptr)
 
QColor filledColor () const
 
void setFilledColor (const QColor &new_filled_color)
 
qreal filledOpacity () const
 
void setFilledOpacity (const qreal &new_filled_opacity)
 
QColor borderColor () const
 
void setBorderColor (const QColor &new_border_color)
 
qreal borderOpacity () const
 
void setBorderOpacity (const qreal &new_border_opacity)
 
qreal borderWidth () const
 
void setBorderWidth (const qreal &new_border_width)
 
QStringList editableProperties () const override
 Returns the properties which can be edited by the user in a QStringList. More...
 
- Public Member Functions inherited from AbstractItem
 AbstractItem (const QString &qml_file, BasicItem *parent=nullptr)
 Constructor for MyClass. TODO. More...
 
QString name () const
 
void setName (const QString &name)
 
virtual QJsonObject toJson () const
 
virtual QStringList editablePropertiesParent () const
 Returns the parents properties which can be edited by the user in a QStringList. More...
 
PropertyMap allItemProperties () const
 
PropertyMap itemProperties () const
 
PropertyMap parentItemProperties () const
 
void paintItem (QPainter *painter)
 Short explanation. More...
 

Additional Inherited Members

- Signals inherited from GeometryItem
void filledColorChanged ()
 
void filledOpacityChanged ()
 
void borderColorChanged ()
 
void borderOpacityChanged ()
 
void borderWidthChanged ()
 
- Signals inherited from AbstractItem
void nameChanged (const QString &new_name)
 
- Protected Member Functions inherited from GeometryItem
void preparePainterForBorder (QPainter *painter)
 
void preparePainterForFill (QPainter *painter)
 
- Properties inherited from GeometryItem
QColor filledColor
 
qreal filledOpacity
 
QColor borderColor
 
qreal borderOpacity
 
qreal borderWidth
 
- Properties inherited from AbstractItem
QString name
 
QString file
 

The documentation for this class was generated from the following files:
  • /home/docs/checkouts/readthedocs.org/user_builds/mathvizanimator/checkouts/latest/libs/mva_gui/include/items/rectangle.h
  • /home/docs/checkouts/readthedocs.org/user_builds/mathvizanimator/checkouts/latest/libs/mva_gui/src/items/rectangle.cpp