KQuickAddons::QuickViewSharedEngine

#include <KQuickAddons/QuickViewSharedEngine>

Inheritance diagram for KQuickAddons::QuickViewSharedEngine:

Public Types

enum  ResizeMode { SizeViewToRootObject, SizeRootObjectToView }
 
- Public Types inherited from QQuickWindow
enum  CreateTextureOption
 
enum  NativeObjectType
 
enum  RenderStage
 
enum  SceneGraphError
 
enum  TextRenderType
 
- Public Types inherited from QWindow
enum  AncestorMode
 
enum  Visibility
 
- Public Types inherited from QSurface
enum  SurfaceClass
 
enum  SurfaceType
 

Properties

ResizeMode resizeMode
 
QUrl source
 
QQmlComponent::Status status
 
- Properties inherited from QQuickWindow
 activeFocusItem
 
 color
 
 contentItem
 
- Properties inherited from QWindow
 active
 
 contentOrientation
 
 flags
 
 height
 
 maximumHeight
 
 maximumWidth
 
 minimumHeight
 
 minimumWidth
 
 modality
 
 opacity
 
 title
 
 visibility
 
 visible
 
 width
 
 x
 
 y
 
- Properties inherited from QObject
 objectName
 

Signals

void resizeModeChanged (QuickViewSharedEngine::ResizeMode resizeMode)
 
void sourceChanged (const QUrl &source)
 
void statusChanged (QQmlComponent::Status status)
 

Public Slots

void setSource (const QUrl &url)
 

Public Member Functions

 QuickViewSharedEngine (QWindow *parent=nullptr)
 
QQmlEngineengine () const
 
QList< QQmlErrorerrors () const
 
QSize initialSize () const
 
ResizeMode resizeMode () const
 
QQmlContextrootContext () const
 
QQuickItemrootObject () const
 
void setResizeMode (ResizeMode)
 
void setTranslationDomain (const QString &translationDomain)
 
QSize sizeHint () const
 
QUrl source () const
 
QQmlComponent::Status status () const
 
QString translationDomain () const
 
- Public Member Functions inherited from QQuickWindow
 QQuickWindow (QWindow *parent)
 
virtual QAccessibleInterfaceaccessibleRoot () const const override
 
QQuickItemactiveFocusItem () const const
 
void activeFocusItemChanged ()
 
void afterAnimating ()
 
void afterRendering ()
 
void afterRenderPassRecording ()
 
void afterSynchronizing ()
 
void beforeRendering ()
 
void beforeRenderPassRecording ()
 
void beforeSynchronizing ()
 
void beginExternalCommands ()
 
bool clearBeforeRendering () const const
 
void closing (QQuickCloseEvent *close)
 
QColor color () const const
 
void colorChanged (const QColor &)
 
QQuickItemcontentItem () const const
 
QSGImageNodecreateImageNode () const const
 
QSGNinePatchNode * createNinePatchNode () const const
 
QSGRectangleNodecreateRectangleNode () const const
 
QSGTexturecreateTextureFromId (uint id, const QSize &size, QQuickWindow::CreateTextureOptions options) const const
 
QSGTexturecreateTextureFromImage (const QImage &image) const const
 
QSGTexturecreateTextureFromImage (const QImage &image, QQuickWindow::CreateTextureOptions options) const const
 
QSGTexturecreateTextureFromNativeObject (QQuickWindow::NativeObjectType type, const void *nativeObjectPtr, int nativeLayout, const QSize &size, QQuickWindow::CreateTextureOptions options) const const
 
qreal effectiveDevicePixelRatio () const const
 
void endExternalCommands ()
 
void frameSwapped ()
 
QImage grabWindow ()
 
const QQuickWindow::GraphicsStateInfographicsStateInfo ()
 
QQmlIncubationControllerincubationController () const const
 
bool isPersistentOpenGLContext () const const
 
bool isPersistentSceneGraph () const const
 
bool isSceneGraphInitialized () const const
 
QQuickItemmouseGrabberItem () const const
 
QOpenGLContextopenglContext () const const
 
void openglContextCreated (QOpenGLContext *context)
 
void releaseResources ()
 
QSGRendererInterfacerendererInterface () const const
 
QOpenGLFramebufferObjectrenderTarget () const const
 
uint renderTargetId () const const
 
