KWin
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
KWin::Placement Class Reference

#include <placement.h>

Public Member Functions

 Placement ()
 
void place (Window *c, const QRectF &area)
 
void placeSmart (Window *c, const QRectF &area, PlacementPolicy next=PlacementUnknown)
 
void placeCentered (Window *c, const QRectF &area, PlacementPolicy next=PlacementUnknown)
 
void reinitCascading ()
 
void reinitCascading (VirtualDesktop *desktop)
 
void cascadeIfCovering (Window *c, const QRectF &area)
 
void cascadeDesktop ()
 
void unclutterDesktop ()
 

Static Public Member Functions

static const char * policyToString (PlacementPolicy policy)
 

Detailed Description

Definition at line 28 of file placement.h.

Constructor & Destructor Documentation

◆ Placement()

KWin::Placement::Placement ( )
explicit

Definition at line 32 of file placement.cpp.

Member Function Documentation

◆ cascadeDesktop()

void KWin::Placement::cascadeDesktop ( )

Cascades all clients on the current desktop

Definition at line 633 of file placement.cpp.

◆ cascadeIfCovering()

void KWin::Placement::cascadeIfCovering ( Window * window,
const QRectF & area )

Cascade the window until it no longer fully overlaps any other window

Definition at line 586 of file placement.cpp.

◆ place()

void KWin::Placement::place ( Window * c,
const QRectF & area )

Places the client c according to the workspace's layout policy

Definition at line 40 of file placement.cpp.

◆ placeCentered()

void KWin::Placement::placeCentered ( Window * c,
const QRectF & area,
PlacementPolicy next = PlacementUnknown )

Place windows centered, on top of all others

Definition at line 438 of file placement.cpp.

◆ placeSmart()

void KWin::Placement::placeSmart ( Window * window,
const QRectF & area,
PlacementPolicy next = PlacementUnknown )

Place the client c according to a really smart placement algorithm :-)

Definition at line 159 of file placement.cpp.

◆ policyToString()

const char * KWin::Placement::policyToString ( PlacementPolicy policy)
static

Definition at line 665 of file placement.cpp.

◆ reinitCascading() [1/2]

void KWin::Placement::reinitCascading ( )

Definition at line 343 of file placement.cpp.

◆ reinitCascading() [2/2]

void KWin::Placement::reinitCascading ( VirtualDesktop * desktop)

Definition at line 352 of file placement.cpp.

◆ unclutterDesktop()

void KWin::Placement::unclutterDesktop ( )

Unclutters the current desktop by smart-placing all clients again.

Definition at line 647 of file placement.cpp.


The documentation for this class was generated from the following files: