setText/setGraphic/setGraphicSource need to be slots
This commit is contained in:
parent
6f2419de4c
commit
12cd9a16b1
@ -43,18 +43,13 @@ public:
|
|||||||
void setCorner( const QskCorner& );
|
void setCorner( const QskCorner& );
|
||||||
QskCorner corner() const;
|
QskCorner corner() const;
|
||||||
|
|
||||||
void setText( const QString& text );
|
|
||||||
QString text() const;
|
QString text() const;
|
||||||
|
|
||||||
void setTextOptions( const QskTextOptions& );
|
void setTextOptions( const QskTextOptions& );
|
||||||
QskTextOptions textOptions() const;
|
QskTextOptions textOptions() const;
|
||||||
|
|
||||||
void setGraphicSource( const QUrl& url );
|
|
||||||
QUrl graphicSource() const;
|
QUrl graphicSource() const;
|
||||||
|
|
||||||
void setGraphic( const QskGraphic& );
|
|
||||||
QskGraphic graphic() const;
|
QskGraphic graphic() const;
|
||||||
|
|
||||||
bool hasGraphic() const;
|
bool hasGraphic() const;
|
||||||
|
|
||||||
void setFlat( bool );
|
void setFlat( bool );
|
||||||
@ -65,6 +60,11 @@ public:
|
|||||||
virtual QSizeF contentsSizeHint() const override;
|
virtual QSizeF contentsSizeHint() const override;
|
||||||
virtual QRectF layoutRect() const override;
|
virtual QRectF layoutRect() const override;
|
||||||
|
|
||||||
|
public Q_SLOTS:
|
||||||
|
void setText( const QString& text );
|
||||||
|
void setGraphicSource( const QUrl& url );
|
||||||
|
void setGraphic( const QskGraphic& );
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void cornerChanged();
|
void cornerChanged();
|
||||||
void borderWidthChanged();
|
void borderWidthChanged();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user