signals improved
This commit is contained in:
parent
539efdff68
commit
b398bfcc62
@ -97,7 +97,7 @@ void QskTextLabel::setTextOptions( const QskTextOptions& options )
|
||||
resetImplicitSize();
|
||||
update();
|
||||
|
||||
Q_EMIT textOptionsChanged();
|
||||
Q_EMIT textOptionsChanged( options );
|
||||
}
|
||||
|
||||
QskTextOptions QskTextLabel::textOptions() const
|
||||
@ -174,7 +174,7 @@ void QskTextLabel::setTextColor( const QColor& color )
|
||||
if ( oldColor != color )
|
||||
{
|
||||
update();
|
||||
Q_EMIT textColorChanged();
|
||||
Q_EMIT textColorChanged( color );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -69,8 +69,8 @@ class QSK_EXPORT QskTextLabel : public QskControl
|
||||
|
||||
Q_SIGNALS:
|
||||
void textChanged( const QString& );
|
||||
void textColorChanged();
|
||||
void textOptionsChanged();
|
||||
void textColorChanged( const QColor& );
|
||||
void textOptionsChanged( const QskTextOptions& );
|
||||
void fontRoleChanged();
|
||||
void alignmentChanged();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user