Hide menu
cadex::ModelPrsQtQuick_BackgroundStyle Class Reference

Defines a background style for usage in qml code. More...

Inherits QObject.

Signals

void propertyChanged ()
 
void topColorChanged ()
 
void bottomColorChanged ()
 
void transparencyChanged ()
 

Public Member Functions

 ModelPrsQtQuick_BackgroundStyle (ModelPrsQtQuick_ViewPort *theParent=nullptr)
 
QColor topColor () const
 
void setTopColor (const QColor &theColor)
 
QColor bottomColor () const
 
void setBottomColor (const QColor &theColor)
 
const ModelPrs_BackgroundStyleStyle () const
 
void SetStyle (const ModelPrs_BackgroundStyle &theStyle)
 

Properties

QColor topColor
 
QColor bottomColor
 

Detailed Description

Defines a background style for usage in qml code.

Warning
This class is a part of Visualization Toolkit add-on, which is licensed separately from the base CAD Exchanger SDK.

The following code snippet demonstrates an usage:

ModelPrsQtQuick_ViewPort {
backgroundStyle: ModelPrsQtQuick_BackgroundStyle {
topColor: "#303030"
bottomColor: "#303030"
}
}
See also
ModelPrsQtQuick_BackgroundStyle