window: Extend API documentation
Signed-off-by: Victoria Fischer <victoria.fischer@mercedes-benz.com>
This commit is contained in:
parent
c2d28d5b96
commit
912d339489
1 changed files with 14 additions and 2 deletions
16
src/window.h
16
src/window.h
|
@ -679,9 +679,21 @@ public:
|
|||
virtual QSizeF constrainClientSize(const QSizeF &size, SizeMode mode = SizeModeAny) const;
|
||||
QSizeF constrainFrameSize(const QSizeF &size, SizeMode mode = SizeModeAny) const;
|
||||
|
||||
void move(const QPointF &point);
|
||||
/**
|
||||
* Moves the window so that the new topLeft corner of the frame is @p topLeft.
|
||||
*/
|
||||
void move(const QPointF &topLeft);
|
||||
|
||||
/**
|
||||
* Resizes the window to have a new @p size but stay with the top-left corner in the same position.
|
||||
*/
|
||||
void resize(const QSizeF &size);
|
||||
void moveResize(const QRectF &rect);
|
||||
|
||||
/**
|
||||
* Requests a new @p geometry for the window that the implementation will need to adopt
|
||||
* within its possibilities.
|
||||
*/
|
||||
void moveResize(const QRectF &geometry);
|
||||
|
||||
void growHorizontal();
|
||||
void shrinkHorizontal();
|
||||
|
|
Loading…
Reference in a new issue