|
| OverviewEffect () |
|
| ~OverviewEffect () override |
|
int | layout () const |
|
void | setLayout (int layout) |
|
bool | ignoreMinimized () const |
|
bool | organizedGrid () const |
|
bool | filterWindows () const |
|
void | setFilterWindows (bool filterWindows) |
|
int | animationDuration () const |
|
void | setAnimationDuration (int duration) |
|
qreal | overviewPartialActivationFactor () const |
|
bool | overviewGestureInProgress () const |
|
qreal | transitionPartialActivationFactor () const |
|
bool | transitionGestureInProgress () const |
|
qreal | gridPartialActivationFactor () const |
|
bool | gridGestureInProgress () const |
|
QPointF | desktopOffset () const |
|
int | requestedEffectChainPosition () const override |
|
bool | borderActivated (ElectricBorder border) override |
|
void | reconfigure (ReconfigureFlags flags) override |
|
void | grabbedKeyboardEvent (QKeyEvent *keyEvent) override |
|
Q_INVOKABLE void | swapDesktops (KWin::VirtualDesktop *from, KWin::VirtualDesktop *to) |
|
| QuickSceneEffect (QObject *parent=nullptr) |
|
| ~QuickSceneEffect () override |
|
bool | isRunning () const |
|
void | setRunning (bool running) |
|
QuickSceneView * | activeView () const |
|
Q_INVOKABLE QuickSceneView * | viewForScreen (Output *screen) const |
|
Q_INVOKABLE QuickSceneView * | viewAt (const QPoint &pos) const |
|
Q_INVOKABLE KWin::QuickSceneView * | getView (Qt::Edge edge) |
|
Q_INVOKABLE void | activateView (QuickSceneView *view) |
|
QQmlComponent * | delegate () const |
|
void | setDelegate (QQmlComponent *delegate) |
|
QUrl | source () const |
|
void | setSource (const QUrl &url) |
|
bool | eventFilter (QObject *watched, QEvent *event) override |
|
void | prePaintScreen (ScreenPrePaintData &data, std::chrono::milliseconds presentTime) override |
|
void | paintScreen (const RenderTarget &renderTarget, const RenderViewport &viewport, int mask, const QRegion ®ion, Output *screen) override |
|
bool | isActive () const override |
|
void | windowInputMouseEvent (QEvent *event) override |
|
void | grabbedKeyboardEvent (QKeyEvent *keyEvent) override |
|
bool | touchDown (qint32 id, const QPointF &pos, std::chrono::microseconds time) override |
|
bool | touchMotion (qint32 id, const QPointF &pos, std::chrono::microseconds time) override |
|
bool | touchUp (qint32 id, std::chrono::microseconds time) override |
|
Q_INVOKABLE void | checkItemDraggedOutOfScreen (QQuickItem *item) |
|
Q_INVOKABLE void | checkItemDroppedOutOfScreen (const QPointF &globalPos, QQuickItem *item) |
|
| Effect (QObject *parent=nullptr) |
|
| ~Effect () override |
|
virtual void | postPaintScreen () |
|
virtual void | prePaintWindow (EffectWindow *w, WindowPrePaintData &data, std::chrono::milliseconds presentTime) |
|
virtual void | paintWindow (const RenderTarget &renderTarget, const RenderViewport &viewport, EffectWindow *w, int mask, QRegion region, WindowPaintData &data) |
|
virtual void | postPaintWindow (EffectWindow *w) |
|
virtual bool | provides (Feature) |
|
virtual bool | perform (Feature feature, const QVariantList &arguments) |
|
virtual void | drawWindow (const RenderTarget &renderTarget, const RenderViewport &viewport, EffectWindow *w, int mask, const QRegion ®ion, WindowPaintData &data) |
|
virtual QString | debug (const QString ¶meter) const |
|
virtual bool | tabletToolEvent (QTabletEvent *event) |
|
virtual bool | tabletToolButtonEvent (uint button, bool pressed, quint64 tabletToolId) |
|
virtual bool | tabletPadButtonEvent (uint button, bool pressed, void *tabletPadId) |
|
virtual bool | tabletPadStripEvent (int number, int position, bool isFinger, void *tabletPadId) |
|
virtual bool | tabletPadRingEvent (int number, int position, bool isFinger, void *tabletPadId) |
|
template<typename T > |
int | animationTime (int defaultDuration) |
|
virtual bool | blocksDirectScanout () const |
|
|
enum | {
PAINT_WINDOW_OPAQUE = 1 << 0
, PAINT_WINDOW_TRANSLUCENT = 1 << 1
, PAINT_WINDOW_TRANSFORMED = 1 << 2
, PAINT_SCREEN_REGION = 1 << 3
,
PAINT_SCREEN_TRANSFORMED = 1 << 4
, PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS = 1 << 5
, PAINT_SCREEN_BACKGROUND_FIRST = 1 << 6
} |
|
enum | Feature {
Nothing = 0
, ScreenInversion
, Blur
, Contrast
,
HighlightWindows
} |
|
enum | ReconfigureFlag { ReconfigureAll = 1 << 0
} |
|
static bool | supported () |
|
static QPointF | cursorPos () |
|
static double | animationTime (const KConfigGroup &cfg, const QString &key, int defaultTime) |
|
static double | animationTime (int defaultTime) |
|
static double | interpolate (double x, double y, double a) |
|
static void | setPositionTransformations (WindowPaintData &data, QRect ®ion, EffectWindow *w, const QRect &r, Qt::AspectRatioMode aspect) |
|
virtual QVariantMap | initialProperties (Output *screen) |
|
Definition at line 17 of file overvieweffect.h.
void KWin::OverviewEffect::reconfigure |
( |
ReconfigureFlags | flags | ) |
|
|
overridevirtual |
Called when configuration changes (either the effect's or KWin's global).
In OpenGL based compositing, the frameworks ensures that the context is current when the Effect is reconfigured. If this method is called from within the Effect it is required to ensure that the context is current if the implementation does OpenGL calls.
Reimplemented from KWin::Effect.
Definition at line 172 of file overvieweffect.cpp.
int KWin::OverviewEffect::requestedEffectChainPosition |
( |
| ) |
const |
|
overridevirtual |
Reimplement this method to indicate where in the Effect chain the Effect should be placed.
A low number indicates early chain position, thus before other Effects got called, a high number indicates a late position. The returned number should be in the interval [0, 100]. The default value is 0.
In KWin4 this information was provided in the Effect's desktop file as property X-KDE-Ordering. In the case of Scripted Effects this property is still used.
- Since
- 5.0
Reimplemented from KWin::Effect.
Definition at line 278 of file overvieweffect.cpp.