Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
virtual | ~FrameStyle () override |
virtual void | load (StyleLoader &sl) override |
void | paint (QPainter *painter, int xOffset, int yOffset, int outerWidth, int outerHeight, QColor customColor) const |
Public Attributes | |
Property< QBrush > | bottomBrush {this, "bottomBrush"} |
Property< int > | bottomMargin {this, "bottomMargin"} |
Property< int > | bottomRightShadowWidth {this, "bottomRightShadowWidth"} |
Property< int > | bottomWidth {this, "bottomWidth"} |
Property< QBrush > | contentBrush {this, "contentBrush"} |
Property< QBrush > | leftBrush {this, "leftBrush"} |
Property< int > | leftMargin {this, "leftMargin"} |
Property< int > | leftWidth {this, "leftWidth"} |
Property< QBrush > | rightBrush {this, "rightBrush"} |
Property< int > | rightMargin {this, "rightMargin"} |
Property< int > | rightWidth {this, "rightWidth"} |
Property< QColor > | shadowStartColor {this, "shadowStartColor"} |
Property< QColor > | shadowStopColor {this, "shadowStopColor"} |
Property< QBrush > | topBrush {this, "topBrush"} |
Property< int > | topLeftShadowWidth {this, "topLeftShadowWidth"} |
Property< int > | topMargin {this, "topMargin"} |
Property< int > | topWidth {this, "topWidth"} |
Private Member Functions | |
QColor | shadowColorAt (qreal shadowWidth, qreal pixelswayFromFrame) const |
Static Private Member Functions | |
static QColor | colorNeededForBlending (QColor destinationColor, QColor desiredColor) |
Private Attributes | |
std::vector< QColor > | shadowGradient_ |
Colors to use when painting the shadow. More... | |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
|
overridevirtual |
|
staticprivate |
|
overridevirtual |
void Visualization::FrameStyle::paint | ( | QPainter * | painter, |
int | xOffset, | ||
int | yOffset, | ||
int | outerWidth, | ||
int | outerHeight, | ||
QColor | customColor | ||
) | const |
|
private |
Property<QBrush> Visualization::FrameStyle::bottomBrush {this, "bottomBrush"} |
Property<int> Visualization::FrameStyle::bottomMargin {this, "bottomMargin"} |
Property<int> Visualization::FrameStyle::bottomRightShadowWidth {this, "bottomRightShadowWidth"} |
Property<int> Visualization::FrameStyle::bottomWidth {this, "bottomWidth"} |
Property<QBrush> Visualization::FrameStyle::contentBrush {this, "contentBrush"} |
Property<QBrush> Visualization::FrameStyle::leftBrush {this, "leftBrush"} |
Property<int> Visualization::FrameStyle::leftMargin {this, "leftMargin"} |
Property<int> Visualization::FrameStyle::leftWidth {this, "leftWidth"} |
Property<QBrush> Visualization::FrameStyle::rightBrush {this, "rightBrush"} |
Property<int> Visualization::FrameStyle::rightMargin {this, "rightMargin"} |
Property<int> Visualization::FrameStyle::rightWidth {this, "rightWidth"} |
|
private |
Colors to use when painting the shadow.
Property<QColor> Visualization::FrameStyle::shadowStartColor {this, "shadowStartColor"} |
Property<QColor> Visualization::FrameStyle::shadowStopColor {this, "shadowStopColor"} |
Property<QBrush> Visualization::FrameStyle::topBrush {this, "topBrush"} |
Property<int> Visualization::FrameStyle::topLeftShadowWidth {this, "topLeftShadowWidth"} |
Property<int> Visualization::FrameStyle::topMargin {this, "topMargin"} |
Property<int> Visualization::FrameStyle::topWidth {this, "topWidth"} |