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