QLineWidth Class

(Qt3DRender::QLineWidth)

Specifies the width of rasterized lines. More...

Header: #include <QLineWidth>
qmake: QT += 3drender
Since: Qt 5.10
Instantiated By: LineWidth
Inherits: Qt3DRender::QRenderState

Properties

Public Functions

QLineWidth(Qt3DCore::QNode *parent = nullptr)
virtual ~QLineWidth()
bool smooth() const
float value() const

Public Slots

void setSmooth(bool enabled)
void setValue(float value)

Signals

void smoothChanged(bool enabled)
void valueChanged(float value)

Static Public Members

const QMetaObject staticMetaObject

Additional Inherited Members

Detailed Description

Specifies the width of rasterized lines.

Property Documentation

smooth : bool

Access functions:

bool smooth() const
void setSmooth(bool enabled)

Notifier signal:

void smoothChanged(bool enabled)

value : float

Specifies the width value to be used.

Access functions:

float value() const
void setValue(float value)

Notifier signal:

void valueChanged(float value)

Member Function Documentation

QLineWidth::QLineWidth(Qt3DCore::QNode *parent = nullptr)

Default constructs an instance of QLineWidth.

[virtual] QLineWidth::~QLineWidth()

Destroys the instance of QLineWidth. The destructor is virtual.