Q_PROPERTY USER true
This commit is contained in:
parent
d0a888ab74
commit
f614117d96
@ -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;
|
||||
|
||||
|
@ -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 )
|
||||
|
@ -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 )
|
||||
|
||||
|
@ -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 )
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 )
|
||||
|
@ -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 )
|
||||
|
@ -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 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user