KWin
|
#include <x11_standalone_edge.h>
Public Member Functions | |
WindowBasedEdge (ScreenEdges *parent) | |
~WindowBasedEdge () override | |
quint32 | window () const override |
quint32 | approachWindow () const override |
![]() | |
Edge (ScreenEdges *parent) | |
~Edge () override | |
bool | isLeft () const |
bool | isTop () const |
bool | isRight () const |
bool | isBottom () const |
bool | isCorner () const |
bool | isScreenEdge () const |
bool | triggersFor (const QPoint &cursorPos) const |
bool | check (const QPoint &cursorPos, const QDateTime &triggerTime, bool forceNoPushBack=false) |
void | markAsTriggered (const QPoint &cursorPos, const QDateTime &triggerTime) |
bool | isReserved () const |
const QRect & | approachGeometry () const |
ElectricBorder | border () const |
void | reserve (QObject *object, const char *slot) |
const QHash< QObject *, QByteArray > & | callBacks () const |
void | reserveTouchCallBack (QAction *action, TouchCallback::CallbackFunction callback=nullptr) |
void | unreserveTouchCallBack (QAction *action) |
void | startApproaching () |
void | stopApproaching () |
bool | isApproaching () const |
void | setClient (Window *client) |
Window * | client () const |
void | setOutput (Output *output) |
Output * | output () const |
const QRect & | geometry () const |
void | setTouchAction (ElectricBorderAction action) |
bool | activatesForPointer () const |
bool | activatesForTouchGesture () const |
Protected Member Functions | |
void | doGeometryUpdate () override |
void | doActivate () override |
void | doDeactivate () override |
void | doStartApproaching () override |
void | doStopApproaching () override |
void | doUpdateBlocking () override |
![]() | |
ScreenEdges * | edges () |
const ScreenEdges * | edges () const |
bool | isBlocked () const |
Additional Inherited Members | |
![]() | |
void | reserve () |
void | unreserve () |
void | unreserve (QObject *object) |
void | setBorder (ElectricBorder border) |
void | setAction (ElectricBorderAction action) |
void | setGeometry (const QRect &geometry) |
void | updateApproaching (const QPointF &point) |
void | checkBlocking () |
![]() | |
void | approaching (ElectricBorder border, qreal factor, const QRect &geometry) |
void | activatesForTouchGestureChanged () |
Definition at line 25 of file x11_standalone_edge.h.
|
explicit |
Definition at line 25 of file x11_standalone_edge.cpp.
|
override |
Definition at line 32 of file x11_standalone_edge.cpp.
|
inlineoverridevirtual |
The approach window is a special window to notice when get close to the screen border but not yet triggering the border.
Reimplemented from KWin::Edge.
Definition at line 60 of file x11_standalone_edge.h.
|
overrideprotectedvirtual |
Reimplemented from KWin::Edge.
Definition at line 36 of file x11_standalone_edge.cpp.
|
overrideprotectedvirtual |
Reimplemented from KWin::Edge.
Definition at line 43 of file x11_standalone_edge.cpp.
|
overrideprotectedvirtual |
Reimplemented from KWin::Edge.
Definition at line 85 of file x11_standalone_edge.cpp.
|
overrideprotectedvirtual |
Reimplemented from KWin::Edge.
Definition at line 93 of file x11_standalone_edge.cpp.
|
overrideprotectedvirtual |
Reimplemented from KWin::Edge.
Definition at line 104 of file x11_standalone_edge.cpp.
|
overrideprotectedvirtual |
Reimplemented from KWin::Edge.
Definition at line 115 of file x11_standalone_edge.cpp.
|
inlineoverridevirtual |
The window id of the native window representing the edge. Default implementation returns 0
, which means no window.
Reimplemented from KWin::Edge.
Definition at line 55 of file x11_standalone_edge.h.