Q_PROPERTY USER true

This commit is contained in:
Aldo Nicolas Bruno 2024-02-23 23:44:07 +01:00 committed by uwerat
parent d0a888ab74
commit f614117d96
8 changed files with 8 additions and 8 deletions

View File

@ -28,7 +28,7 @@ class QSK_EXPORT QskAbstractButton : public QskControl
WRITE setPressed NOTIFY pressedChanged FINAL )
Q_PROPERTY( bool checked READ isChecked
WRITE setChecked NOTIFY checkedChanged FINAL )
WRITE setChecked NOTIFY checkedChanged USER true FINAL )
using Inherited = QskControl;

View File

@ -13,7 +13,7 @@ class QSK_EXPORT QskBoundedValueInput : public QskBoundedInput
Q_OBJECT
Q_PROPERTY( qreal value READ value
WRITE setValue NOTIFY valueChanged )
WRITE setValue NOTIFY valueChanged USER true )
Q_PROPERTY( qreal valueAsRatio READ valueAsRatio
WRITE setValueAsRatio NOTIFY valueChanged )

View File

@ -24,7 +24,7 @@ class QSK_EXPORT QskComboBox : public QskControl
WRITE setCurrentIndex NOTIFY currentIndexChanged )
Q_PROPERTY( QString currentText READ currentText
NOTIFY currentIndexChanged )
NOTIFY currentIndexChanged USER true)
Q_PROPERTY( int count READ count )

View File

@ -15,7 +15,7 @@ class QSK_EXPORT QskGraphicLabel : public QskControl
{
Q_OBJECT
Q_PROPERTY( QUrl source READ source WRITE setSource NOTIFY sourceChanged )
Q_PROPERTY( QUrl source READ source WRITE setSource NOTIFY sourceChanged USER true )
Q_PROPERTY( bool mirror READ mirror WRITE setMirror NOTIFY mirrorChanged )

View File

@ -17,7 +17,7 @@ class QSK_EXPORT QskListView : public QskScrollView
WRITE setSelectionMode NOTIFY selectionModeChanged FINAL )
Q_PROPERTY( int selectedRow READ selectedRow
WRITE setSelectedRow NOTIFY selectedRowChanged FINAL )
WRITE setSelectedRow NOTIFY selectedRowChanged USER true FINAL )
Q_PROPERTY( QskTextOptions textOptions READ textOptions
WRITE setTextOptions RESET resetTextOptions

View File

@ -30,7 +30,7 @@ class QSK_EXPORT QskTabBar : public QskBox
Q_PROPERTY( int count READ count NOTIFY countChanged FINAL )
Q_PROPERTY( int currentIndex READ currentIndex
WRITE setCurrentIndex NOTIFY currentIndexChanged FINAL )
WRITE setCurrentIndex NOTIFY currentIndexChanged USER true FINAL )
Q_PROPERTY( QskTextOptions textOptions READ textOptions
WRITE setTextOptions NOTIFY textOptionsChanged )

View File

@ -15,7 +15,7 @@ class QSK_EXPORT QskTextInput : public QskControl
{
Q_OBJECT
Q_PROPERTY( QString text READ text WRITE setText NOTIFY textChanged )
Q_PROPERTY( QString text READ text WRITE setText NOTIFY textChanged USER true)
Q_PROPERTY( QString description READ description
WRITE setDescription NOTIFY descriptionChanged )

View File

@ -15,7 +15,7 @@ class QSK_EXPORT QskTextLabel : public QskControl
{
Q_OBJECT
Q_PROPERTY( QString text READ text WRITE setText NOTIFY textChanged )
Q_PROPERTY( QString text READ text WRITE setText NOTIFY textChanged USER true )
Q_PROPERTY( QskFontRole fontRole READ fontRole
WRITE setFontRole RESET resetFontRole NOTIFY fontRoleChanged )