Sur cette page

Qt3DRender::QLineWidth Class

class Qt3DRender::QLineWidth

Spécifie la largeur des lignes tramées. Plus d'informations...

En-tête : #include <QLineWidth>
CMake : find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake : QT += 3drender
En QML : LineWidth
Hérite : Qt3DRender::QRenderState
Statut : Déclassé

Propriétés

Fonctions publiques

bool smooth() const
float value() const

Emplacements publics

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

Signaux

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

Description détaillée

Propriété Documentation

smooth : bool

Cette propriété indique si le rendu des lignes lisses est activé.

Lorsqu'il est activé, le lissage des lignes permet d'obtenir un rendu anticrénelé des lignes. La valeur par défaut est false.

Fonctions d'accès :

bool smooth() const
void setSmooth(bool enabled)

Signal de notification :

void smoothChanged(bool enabled)

value : float

Spécifie la valeur de la largeur à utiliser.

Fonctions d'accès :

float value() const
void setValue(float value)

Signal de notification :

void valueChanged(float value)

© 2026 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.