Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QWaylandXdgToplevel Class Reference

\qmltype XdgToplevel \instantiates QWaylandXdgToplevel \inqmlmodule QtWayland.Compositor.XdgShell More...

#include <qwaylandxdgshell.h>

+ Inheritance diagram for QWaylandXdgToplevel:
+ Collaboration diagram for QWaylandXdgToplevel:

Public Types

enum  State : uint { MaximizedState = 1 , FullscreenState = 2 , ResizingState = 3 , ActivatedState = 4 }
 
enum  DecorationMode { ClientSideDecoration = 1 , ServerSideDecoration = 2 }
 This enum type is used to specify the window decoration mode for toplevel windows. More...
 

Signals

void parentToplevelChanged ()
 
void titleChanged ()
 
void appIdChanged ()
 
void maxSizeChanged ()
 
void minSizeChanged ()
 
void startMove (QWaylandSeat *seat)
 
void startResize (QWaylandSeat *seat, Qt::Edges edges)
 
void statesChanged ()
 
void maximizedChanged ()
 
void fullscreenChanged ()
 
void resizingChanged ()
 
void activatedChanged ()
 
void showWindowMenu (QWaylandSeat *seat, const QPoint &localSurfacePosition)
 
void setMaximized ()
 
void unsetMaximized ()
 
void setFullscreen (QWaylandOutput *output)
 
void unsetFullscreen ()
 
void setMinimized ()
 
void decorationModeChanged ()
 
void modalChanged ()
 
- Signals inherited from QObject
void destroyed (QObject *=nullptr)
 This signal is emitted immediately before the object obj is destroyed, after any instances of QPointer have been notified, and cannot be blocked.
 
void objectNameChanged (const QString &objectName, QPrivateSignal)
 This signal is emitted after the object's name has been changed.
 

Public Member Functions

 QWaylandXdgToplevel (QWaylandXdgSurface *xdgSurface, QWaylandResource &resource)
 Constructs a QWaylandXdgToplevel for the given xdgSurface and resource.
 
 ~QWaylandXdgToplevel () override
 
QWaylandXdgSurfacexdgSurface () const
 
QWaylandXdgToplevelparentToplevel () const
 
QString title () const
 
QString appId () const
 
QSize maxSize () const
 
QSize minSize () const
 
QList< QWaylandXdgToplevel::Statestates () const
 
bool maximized () const
 
bool fullscreen () const
 
bool resizing () const
 
bool activated () const
 
DecorationMode decorationMode () const
 
Q_INVOKABLE QSize sizeForResize (const QSizeF &size, const QPointF &delta, Qt::Edges edges) const
 \qmlmethod size XdgToplevel::sizeForResize(size size, point delta, uint edges)
 
uint sendConfigure (const QSize &size, const QList< State > &states)
 
Q_INVOKABLE uint sendConfigure (const QSize &size, const QList< int > &states)
 \qmlmethod int XdgToplevel::sendConfigure(size size, list<int> states)
 
Q_INVOKABLE void sendClose ()
 \qmlmethod void XdgToplevel::sendClose()
 
Q_INVOKABLE uint sendMaximized (const QSize &size)
 \qmlmethod void XdgToplevel::sendMaximized(size size)
 
Q_INVOKABLE uint sendUnmaximized (const QSize &size=QSize(0, 0))
 \qmlmethod void XdgToplevel::sendUnmaximized(size size)
 
Q_INVOKABLE uint sendFullscreen (const QSize &size)
 \qmlmethod void XdgToplevel::sendFullscreen(size size)
 
Q_INVOKABLE uint sendResizing (const QSize &maxSize)
 \qmlmethod void XdgToplevel::sendResizing(size maxSize)
 
bool modal () const
 
- Public Member Functions inherited from QObject
Q_INVOKABLE QObject (QObject *parent=nullptr)
 Constructs an object with parent object parent.
 
virtual ~QObject ()
 Destroys the object, deleting all its child objects.
 
virtual bool event (QEvent *event)
 This virtual function receives events to an object and should return true if the event e was recognized and processed.
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 Filters events if this object has been installed as an event filter for the watched object.
 
