updateLayout -> updateResources
This commit is contained in:
parent
74867144b5
commit
de36bf5371
@ -207,7 +207,7 @@ QSizeF MyToggleButton::contentsSizeHint(
|
|||||||
return hint;
|
return hint;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MyToggleButton::updateLayout()
|
void MyToggleButton::updateResources()
|
||||||
{
|
{
|
||||||
for( int i = 0; i < 2; i++ )
|
for( int i = 0; i < 2; i++ )
|
||||||
{
|
{
|
||||||
|
@ -41,7 +41,7 @@ class MyToggleButton : public QskAbstractButton
|
|||||||
void invertedChanged( bool );
|
void invertedChanged( bool );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void updateLayout() override;
|
void updateResources() override;
|
||||||
QSizeF contentsSizeHint( Qt::SizeHint, const QSizeF& ) const override;
|
QSizeF contentsSizeHint( Qt::SizeHint, const QSizeF& ) const override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user