QSize renderTargetSize () const const
 
void resetOpenGLState ()
 
void sceneGraphAboutToStop ()
 
void sceneGraphError (QQuickWindow::SceneGraphError error, const QString &message)
 
void sceneGraphInitialized ()
 
void sceneGraphInvalidated ()
 
void scheduleRenderJob (QRunnable *job, QQuickWindow::RenderStage stage)
 
bool sendEvent (QQuickItem *item, QEvent *e)
 
void setClearBeforeRendering (bool enabled)
 
void setColor (const QColor &color)
 
void setPersistentOpenGLContext (bool persistent)
 
void setPersistentSceneGraph (bool persistent)
 
void setRenderTarget (QOpenGLFramebufferObject *fbo)
 
void setRenderTarget (uint fboId, const QSize &size)
 
void update ()
 
- Public Member Functions inherited from QWindow
 QWindow (QScreen *targetScreen)
 
 QWindow (QWindow *parent)
 
void activeChanged ()
 
void alert (int msec)
 
QSize baseSize () const const
 
bool close ()
 
Qt::ScreenOrientation contentOrientation () const const
 
void contentOrientationChanged (Qt::ScreenOrientation orientation)
 
void create ()
 
QCursor cursor () const const
 
void destroy ()
 
qreal devicePixelRatio () const const
 
QString filePath () const const
 
Qt::WindowFlags flags () const const
 
virtual QObjectfocusObject () const const
 
void focusObjectChanged (QObject *object)
 
virtual QSurfaceFormat format () const const override
 
QRect frameGeometry () const const
 
QMargins frameMargins () const const
 
QPoint framePosition () const const
 
QRect geometry () const const
 
int height () const const
 
void heightChanged (int arg)
 
void hide ()
 
QIcon icon () const const
 
bool isActive () const const
 
bool isAncestorOf (const QWindow *child, QWindow::AncestorMode mode) const const
 
bool isExposed () const const
 
bool isModal () const const
 
bool isTopLevel () const const
 
bool isVisible () const const
 
void lower ()
 
QPoint mapFromGlobal (const QPoint &pos) const const
 
QPoint mapToGlobal (const QPoint &pos) const const
 
QRegion mask () const const
 
int maximumHeight () const const
 
void maximumHeightChanged (int arg)
 
QSize maximumSize () const const
 
int maximumWidth () const const
 
void maximumWidthChanged (int arg)
 
int minimumHeight () const const
 
void minimumHeightChanged (int arg)
 
QSize minimumSize () const const
 
int minimumWidth () const const
 
void minimumWidthChanged (int arg)
 
Qt::WindowModality modality () const const
 
void modalityChanged (Qt::WindowModality modality)
 
qreal opacity () const const
 
void opacityChanged (qreal opacity)
 
QWindowparent (QWindow::AncestorMode mode) const const
 
QWindowparent () const const
 
QPoint position () const const
 
void raise ()
 
void reportContentOrientationChange (Qt::ScreenOrientation orientation)
 
void requestActivate ()
 
QSurfaceFormat requestedFormat () const const
 
void requestUpdate ()
 
void resize (const QSize &newSize)
 
void resize (int w, int h)
 
QScreenscreen () const const
 
void screenChanged (QScreen *screen)
 
void setBaseSize (const QSize &size)
 
void setCursor (const QCursor &cursor)
 
void setFilePath (const QString &filePath)
 
void setFlag (Qt::WindowType flag, bool on)
 
void setFlags (Qt::WindowFlags flags)
 
void setFormat (const QSurfaceFormat &format)
 
void setFramePosition (const QPoint &point)
 
void setGeometry (const QRect &rect)
 
void setGeometry (int posx, int posy, int w, int h)
 
void setHeight (int arg)
 
void setIcon (const QIcon &icon)
 
bool setKeyboardGrabEnabled (bool grab)
 
void setMask (const QRegion &region)
 
void setMaximumHeight (int h)
 
void setMaximumSize (const QSize &size)
 
void setMaximumWidth (int w)
 
void setMinimumHeight (int h)
 
void setMinimumSize (const QSize &size)
 
void setMinimumWidth (int w)
 
void setModality (Qt::WindowModality modality)
 
bool setMouseGrabEnabled (bool grab)
 
void setOpacity (qreal level)
 