QString objectName () const
 
Q_WEAK_OVERLOAD void setObjectName (const QString &name)
 Sets the object's name to name.
 
void setObjectName (QAnyStringView name)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
QBindable< QStringbindableObjectName ()
 
bool isWidgetType () const
 Returns true if the object is a widget; otherwise returns false.
 
bool isWindowType () const
 Returns true if the object is a window; otherwise returns false.
 
bool isQuickItemType () const
 Returns true if the object is a QQuickItem; otherwise returns false.
 
bool signalsBlocked () const noexcept
 Returns true if signals are blocked; otherwise returns false.
 
bool blockSignals (bool b) noexcept
 If block is true, signals emitted by this object are blocked (i.e., emitting a signal will not invoke anything connected to it).
 
QThreadthread () const
 Returns the thread in which the object lives.
 
bool moveToThread (QThread *thread QT6_DECL_NEW_OVERLOAD_TAIL)
 Changes the thread affinity for this object and its children and returns true on success.
 
int startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer)
 This is an overloaded function that will start a timer of type timerType and a timeout of interval milliseconds.
 
int startTimer (std::chrono::nanoseconds time, Qt::TimerType timerType=Qt::CoarseTimer)
 
void killTimer (int id)
 Kills the timer with timer identifier, id.
 
void killTimer (Qt::TimerId id)
 
template<typename T >
findChild (QAnyStringView aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 Returns the child of this object that can be cast into type T and that is called name, or \nullptr if there is no such object.
 
template<typename T >
QList< T > findChildren (QAnyStringView aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 Returns all children of this object with the given name that can be cast to type T, or an empty list if there are no such objects.
 
template<typename T >
findChild (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
template<typename T >
QList< T > findChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
const QObjectListchildren () const
 Returns a list of child objects.
 
void setParent (QObject *parent)
 Makes the object a child of parent.
 
void installEventFilter (QObject *filterObj)
 Installs an event filter filterObj on this object.
 
void removeEventFilter (QObject *obj)
 Removes an event filter object obj from this object.
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const
 
bool disconnect (const QObject *receiver, const char *member=nullptr) const
 
void dumpObjectTree () const
 Dumps a tree of children to the debug output.
 
void dumpObjectInfo () const
 Dumps information about signal connections, etc.
 
bool setProperty (const char *name, const QVariant &value)
 Sets the value of the object's name property to value.
 
bool setProperty (const char *name, QVariant &&value)
 
QVariant property (const char *name) const
 Returns the value of the object's name property.
 
QList< QByteArraydynamicPropertyNames () const
 
QBindingStoragebindingStorage ()
 
const QBindingStoragebindingStorage () const
 
QObjectparent () const
 Returns a pointer to the parent object.
 
bool inherits (const char *classname) const
 Returns true if this object is an instance of a class that inherits className or a QObject subclass that inherits className; otherwise returns false.
 

Static Public Member Functions

static QWaylandSurfaceRolerole ()
 Returns the surface role for the QWaylandToplevel.
 
static QWaylandXdgToplevelfromResource (::wl_resource *resource)
 Returns the QWaylandXdgToplevel corresponding to the resource.
 
- Static Public Member Functions inherited from QObject
static QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 \threadsafe
 
static QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::ContextTypeForFunctor< Func2 >::ContextType *context, Func2 &&slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 &&slot)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 \threadsafe
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static bool disconnect (const QMetaObject::Connection &)
 Disconnect a connection.
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot)
 
template<typename Func1 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero)
 

Properties

QWaylandXdgSurfacexdgSurface
 \qmlproperty XdgSurface XdgToplevel::xdgSurface
 
QWaylandXdgToplevelparentToplevel
 \qmlproperty XdgToplevel XdgToplevel::parentToplevel
 
QString title
 \qmlproperty string XdgToplevel::title
 
QString appId
 \qmlproperty string XdgToplevel::appId
 
QSize maxSize
 \qmlproperty size XdgToplevel::maxSize
 
QSize minSize
 \qmlproperty size XdgToplevel::minSize
 
