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
  • 9 static public members inherited from QObject

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.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.