Added properties to auto hide widgets to improve CSS styling options

This commit is contained in:
Uwe Kindler
2022-10-26 09:51:37 +02:00
parent 875a358600
commit b43770de37
6 changed files with 32 additions and 21 deletions

View File

@@ -54,12 +54,12 @@ void CPushButton::paintEvent(QPaintEvent *event)
painter.drawControl(QStyle::CE_PushButton, option);
}
CPushButton::Orientation CPushButton::orientation() const
CPushButton::Orientation CPushButton::buttonOrientation() const
{
return m_Orientation;
}
void CPushButton::setOrientation(Orientation orientation)
void CPushButton::setButtonOrientation(Orientation orientation)
{
m_Orientation = orientation;
}