QList< int > states
 This property holds the last states the client acknowledged for this QWaylandToplevel.
 
bool maximized
 \qmlproperty bool XdgToplevel::maximized
 
bool fullscreen
 \qmlproperty bool XdgToplevel::fullscreen
 
bool resizing
 \qmlproperty bool XdgToplevel::resizing
 
bool activated
 \qmlproperty bool XdgToplevel::activated
 
bool modal
 \qmlproperty bool XdgToplevel::modal
 
enum DecorationMode decorationMode
 \qmlproperty enumeration XdgToplevel::decorationMode
 
- Properties inherited from QObject
QString objectName
 the name of this object
 

Friends

class QWaylandXdgDialogV1
 

Additional Inherited Members

- Public Slots inherited from QObject
void deleteLater ()
 \threadsafe
 
- Protected Member Functions inherited from QObject
QObjectsender () const
 Returns a pointer to the object that sent the signal, if called in a slot activated by a signal; otherwise it returns \nullptr.
 
int senderSignalIndex () const
 
int receivers (const char *signal) const
 Returns the number of receivers connected to the signal.
 
bool isSignalConnected (const QMetaMethod &signal) const
 
virtual void timerEvent (QTimerEvent *event)
 This event handler can be reimplemented in a subclass to receive timer events for the object.
 
virtual void childEvent (QChildEvent *event)
 This event handler can be reimplemented in a subclass to receive child events.
 
virtual void customEvent (QEvent *event)
 This event handler can be reimplemented in a subclass to receive custom events.
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
 QObject (QObjectPrivate &dd, QObject *parent=nullptr)
 
- Protected Attributes inherited from QObject
QScopedPointer< QObjectDatad_ptr
 

Detailed Description

\qmltype XdgToplevel \instantiates QWaylandXdgToplevel \inqmlmodule QtWayland.Compositor.XdgShell

Since
5.12

XdgToplevel represents the toplevel window specific parts of an xdg surface.

This type is part of the \l{XdgShell} extension and provides a way to extend the functionality of an XdgSurface with features specific to desktop-style windows.

It corresponds to the Wayland interface xdg_toplevel.

\inmodule QtWaylandCompositor

Since
5.12

The QWaylandXdgToplevel class represents the toplevel window specific parts of an xdg surface.

This class is part of the QWaylandXdgShell extension and provides a way to extend the functionality of an QWaylandXdgSurface with features specific to desktop-style windows.

It corresponds to the Wayland interface xdg_toplevel.

Definition at line 113 of file qwaylandxdgshell.h.

Member Enumeration Documentation

◆ DecorationMode

This enum type is used to specify the window decoration mode for toplevel windows.

\value ServerSideDecoration The compositor should draw window decorations. \value ClientSideDecoration The client should draw window decorations.

Enumerator
ClientSideDecoration 
ServerSideDecoration 

Definition at line 140 of file qwaylandxdgshell.h.

◆ State

Enumerator
MaximizedState 
FullscreenState 
ResizingState 
ActivatedState 

Definition at line 132 of file qwaylandxdgshell.h.

Constructor & Destructor Documentation

◆ QWaylandXdgToplevel()

QWaylandXdgToplevel::QWaylandXdgToplevel ( QWaylandXdgSurface * xdgSurface,
QWaylandResource & resource )
explicit

Constructs a QWaylandXdgToplevel for the given xdgSurface and resource.

Definition at line 719 of file qwaylandxdgshell.cpp.

References sendConfigure(), and states.

+ Here is the call graph for this function:

◆ ~QWaylandXdgToplevel()

QWaylandXdgToplevel::~QWaylandXdgToplevel ( )
override

Definition at line 726 of file qwaylandxdgshell.cpp.

References d, Q_ASSERT, and Q_UNLIKELY.

Member Function Documentation

◆ activated()

bool QWaylandXdgToplevel::activated ( ) const

Definition at line 920 of file qwaylandxdgshell.cpp.

References ActivatedState, and d.

◆ activatedChanged

void QWaylandXdgToplevel::activatedChanged ( )
signal

