Use width-for-height Layout Management.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=692753
This commit is contained in:
parent
4f778d6e2d
commit
bdb1418dbb
@ -66,12 +66,12 @@ QSizeF HBoxLayout::maximumSize() const
|
|||||||
return QSizeF();
|
return QSizeF();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool HBoxLayout::hasHeightForWidth() const
|
bool HBoxLayout::hasWidthForHeight() const
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
qreal HBoxLayout::heightForWidth(qreal w) const
|
qreal HBoxLayout::widthForHeight(qreal w) const
|
||||||
{
|
{
|
||||||
return qreal();
|
return qreal();
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,8 @@ class PLASMA_EXPORT HBoxLayout : public Layout
|
|||||||
QSizeF minimumSize() const;
|
QSizeF minimumSize() const;
|
||||||
QSizeF maximumSize() const;
|
QSizeF maximumSize() const;
|
||||||
|
|
||||||
bool hasHeightForWidth() const;
|
bool hasWidthForHeight() const;
|
||||||
qreal heightForWidth(qreal w) const;
|
qreal widthForHeight(qreal w) const;
|
||||||
|
|
||||||
QRectF geometry() const;
|
QRectF geometry() const;
|
||||||
void setGeometry(const QRectF& geometry);
|
void setGeometry(const QRectF& geometry);
|
||||||
|
Loading…
Reference in New Issue
Block a user