|
KWin
|
#include <effectframe.h>
Public Member Functions | |
| EffectFrameQuickScene (EffectFrameStyle style, bool staticSize, QPoint position, Qt::Alignment alignment) | |
| ~EffectFrameQuickScene () override | |
| EffectFrameStyle | style () const |
| bool | isStatic () const |
| QFont | font () const |
| void | setFont (const QFont &font) |
| Q_SIGNAL void | fontChanged (const QFont &font) |
| QIcon | icon () const |
| void | setIcon (const QIcon &icon) |
| Q_SIGNAL void | iconChanged (const QIcon &icon) |
| QSize | iconSize () const |
| void | setIconSize (const QSize &iconSize) |
| Q_SIGNAL void | iconSizeChanged (const QSize &iconSize) |
| QString | text () const |
| void | setText (const QString &text) |
| Q_SIGNAL void | textChanged (const QString &text) |
| qreal | frameOpacity () const |
| void | setFrameOpacity (qreal frameOpacity) |
| Q_SIGNAL void | frameOpacityChanged (qreal frameOpacity) |
| bool | crossFadeEnabled () const |
| void | setCrossFadeEnabled (bool enabled) |
| Q_SIGNAL void | crossFadeEnabledChanged (bool enabled) |
| qreal | crossFadeProgress () const |
| void | setCrossFadeProgress (qreal progress) |
| Q_SIGNAL void | crossFadeProgressChanged (qreal progress) |
| Qt::Alignment | alignment () const |
| void | setAlignment (Qt::Alignment alignment) |
| QPoint | position () const |
| void | setPosition (const QPoint &point) |
Public Member Functions inherited from KWin::OffscreenQuickScene | |
| Private () | |
| OffscreenQuickScene (ExportMode exportMode=ExportMode::Texture, bool alpha=true) | |
| ~OffscreenQuickScene () | |
| QQuickItem * | rootItem () const |
| void | setSource (const QUrl &source) |
| void | setSource (const QUrl &source, const QVariantMap &initialProperties) |
Public Member Functions inherited from KWin::OffscreenQuickView | |
| void | releaseResources () |
| void | updateTouchState (Qt::TouchPointState state, qint32 id, const QPointF &pos) |
| OffscreenQuickView (ExportMode exportMode=ExportMode::Texture, bool alpha=true) | |
| ~OffscreenQuickView () | |
| QSize | size () const |
| void | setGeometry (const QRect &rect) |
| QRect | geometry () const |
| void | setOpacity (qreal opacity) |
| qreal | opacity () const |
| bool | hasAlphaChannel () const |
| void | update () |
| QQuickItem * | contentItem () const |
| QQuickWindow * | window () const |
| void | setVisible (bool visible) |
| Marks the window as visible/invisible This can be used to release resources used by the window The default is true. | |
| bool | isVisible () const |
| void | show () |
| void | hide () |
| bool | automaticRepaint () const |
| void | setAutomaticRepaint (bool set) |
| GLTexture * | bufferAsTexture () |
| QImage | bufferAsImage () const |
| void | forwardMouseEvent (QEvent *mouseEvent) |
| void | forwardKeyEvent (QKeyEvent *keyEvent) |
| bool | forwardTouchDown (qint32 id, const QPointF &pos, std::chrono::microseconds time) |
| bool | forwardTouchMotion (qint32 id, const QPointF &pos, std::chrono::microseconds time) |
| bool | forwardTouchUp (qint32 id, std::chrono::microseconds time) |
Properties | |
| QFont | font |
| QIcon | icon |
| QSize | iconSize |
| QString | text |
| qreal | frameOpacity |
| bool | crossFadeEnabled |
| qreal | crossFadeProgress |
Additional Inherited Members | |
Public Types inherited from KWin::OffscreenQuickView | |
| enum class | ExportMode { Texture , Image } |
Signals inherited from KWin::OffscreenQuickView | |
| void | repaintNeeded () |
| void | geometryChanged (const QRect &oldGeometry, const QRect &newGeometry) |
| void | renderRequested () |
| void | sceneChanged () |
Public Attributes inherited from KWin::OffscreenQuickScene | |
| std::unique_ptr< QQmlComponent > | qmlComponent |
| std::unique_ptr< QQuickItem > | quickItem |
Public Attributes inherited from KWin::OffscreenQuickView | |
| std::unique_ptr< QQuickWindow > | m_view |
| std::unique_ptr< QQuickRenderControl > | m_renderControl |
| std::unique_ptr< QOffscreenSurface > | m_offscreenSurface |
| std::unique_ptr< QOpenGLContext > | m_glcontext |
| std::unique_ptr< QOpenGLFramebufferObject > | m_fbo |
| std::unique_ptr< QTimer > | m_repaintTimer |
| QImage | m_image |
| std::unique_ptr< GLTexture > | m_textureExport |
| bool | m_useBlit = false |
| bool | m_visible = true |
| bool | m_hasAlphaChannel = true |
| bool | m_automaticRepaint = true |
| QList< QEventPoint > | touchPoints |
| QPointingDevice * | touchDevice |
| ulong | lastMousePressTime = 0 |
| Qt::MouseButton | lastMousePressButton = Qt::NoButton |
Definition at line 32 of file effectframe.h.
| KWin::EffectFrameQuickScene::EffectFrameQuickScene | ( | EffectFrameStyle | style, |
| bool | staticSize, | ||
| QPoint | position, | ||
| Qt::Alignment | alignment ) |
Definition at line 17 of file effectframe.cpp.
|
overridedefault |
| Qt::Alignment KWin::EffectFrameQuickScene::alignment | ( | ) | const |
Definition at line 161 of file effectframe.cpp.
| bool KWin::EffectFrameQuickScene::crossFadeEnabled | ( | ) | const |
Definition at line 135 of file effectframe.cpp.
| Q_SIGNAL void KWin::EffectFrameQuickScene::crossFadeEnabledChanged | ( | bool | enabled | ) |
| qreal KWin::EffectFrameQuickScene::crossFadeProgress | ( | ) | const |
Definition at line 148 of file effectframe.cpp.
| Q_SIGNAL void KWin::EffectFrameQuickScene::crossFadeProgressChanged | ( | qreal | progress | ) |
| QFont KWin::EffectFrameQuickScene::font | ( | ) | const |
Definition at line 62 of file effectframe.cpp.
| Q_SIGNAL void KWin::EffectFrameQuickScene::fontChanged | ( | const QFont & | font | ) |
| qreal KWin::EffectFrameQuickScene::frameOpacity | ( | ) | const |
Definition at line 122 of file effectframe.cpp.
| Q_SIGNAL void KWin::EffectFrameQuickScene::frameOpacityChanged | ( | qreal | frameOpacity | ) |
| QIcon KWin::EffectFrameQuickScene::icon | ( | ) | const |
Definition at line 78 of file effectframe.cpp.
| Q_SIGNAL void KWin::EffectFrameQuickScene::iconChanged | ( | const QIcon & | icon | ) |
| QSize KWin::EffectFrameQuickScene::iconSize | ( | ) | const |
Definition at line 90 of file effectframe.cpp.
| Q_SIGNAL void KWin::EffectFrameQuickScene::iconSizeChanged | ( | const QSize & | iconSize | ) |
| bool KWin::EffectFrameQuickScene::isStatic | ( | ) | const |
Definition at line 57 of file effectframe.cpp.
| QPoint KWin::EffectFrameQuickScene::position | ( | ) | const |
Definition at line 176 of file effectframe.cpp.
| void KWin::EffectFrameQuickScene::setAlignment | ( | Qt::Alignment | alignment | ) |
Definition at line 166 of file effectframe.cpp.
| void KWin::EffectFrameQuickScene::setCrossFadeEnabled | ( | bool | enabled | ) |
Definition at line 140 of file effectframe.cpp.
| void KWin::EffectFrameQuickScene::setCrossFadeProgress | ( | qreal | progress | ) |
Definition at line 153 of file effectframe.cpp.
| void KWin::EffectFrameQuickScene::setFont | ( | const QFont & | font | ) |
Definition at line 67 of file effectframe.cpp.
| void KWin::EffectFrameQuickScene::setFrameOpacity | ( | qreal | frameOpacity | ) |
Definition at line 127 of file effectframe.cpp.
| void KWin::EffectFrameQuickScene::setIcon | ( | const QIcon & | icon | ) |
Definition at line 83 of file effectframe.cpp.
| void KWin::EffectFrameQuickScene::setIconSize | ( | const QSize & | iconSize | ) |
Definition at line 95 of file effectframe.cpp.
| void KWin::EffectFrameQuickScene::setPosition | ( | const QPoint & | point | ) |
Definition at line 181 of file effectframe.cpp.
| void KWin::EffectFrameQuickScene::setText | ( | const QString & | text | ) |
Definition at line 111 of file effectframe.cpp.
| EffectFrameStyle KWin::EffectFrameQuickScene::style | ( | ) | const |
Definition at line 52 of file effectframe.cpp.
| QString KWin::EffectFrameQuickScene::text | ( | ) | const |
Definition at line 106 of file effectframe.cpp.
| Q_SIGNAL void KWin::EffectFrameQuickScene::textChanged | ( | const QString & | text | ) |
|
read |
Definition at line 41 of file effectframe.h.
|
read |
Definition at line 42 of file effectframe.h.
|
read |
Definition at line 36 of file effectframe.h.
|
read |
Definition at line 40 of file effectframe.h.
|
read |
Definition at line 37 of file effectframe.h.
|
read |
Definition at line 38 of file effectframe.h.
|
read |
Definition at line 39 of file effectframe.h.