Referenced by QtWayland::XdgToplevelIntegration::XdgToplevelIntegration().

+ Here is the caller graph for this function:

◆ appId()

QString QWaylandXdgToplevel::appId ( ) const

Definition at line 799 of file qwaylandxdgshell.cpp.

References d.

◆ appIdChanged

void QWaylandXdgToplevel::appIdChanged ( )
signal

◆ decorationMode()

QWaylandXdgToplevel::DecorationMode QWaylandXdgToplevel::decorationMode ( ) const

Definition at line 982 of file qwaylandxdgshell.cpp.

References ClientSideDecoration, and d.

◆ decorationModeChanged

void QWaylandXdgToplevel::decorationModeChanged ( )
signal

Referenced by QWaylandXdgToplevelDecorationV1::sendConfigure().

+ Here is the caller graph for this function:

◆ fromResource()

QWaylandXdgToplevel * QWaylandXdgToplevel::fromResource ( ::wl_resource * resource)
static

Returns the QWaylandXdgToplevel corresponding to the resource.

Definition at line 1203 of file qwaylandxdgshell.cpp.

Referenced by QWaylandXdgToplevelPrivate::xdg_toplevel_set_parent(), QWaylandXdgDialogV1Global::xdg_wm_dialog_v1_get_xdg_dialog(), and QWaylandXdgDecorationManagerV1Private::zxdg_decoration_manager_v1_get_toplevel_decoration().

+ Here is the caller graph for this function:

◆ fullscreen()

bool QWaylandXdgToplevel::fullscreen ( ) const

Definition at line 886 of file qwaylandxdgshell.cpp.

References d, and FullscreenState.

◆ fullscreenChanged

void QWaylandXdgToplevel::fullscreenChanged ( )
signal

Referenced by QtWayland::XdgToplevelIntegration::XdgToplevelIntegration().

+ Here is the caller graph for this function:

◆ maximized()

bool QWaylandXdgToplevel::maximized ( ) const

Definition at line 869 of file qwaylandxdgshell.cpp.

References d, and MaximizedState.

◆ maximizedChanged

void QWaylandXdgToplevel::maximizedChanged ( )
signal

Referenced by QtWayland::XdgToplevelIntegration::XdgToplevelIntegration().

+ Here is the caller graph for this function:

◆ maxSize()

QSize QWaylandXdgToplevel::maxSize ( ) const

Definition at line 820 of file qwaylandxdgshell.cpp.

References d.

◆ maxSizeChanged

void QWaylandXdgToplevel::maxSizeChanged ( )
signal

◆ minSize()

QSize QWaylandXdgToplevel::minSize ( ) const

Definition at line 841 of file qwaylandxdgshell.cpp.

References d.

◆ minSizeChanged

void QWaylandXdgToplevel::minSizeChanged ( )
signal

◆ modal()

bool QWaylandXdgToplevel::modal ( ) const

Definition at line 939 of file qwaylandxdgshell.cpp.

References d.

◆ modalChanged

void QWaylandXdgToplevel::modalChanged ( )
signal

Referenced by QWaylandXdgSurfacePrivate::xdg_surface_get_toplevel().

+ Here is the caller graph for this function:

◆ parentToplevel()

QWaylandXdgToplevel * QWaylandXdgToplevel::parentToplevel ( ) const

Definition at line 765 of file qwaylandxdgshell.cpp.

References d.

◆ parentToplevelChanged

void QWaylandXdgToplevel::parentToplevelChanged ( )
signal

◆ resizing()

bool QWaylandXdgToplevel::resizing ( ) const

Definition at line 903 of file qwaylandxdgshell.cpp.

References d, and ResizingState.

◆ resizingChanged

void QWaylandXdgToplevel::resizingChanged ( )
signal

◆ role()

QWaylandSurfaceRole * QWaylandXdgToplevel::role ( )
static

Returns the surface role for the QWaylandToplevel.

Definition at line 1195 of file qwaylandxdgshell.cpp.

References QWaylandXdgToplevelPrivate::s_role.

Referenced by QWaylandXdgSurfacePrivate::xdg_surface_get_toplevel().

