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

#include <workspace_wrapper.h>

Inheritance diagram for KWin::DeclarativeScriptWorkspaceWrapper:
KWin::WorkspaceWrapper

Public Member Functions

QQmlListProperty< KWin::Windowwindows ()
 
 DeclarativeScriptWorkspaceWrapper (QObject *parent=nullptr)
 
- Public Member Functions inherited from KWin::WorkspaceWrapper
WindowactiveWindow () const
 
void setActiveWindow (Window *window)
 
QString currentActivity () const
 
void setCurrentActivity (const QString &activity)
 
QSize desktopGridSize () const
 
int desktopGridWidth () const
 
int desktopGridHeight () const
 
int workspaceWidth () const
 
int workspaceHeight () const
 
QSize workspaceSize () const
 
KWin::OutputactiveScreen () const
 
QList< KWin::Output * > screens () const
 
QStringList activityList () const
 
QSize virtualScreenSize () const
 
QRect virtualScreenGeometry () const
 
QPoint cursorPos () const
 
QList< VirtualDesktop * > desktops () const
 
VirtualDesktopcurrentDesktop () const
 
void setCurrentDesktop (VirtualDesktop *desktop)
 
Q_INVOKABLE KWin::OutputscreenAt (const QPointF &pos) const
 
Q_INVOKABLE KWin::TileManagertilingForScreen (const QString &screenName) const
 
Q_INVOKABLE KWin::TileManagertilingForScreen (KWin::Output *output) const
 
Q_SCRIPTABLE QRectF clientArea (ClientAreaOption option, KWin::Output *output, KWin::VirtualDesktop *desktop) const
 
Q_SCRIPTABLE QRectF clientArea (ClientAreaOption option, KWin::Window *client) const
 
Q_SCRIPTABLE QRectF clientArea (ClientAreaOption option, const KWin::Window *client) const
 
Q_SCRIPTABLE void createDesktop (int position, const QString &name) const
 
Q_SCRIPTABLE void removeDesktop (KWin::VirtualDesktop *desktop) const
 
Q_SCRIPTABLE QString supportInformation () const
 
QList< KWin::Window * > stackingOrder () const
 
Q_INVOKABLE void raiseWindow (KWin::Window *window)
 
Q_SCRIPTABLE KWin::WindowgetClient (qulonglong windowId)
 
Q_INVOKABLE QList< KWin::Window * > windowAt (const QPointF &pos, int count=1) const
 
Q_INVOKABLE bool isEffectActive (const QString &pluginId) const
 

Static Public Member Functions

static qsizetype countWindowList (QQmlListProperty< KWin::Window > *window)
 
static KWin::WindowatWindowList (QQmlListProperty< KWin::Window > *windows, qsizetype index)
 

Properties

QQmlListProperty< KWin::Windowwindows
 
- Properties inherited from KWin::WorkspaceWrapper
QList< KWin::VirtualDesktop * > desktops
 
KWin::VirtualDesktopcurrentDesktop
 
KWin::WindowactiveWindow
 
QSize desktopGridSize
 
int desktopGridWidth
 
int desktopGridHeight
 
int workspaceWidth
 
int workspaceHeight
 
QSize workspaceSize
 
KWin::OutputactiveScreen
 
QList< KWin::Output * > screens
 
QString currentActivity
 
QStringList activities
 
QSize virtualScreenSize
 
QRect virtualScreenGeometry
 
QList< KWin::Window * > stackingOrder
 
QPoint cursorPos
 

Additional Inherited Members

- Public Types inherited from KWin::WorkspaceWrapper
enum  ClientAreaOption {
  PlacementArea , MovementArea , MaximizeArea , MaximizeFullArea ,
  FullScreenArea , WorkArea , FullArea , ScreenArea
}
 
enum  ElectricBorder {
  ElectricTop , ElectricTopRight , ElectricRight , ElectricBottomRight ,
  ElectricBottom , ElectricBottomLeft , ElectricLeft , ElectricTopLeft ,
  ELECTRIC_COUNT , ElectricNone
}
 
- Public Slots inherited from KWin::WorkspaceWrapper
void slotSwitchDesktopNext ()
 
void slotSwitchDesktopPrevious ()
 
void slotSwitchDesktopRight ()
 
void slotSwitchDesktopLeft ()
 
void slotSwitchDesktopUp ()
 
void slotSwitchDesktopDown ()
 
void slotSwitchToNextScreen ()
 
void slotSwitchToPrevScreen ()
 
void slotSwitchToRightScreen ()
 
void slotSwitchToLeftScreen ()
 
void slotSwitchToAboveScreen ()
 
