Some more properties on Client

* Read-only: minSize/maxSize
* Read-write: noBorder
icc-effect-5.14.5
Martin Gräßlin 2012-01-27 08:08:00 +01:00
parent 6185bf00d3
commit 70828a3ee4
1 changed files with 15 additions and 0 deletions

View File

@ -222,6 +222,21 @@ class Client
* The "Window Tabs" Group this Client belongs to.
**/
Q_PROPERTY(KWin::ClientGroup* clientGroup READ clientGroup NOTIFY clientGroupChanged)
/**
* Minimum size as specified in WM_NORMAL_HINTS
**/
Q_PROPERTY(QSize minSize READ minSize)
/**
* Maximum size as specified in WM_NORMAL_HINTS
**/
Q_PROPERTY(QSize maxSize READ maxSize)
/**
* Whether the window has a decoration or not.
* This property is not allowed to be set by applications themselves.
* The decision whether a window has a border or not belongs to the window manager.
* If this property gets abused by application developers, it will be removed again.
**/
Q_PROPERTY(bool noBorder READ noBorder WRITE setNoBorder)
public:
Client(Workspace* ws);
Window wrapperId() const;