+ Here is the caller graph for this function:

◆ sendClose()

void QWaylandXdgToplevel::sendClose ( )

\qmlmethod void XdgToplevel::sendClose()

Sends a close event to the client. The client may choose to ignore the event.

Sends a close event to the client. The client may choose to ignore the event.

Definition at line 1068 of file qwaylandxdgshell.cpp.

References d.

◆ sendConfigure() [1/2]

uint QWaylandXdgToplevel::sendConfigure ( const QSize & size,
const QList< int > & states )

\qmlmethod int XdgToplevel::sendConfigure(size size, list<int> states)

Sends a configure event to the client. size contains the pixel size of the surface. A size of zero means the client is free to decide the size. Known states are enumerated in XdgToplevel::State.

Definition at line 1051 of file qwaylandxdgshell.cpp.

References sendConfigure(), state, and states.

+ Here is the call graph for this function:

◆ sendConfigure() [2/2]

uint QWaylandXdgToplevel::sendConfigure ( const QSize & size,
const QList< State > & states )

Referenced by QWaylandXdgToplevel(), sendConfigure(), sendFullscreen(), sendMaximized(), sendResizing(), and sendUnmaximized().

+ Here is the caller graph for this function:

◆ sendFullscreen()

uint QWaylandXdgToplevel::sendFullscreen ( const QSize & size)

\qmlmethod void XdgToplevel::sendFullscreen(size size)

Convenience for sending a configure event with the fullscreen state set, and maximized and resizing removed. The activated state is left in its current state.

See also
sendUnmaximized

size is the new size of the window.

Convenience for sending a configure event with the fullscreen state set, and maximized and resizing removed. The activated state is left in its current state.

See also
sendUnmaximized

size is the new size of the window.

Definition at line 1151 of file qwaylandxdgshell.cpp.

References QList< T >::append(), d, FullscreenState, MaximizedState, ResizingState, sendConfigure(), and QWaylandXdgToplevelPrivate::ConfigureEvent::states.

+ Here is the call graph for this function:

◆ sendMaximized()

uint QWaylandXdgToplevel::sendMaximized ( const QSize & size)

\qmlmethod void XdgToplevel::sendMaximized(size size)

Convenience for sending a configure event with the maximized state set, and fullscreen and resizing removed. The activated state is left in its current state.

size is the new size of the window.

Convenience for sending a configure event with the maximized state set, and fullscreen and resizing removed. The activated state is left in its current state.

size is the new size of the window.

Definition at line 1089 of file qwaylandxdgshell.cpp.

References QList< T >::append(), d, FullscreenState, MaximizedState, ResizingState, sendConfigure(), and QWaylandXdgToplevelPrivate::ConfigureEvent::states.

+ Here is the call graph for this function:

◆ sendResizing()

uint QWaylandXdgToplevel::sendResizing ( const QSize & maxSize)

\qmlmethod void XdgToplevel::sendResizing(size maxSize)

Convenience for sending a configure event with the resizing state set, and maximized and fullscreen removed. The activated state is left in its current state.

maxSize is the new size of the window.

Convenience for sending a configure event with the resizing state set, and maximized and fullscreen removed. The activated state is left in its current state.

maxSize is the new size of the window.

Definition at line 1179 of file qwaylandxdgshell.cpp.

References QList< T >::append(), d, FullscreenState, MaximizedState, maxSize, ResizingState, sendConfigure(), and QWaylandXdgToplevelPrivate::ConfigureEvent::states.

+ Here is the call graph for this function:

◆ sendUnmaximized()

uint QWaylandXdgToplevel::sendUnmaximized ( const QSize & size = QSize(0, 0))

\qmlmethod void XdgToplevel::sendUnmaximized(size size)

Convenience for sending a configure event with the maximized, fullscreen and resizing states removed, and fullscreen and resizing removed. The activated state is left in its current state.

size is the new size of the window. If size is zero, the client decides the size.

Convenience for sending a configure event with the maximized, fullscreen and resizing states removed, and fullscreen and resizing removed. The activated state is left in its current state.

size is the new size of the window. If size is zero, the client decides the size.

