W3cubDocs

/Qt 5.11

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)

Additional Inherited Members

  • 1 public variable inherited from QObject
  • 10 static public members inherited from QObject
  • 2 protected functions inherited from Qt3DCore::QNode
  • 9 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5/qt3drender-qlinewidth.html