void setParent (QWindow *parent)
 
void setPosition (int posx, int posy)
 
void setPosition (const QPoint &pt)
 
void setScreen (QScreen *newScreen)
 
void setSizeIncrement (const QSize &size)
 
void setSurfaceType (QSurface::SurfaceType surfaceType)
 
void setTitle (const QString &)
 
void setVisibility (QWindow::Visibility v)
 
void setVisible (bool visible)
 
void setVulkanInstance (QVulkanInstance *instance)
 
void setWidth (int arg)
 
void setWindowState (Qt::WindowState state)
 
void setWindowStates (Qt::WindowStates state)
 
void setX (int arg)
 
void setY (int arg)
 
void show ()
 
void showFullScreen ()
 
void showMaximized ()
 
void showMinimized ()
 
void showNormal ()
 
virtual QSize size () const const override
 
QSize sizeIncrement () const const
 
bool startSystemMove ()
 
bool startSystemResize (Qt::Edges edges)
 
virtual QSurface::SurfaceType surfaceType () const const override
 
QString title () const const
 
Qt::WindowType type () const const
 
void unsetCursor ()
 
QWindow::Visibility visibility () const const
 
void visibilityChanged (QWindow::Visibility visibility)
 
void visibleChanged (bool arg)
 
QVulkanInstancevulkanInstance () const const
 
int width () const const
 
void widthChanged (int arg)
 
Qt::WindowState windowState () const const
 
void windowStateChanged (Qt::WindowState windowState)
 
Qt::WindowStates windowStates () const const
 
void windowTitleChanged (const QString &title)
 
WId winId () const const
 
int x () const const
 
void xChanged (int arg)
 
int y () const const
 
void yChanged (int arg)
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
bool blockSignals (bool block)
 
const QObjectListchildren () const const
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const const
 
bool disconnect (const QObject *receiver, const char *method) const const
 
void dumpObjectInfo ()
 
void dumpObjectInfo () const const
 
void dumpObjectTree ()
 
void dumpObjectTree () const const
 
QList< QByteArraydynamicPropertyNames () const const
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegExp &regExp, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const
 
bool inherits (const char *className) const const
 
void installEventFilter (QObject *filterObj)
 
bool isWidgetType () const const
 
bool isWindowType () const const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const const
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () const const
 
QVariant property (const char *name) const const
 
 Q_CLASSINFO (Name, Value)
 
 Q_DISABLE_COPY (Class)
 
 Q_DISABLE_COPY_MOVE (Class)
 
 Q_DISABLE_MOVE (Class)
 
 Q_EMIT Q_EMIT
 
 Q_ENUM (...)
 
 Q_ENUM_NS (...)
 
 Q_ENUMS (...)
 
 Q_FLAG (...)
 
 Q_FLAG_NS (...)
 
 Q_FLAGS (...)
 
 Q_GADGET Q_GADGET
 
 Q_INTERFACES (...)
 
 Q_INVOKABLE Q_INVOKABLE
 
 Q_NAMESPACE Q_NAMESPACE
 
 Q_NAMESPACE_EXPORT (EXPORT_MACRO)
 
 Q_OBJECT Q_OBJECT
 
 Q_PROPERTY (...)
 
 Q_REVISION Q_REVISION
 
 Q_SET_OBJECT_NAME (Object)
 
 Q_SIGNAL Q_SIGNAL
 
 Q_SIGNALS Q_SIGNALS
 
 Q_SLOT Q_SLOT
 
 Q_SLOTS Q_SLOTS
 
qFindChild (const QObject *obj, const QString &name)
 
QList< T > qFindChildren (const QObject *obj, const QRegExp &regExp)
 
QList< T > qFindChildren (const QObject *obj, const QString &name)
 
qobject_cast (QObject *object)
 
qobject_cast (const QObject *object)
 
 QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 
void removeEventFilter (QObject *obj)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const const
 
int startTimer (int interval, Qt::TimerType timerType)
 
int startTimer (std::chrono::milliseconds time, Qt::TimerType timerType)
 
QThreadthread () const const
 
- Public Member Functions inherited from QSurface
bool supportsOpenGL () const const
 
QSurface::SurfaceClass surfaceClass () const const
 
virtual QPlatformSurface * surfaceHandle () const const =0
 

Protected Member Functions