void slotSwitchToBelowScreen ()
 
void slotWindowToNextScreen ()
 
void slotWindowToPrevScreen ()
 
void slotWindowToRightScreen ()
 
void slotWindowToLeftScreen ()
 
void slotWindowToAboveScreen ()
 
void slotWindowToBelowScreen ()
 
void slotToggleShowDesktop ()
 
void slotWindowMaximize ()
 
void slotWindowMaximizeVertical ()
 
void slotWindowMaximizeHorizontal ()
 
void slotWindowMinimize ()
 
void slotWindowShade ()
 
void slotWindowRaise ()
 
void slotWindowLower ()
 
void slotWindowRaiseOrLower ()
 
void slotActivateAttentionWindow ()
 
void slotWindowMoveLeft ()
 
void slotWindowMoveRight ()
 
void slotWindowMoveUp ()
 
void slotWindowMoveDown ()
 
void slotWindowExpandHorizontal ()
 
void slotWindowExpandVertical ()
 
void slotWindowShrinkHorizontal ()
 
void slotWindowShrinkVertical ()
 
void slotWindowQuickTileLeft ()
 
void slotWindowQuickTileRight ()
 
void slotWindowQuickTileTop ()
 
void slotWindowQuickTileBottom ()
 
void slotWindowQuickTileTopLeft ()
 
void slotWindowQuickTileTopRight ()
 
void slotWindowQuickTileBottomLeft ()
 
void slotWindowQuickTileBottomRight ()
 
void slotSwitchWindowUp ()
 
void slotSwitchWindowDown ()
 
void slotSwitchWindowRight ()
 
void slotSwitchWindowLeft ()
 
void slotIncreaseWindowOpacity ()
 
void slotLowerWindowOpacity ()
 
void slotWindowOperations ()
 
void slotWindowClose ()
 
void slotWindowMove ()
 
void slotWindowResize ()
 
void slotWindowAbove ()
 
void slotWindowBelow ()
 
void slotWindowOnAllDesktops ()
 
void slotWindowFullScreen ()
 
void slotWindowNoBorder ()
 
void slotWindowToNextDesktop ()
 
void slotWindowToPreviousDesktop ()
 
void slotWindowToDesktopRight ()
 
void slotWindowToDesktopLeft ()
 
void slotWindowToDesktopUp ()
 
void slotWindowToDesktopDown ()
 
void sendClientToScreen (KWin::Window *client, KWin::Output *output)
 
void showOutline (const QRect &geometry)
 
void showOutline (int x, int y, int width, int height)
 
void hideOutline ()
 
- Signals inherited from KWin::WorkspaceWrapper
void windowAdded (KWin::Window *window)
 
void windowRemoved (KWin::Window *window)
 
void windowActivated (KWin::Window *window)
 
void desktopsChanged ()
 
void desktopLayoutChanged ()
 
void screensChanged ()
 
void currentActivityChanged (const QString &id)
 
void activitiesChanged (const QString &id)
 
void activityAdded (const QString &id)
 
void activityRemoved (const QString &id)
 
void virtualScreenSizeChanged ()
 
void virtualScreenGeometryChanged ()
 
void currentDesktopChanged (KWin::VirtualDesktop *previous)
 
void cursorPosChanged ()
 
- Protected Member Functions inherited from KWin::WorkspaceWrapper
 WorkspaceWrapper (QObject *parent=nullptr)
 

Detailed Description

Definition at line 376 of file workspace_wrapper.h.

Constructor & Destructor Documentation

◆ DeclarativeScriptWorkspaceWrapper()

KWin::DeclarativeScriptWorkspaceWrapper::DeclarativeScriptWorkspaceWrapper ( QObject * parent = nullptr)
explicit

Definition at line 439 of file workspace_wrapper.cpp.

Member Function Documentation

◆ atWindowList()

KWin::Window * KWin::DeclarativeScriptWorkspaceWrapper::atWindowList ( QQmlListProperty< KWin::Window > * windows,
qsizetype index )
static

Definition at line 434 of file workspace_wrapper.cpp.

◆ countWindowList()

qsizetype KWin::DeclarativeScriptWorkspaceWrapper::countWindowList ( QQmlListProperty< KWin::Window > * window)
static

Definition at line 429 of file workspace_wrapper.cpp.

◆ windows()

QQmlListProperty< KWin::Window > KWin::DeclarativeScriptWorkspaceWrapper::windows ( )

Property Documentation

◆ windows

QQmlListProperty< KWin::Window > KWin::DeclarativeScriptWorkspaceWrapper::windows
read

Definition at line 380 of file workspace_wrapper.h.


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