Definition at line 1119 of file qwaylandxdgshell.cpp.

References d, FullscreenState, MaximizedState, QList< T >::removeOne(), ResizingState, sendConfigure(), and QWaylandXdgToplevelPrivate::ConfigureEvent::states.

+ Here is the call graph for this function:

◆ setFullscreen

void QWaylandXdgToplevel::setFullscreen ( QWaylandOutput * output)
signal

Referenced by QtWayland::XdgToplevelIntegration::XdgToplevelIntegration().

+ Here is the caller graph for this function:

◆ setMaximized

void QWaylandXdgToplevel::setMaximized ( )
signal

Referenced by QtWayland::XdgToplevelIntegration::XdgToplevelIntegration().

+ Here is the caller graph for this function:

◆ setMinimized

void QWaylandXdgToplevel::setMinimized ( )
signal

◆ showWindowMenu

void QWaylandXdgToplevel::showWindowMenu ( QWaylandSeat * seat,
const QPoint & localSurfacePosition )
signal

◆ sizeForResize()

QSize QWaylandXdgToplevel::sizeForResize ( const QSizeF & size,
const QPointF & delta,
Qt::Edges edges ) const

\qmlmethod size XdgToplevel::sizeForResize(size size, point delta, uint edges)

Convenience for computing the new size given the current size, a delta, and the edges active in the drag.

Convenience for computing the new size given the current size, a delta, and the edges active in the drag.

Definition at line 999 of file qwaylandxdgshell.cpp.

References Qt::BottomEdge, QSize::boundedTo(), QSize::expandedTo(), Qt::LeftEdge, maxSize, minSize, Qt::RightEdge, Qt::TopEdge, QSize::width(), QPointF::x(), and QPointF::y().

+ Here is the call graph for this function:

◆ startMove

void QWaylandXdgToplevel::startMove ( QWaylandSeat * seat)
signal

Referenced by QtWayland::XdgToplevelIntegration::XdgToplevelIntegration().

+ Here is the caller graph for this function:

◆ startResize

void QWaylandXdgToplevel::startResize ( QWaylandSeat * seat,
Qt::Edges edges )
signal

Referenced by QtWayland::XdgToplevelIntegration::XdgToplevelIntegration().

+ Here is the caller graph for this function:

◆ states()

QList< QWaylandXdgToplevel::State > QWaylandXdgToplevel::states ( ) const

Definition at line 852 of file qwaylandxdgshell.cpp.

References d.

◆ statesChanged

void QWaylandXdgToplevel::statesChanged ( )
signal

◆ title()

QString QWaylandXdgToplevel::title ( ) const

Definition at line 782 of file qwaylandxdgshell.cpp.

References d.

◆ titleChanged

void QWaylandXdgToplevel::titleChanged ( )
signal

◆ unsetFullscreen

void QWaylandXdgToplevel::unsetFullscreen ( )
signal

Referenced by QtWayland::XdgToplevelIntegration::XdgToplevelIntegration().

+ Here is the caller graph for this function:

◆ unsetMaximized

void QWaylandXdgToplevel::unsetMaximized ( )
signal

Referenced by QtWayland::XdgToplevelIntegration::XdgToplevelIntegration().

+ Here is the caller graph for this function:

◆ xdgSurface()

QWaylandXdgSurface * QWaylandXdgToplevel::xdgSurface ( ) const

Definition at line 747 of file qwaylandxdgshell.cpp.

References d.

Friends And Related Symbol Documentation

◆ QWaylandXdgDialogV1

friend class QWaylandXdgDialogV1
friend

Definition at line 205 of file qwaylandxdgshell.h.

Property Documentation

◆ activated

QWaylandXdgToplevel::activated
read

\qmlproperty bool XdgToplevel::activated

This property holds whether toplevel is drawing itself as having input focus.

This property holds whether toplevel is drawing itself as having input focus.

Definition at line 127 of file qwaylandxdgshell.h.

◆ appId

QWaylandXdgToplevel::appId
read

\qmlproperty string XdgToplevel::appId

This property holds the app id of the XdgToplevel.

