|
|
| Line 238: |
Line 238: |
| | * ''Q_INVOKABLE bool'' '''untab(const QRect &toGeometry=QRect())''' | | * ''Q_INVOKABLE bool'' '''untab(const QRect &toGeometry=QRect())''' |
| | | | |
| − | == KWin::ClientGroup == | + | == KWin::TabGroup == |
| | | | |
| | === Read-only Properties === | | === Read-only Properties === |
| | | | |
| − | * ''QSize'' '''minSize''': Combined minimum size of all clients in the group.
| |
| − | * ''QSize'' '''maxSize''': Combined maximum size of all clients in the group.
| |
| − | * ''int'' '''visibleClientIndex''': The index of the visible Client in this group.
| |
| − | * ''QList<KWin::Client*>'' '''clients''': The Clients in this group.
| |
| | === Read-write Properties === | | === Read-write Properties === |
| | | | |
| − | * ''KWin::Client'' '''visible''': Currently visible client in this group.
| |
| | === Signals === | | === Signals === |
| | | | |
| − | * '''visibleChanged()''': Emitted when the visible Client in this group changes.
| + | * '''minSizeChanged()''' |
| − | * '''minSizeChanged()''': Emitted when the group's minimum size changes. | + | * '''maxSizeChanged()''' |
| − | * '''maxSizeChanged()''': Emitted when the group's maximum size changes. | + | |
| | === Functions === | | === Functions === |
| − |
| |
| − | * '''add(KWin::Client *c, int before=-1, bool becomeVisible=false)''': Adds c to the group before before in the list. If becomeVisible is true then the added client will become also the visible client.
| |
| − | * '''remove(int index, const QRect &newGeom=QRect(), bool toNullGroup=false)''': Remove the client at index index from the group. If newGeom is set then the client will move and resize to the specified geometry, otherwise it will stay where the group is located. If toNullGroup is not true then the client will be added to a new group of its own.
| |
| − | * '''remove(KWin::Client *c, const QRect &newGeom=QRect(), bool toNullGroup=false)''': Remove c from the group. If newGeom is set then the client will move and resize to the specified geometry, otherwise it will stay where the group is located. If toNullGroup is not true then the client will be added to a new group of its own.
| |
| − | * '''removeAll()''': Remove all clients from this group. Results in all clients except the first being moved to a group of their own.
| |
| − | * '''closeAll()''': Close all clients in this group.
| |
| − | * '''move(int index, int before)''': Move the client at index index to the position before the client at index before in the list.
| |
| − | * '''move(KWin::Client *c, KWin::Client *before)''': Move c to the position before before in the list.
| |
| − | * '''displayClientMenu(int index, const QPoint &pos)''': Display the right-click client menu belonging to the client at index index at the global coordinates specified by pos.
| |
| − | * '''displayClientMenu(KWin::Client *c, const QPoint &pos)''': Display the right-click client menu belonging to c at the global coordinates specified by pos.
| |
| − | * ''int'' '''indexOfClient(KWin::Client *c)''': Returns the list index of c.
| |
| − | * ''bool'' '''contains(KWin::Client *c)''': Returns whether or not this group contains c.
| |
Toplevel is an abstract base class for all "Windows". You cannot use it directly, but everything available on Toplevel is available on Client, too.
The Client class encapsulates a window decoration frame.
Inherits: KWin::Toplevel