Envision
A visual programming IDE for object-oriented languages
|
Public Types | |
enum class | CornerType : int { RightAngle , Round , Cut } |
Public Member Functions | |
virtual | ~BoxStyle () override |
void | paint (QPainter *painter, int xOffset, int yOffset, int contentBoxWidth, int contentBoxHeight, QColor customColor) const |
Static Public Member Functions | |
static QBrush | fixGradient (const QBrush &gradientBrush, int x, int y) |
Public Attributes | |
Property< QBrush > | background {this, "backgroundBrush"} |
Property< CornerType > | corner {this, "cornerType"} |
Property< int > | cornerRadius {this, "cornerRadius"} |
Protected Member Functions | |
QPainterPath | getRectanglePath (qreal x, qreal y, int width, int height) const |
void | simplifiedPaint (QPainter *painter, int xOffset, int yOffset, int contentBoxWidth, int contentBoxHeight, QColor customColor) const |
void | unoptimizedPaint (QPainter *painter, int xOffset, int yOffset, int contentBoxWidth, int contentBoxHeight, QColor customColor) const |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
|
strong |
|
overridevirtual |
|
inlinestatic |
|
protected |
void Visualization::BoxStyle::paint | ( | QPainter * | painter, |
int | xOffset, | ||
int | yOffset, | ||
int | contentBoxWidth, | ||
int | contentBoxHeight, | ||
QColor | customColor | ||
) | const |
|
protected |
|
protected |
Property<QBrush> Visualization::BoxStyle::background {this, "backgroundBrush"} |
Property<CornerType> Visualization::BoxStyle::corner {this, "cornerType"} |
Property<int> Visualization::BoxStyle::cornerRadius {this, "cornerRadius"} |