This property holds the app id of the QWaylandXdgToplevel.

Definition at line 120 of file qwaylandxdgshell.h.

◆ decorationMode

QWaylandXdgToplevel::decorationMode
read

\qmlproperty enumeration XdgToplevel::decorationMode

This property holds the current window decoration mode for this toplevel.

The possible values are: \value XdgToplevel.ServerSideDecoration The compositor should draw window decorations. \value XdgToplevel.ClientSideDecoration The client should draw window decorations.

See also
XdgDecorationManagerV1

This property holds the current window decoration mode for this toplevel.

See also
QWaylandXdgDecorationManagerV1

Definition at line 129 of file qwaylandxdgshell.h.

◆ fullscreen

QWaylandXdgToplevel::fullscreen
read

\qmlproperty bool XdgToplevel::fullscreen

This property holds whether the client has acknowledged that it should be fullscreen.

This property holds whether the client has acknowledged that it should be fullscreen.

Definition at line 125 of file qwaylandxdgshell.h.

◆ maximized

QWaylandXdgToplevel::maximized
read

\qmlproperty bool XdgToplevel::maximized

This property holds whether the client has acknowledged that it should be maximized.

This property holds whether the client has acknowledged that it should be maximized.

Definition at line 124 of file qwaylandxdgshell.h.

◆ maxSize

QWaylandXdgToplevel::maxSize
read

\qmlproperty size XdgToplevel::maxSize

This property holds the maximum size of the XdgToplevel as requested by the client.

The compositor is free to ignore this value and request a larger size.

This property holds the maximum size of the QWaylandXdgToplevel.

The compositor is free to ignore this value and request a larger size.

Definition at line 121 of file qwaylandxdgshell.h.

Referenced by sendResizing(), and sizeForResize().

◆ minSize

QWaylandXdgToplevel::minSize
read

\qmlproperty size XdgToplevel::minSize

This property holds the minimum size of the XdgToplevel as requested by the client.

The compositor is free to ignore this value and request a smaller size.

This property holds the minimum size of the QWaylandXdgToplevel.

The compositor is free to ignore this value and request a smaller size.

Definition at line 122 of file qwaylandxdgshell.h.

Referenced by sizeForResize().

◆ modal

QWaylandXdgToplevel::modal
read

\qmlproperty bool XdgToplevel::modal

This property holds whether toplevel blocks other windows from receiving input.

Since
6.8

This property holds whether toplevel blocks other windows from receiving input.

Since
6.8

Definition at line 128 of file qwaylandxdgshell.h.

Referenced by QWaylandXdgSurfacePrivate::xdg_surface_get_toplevel().

◆ parentToplevel

QWaylandXdgToplevel::parentToplevel
read

\qmlproperty XdgToplevel XdgToplevel::parentToplevel

This property holds the XdgToplevel parent of this XdgToplevel.

This property holds the XdgToplevel parent of this XdgToplevel.

Definition at line 118 of file qwaylandxdgshell.h.

◆ resizing

QWaylandXdgToplevel::resizing
read

\qmlproperty bool XdgToplevel::resizing

This property holds whether the client has acknowledged that it is being resized.

This property holds whether the client has acknowledged that it is being resized.

Definition at line 126 of file qwaylandxdgshell.h.

◆ states

QWaylandXdgToplevel::states
read

This property holds the last states the client acknowledged for this QWaylandToplevel.

Definition at line 123 of file qwaylandxdgshell.h.

Referenced by QWaylandXdgToplevel(), and sendConfigure().

◆ title

QWaylandXdgToplevel::title
read

\qmlproperty string XdgToplevel::title

This property holds the title of the XdgToplevel.

This property holds the title of the QWaylandXdgToplevel.

Definition at line 119 of file qwaylandxdgshell.h.

◆ xdgSurface

QWaylandXdgToplevel::xdgSurface
read

\qmlproperty XdgSurface XdgToplevel::xdgSurface

This property holds the XdgSurface for this XdgToplevel.

This property holds the QWaylandXdgSurface for this QWaylandXdgToplevel.

Definition at line 117 of file qwaylandxdgshell.h.


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