void resizeEvent (QResizeEvent *e) override
 
- Protected Member Functions inherited from QQuickWindow
virtual bool event (QEvent *e) override
 
virtual void exposeEvent (QExposeEvent *) override
 
virtual void focusInEvent (QFocusEvent *ev) override
 
virtual void focusOutEvent (QFocusEvent *ev) override
 
virtual void hideEvent (QHideEvent *) override
 
virtual void keyPressEvent (QKeyEvent *e) override
 
virtual void keyReleaseEvent (QKeyEvent *e) override
 
virtual void mouseDoubleClickEvent (QMouseEvent *event) override
 
virtual void mouseMoveEvent (QMouseEvent *event) override
 
virtual void mousePressEvent (QMouseEvent *event) override
 
virtual void mouseReleaseEvent (QMouseEvent *event) override
 
virtual void showEvent (QShowEvent *) override
 
virtual void tabletEvent (QTabletEvent *event) override
 
virtual void wheelEvent (QWheelEvent *event) override
 
- Protected Member Functions inherited from QWindow
virtual void moveEvent (QMoveEvent *ev)
 
virtual bool nativeEvent (const QByteArray &eventType, void *message, long *result)
 
virtual void touchEvent (QTouchEvent *ev)
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const const
 
int receivers (const char *signal) const const
 
QObjectsender () const const
 
int senderSignalIndex () const const
 
virtual void timerEvent (QTimerEvent *event)
 
- Protected Member Functions inherited from QSurface
 QSurface (QSurface::SurfaceClass type)
 

Additional Inherited Members

- Static Public Member Functions inherited from QQuickWindow
bool hasDefaultAlphaBuffer ()
 
QString sceneGraphBackend ()
 
void setDefaultAlphaBuffer (bool useAlpha)
 
void setSceneGraphBackend (const QString &backend)
 
void setSceneGraphBackend (QSGRendererInterface::GraphicsApi api)
 
void setTextRenderType (QQuickWindow::TextRenderType renderType)
 
QQuickWindow::TextRenderType textRenderType ()
 
- Static Public Member Functions inherited from QWindow
QWindowfromWinId (WId id)
 
- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Public Attributes inherited from QQuickWindow
 AfterRenderingStage
 
 AfterSwapStage
 
 AfterSynchronizingStage
 
 BeforeRenderingStage
 
 BeforeSynchronizingStage
 
 ContextNotAvailable
 
typedef CreateTextureOptions
 
 NativeObjectTexture
 
 NativeTextRendering
 
 NoStage
 
 QtTextRendering
 
 TextureCanUseAtlas
 
 TextureHasAlphaChannel
 
 TextureHasMipmaps
 
 TextureIsOpaque
 
 TextureOwnsGLTexture
 
- Public Attributes inherited from QWindow
 AutomaticVisibility
 
 ExcludeTransients
 
 FullScreen
 
 Hidden
 
 IncludeTransients
 
 Maximized
 
 Minimized
 
 Windowed
 
- Public Attributes inherited from QObject
typedef QObjectList
 
- Public Attributes inherited from QSurface
 MetalSurface
 
 Offscreen
 
 OpenGLSurface
 
 OpenVGSurface
 
 RasterGLSurface
 
 RasterSurface
 
 VulkanSurface
 
 Window
 

Detailed Description

TODO.

Definition at line 31 of file quickviewsharedengine.h.

Member Function Documentation

void KQuickAddons::QuickViewSharedEngine::setTranslationDomain ( const QString translationDomain)

Installs a translation domain for all i18n global functions.

If a translation domain is set all i18n calls delegate to the matching i18nd calls with the provided translation domain.

The translationDomain affects all i18n calls including those from imports. Because of that modules intended to be used as imports should prefer the i18nd variants and set the translation domain explicitly in each call.

This method is only required if your declarative usage is inside a library. If it's in an application there is no need to set the translation domain as the application's domain can be used.

Parameters
translationDomainThe translation domain to be used for i18n calls.
Since
5.25

Definition at line 137 of file quickviewsharedengine.cpp.

QString KQuickAddons::QuickViewSharedEngine::translationDomain ( ) const
Returns
the translation domain for the i18n calls done in this QML engine
Since
5.25

Definition at line 142 of file quickviewsharedengine.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Sep 21 2020 22:39:15 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.