<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qwaylandxdgshellv6.cpp --> <title>QWaylandXdgToplevelV6 Class | Qt Wayland Compositor 5.12.6</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.12</td><td ><a href="qtwaylandcompositor-index.html">Qt Wayland Compositor</a></td><td ><a href="qtwaylandcompositor-module.html">C++ Classes</a></td><td >QWaylandXdgToplevelV6</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtwaylandcompositor-index.html">Qt 5.12.6 Reference Documentation</a></td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#public-types">Public Types</a></li> <li class="level1"><a href="#properties">Properties</a></li> <li class="level1"><a href="#public-functions">Public Functions</a></li> <li class="level1"><a href="#signals">Signals</a></li> <li class="level1"><a href="#static-public-members">Static Public Members</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">QWaylandXdgToplevelV6 Class</h1> <!-- $$$QWaylandXdgToplevelV6-brief --> <p>The <a href="qwaylandxdgtoplevelv6.html">QWaylandXdgToplevelV6</a> class represents the toplevel window specific parts of an xdg surface. <a href="#details">More...</a></p> <!-- @@@QWaylandXdgToplevelV6 --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QWaylandXdgToplevelV6></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += waylandcompositor</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.10</td></tr></table></div><ul> <li><a href="qwaylandxdgtoplevelv6-members.html">List of all members, including inherited members</a></li> </ul> <a name="public-types"></a> <h2 id="public-types">Public Types</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#State-enum">State</a></b> { MaximizedState, FullscreenState, ResizingState, ActivatedState }</td></tr> </table></div> <a name="properties"></a> <h2 id="properties">Properties</h2> <div class="table"><table class="propsummary"> <tr><td class="topAlign"><ul> <li class="fn"><b><a href="qwaylandxdgtoplevelv6.html#activated-prop">activated</a></b> : const bool</li> <li class="fn"><b><a href="qwaylandxdgtoplevelv6.html#appId-prop">appId</a></b> : const QString</li> <li class="fn"><b><a href="qwaylandxdgtoplevelv6.html#fullscreen-prop">fullscreen</a></b> : const bool</li> <li class="fn"><b><a href="qwaylandxdgtoplevelv6.html#maxSize-prop">maxSize</a></b> : const QSize</li> <li class="fn"><b><a href="qwaylandxdgtoplevelv6.html#maximized-prop">maximized</a></b> : const bool</li> </ul></td><td class="topAlign"><ul> <li class="fn"><b><a href="qwaylandxdgtoplevelv6.html#minSize-prop">minSize</a></b> : const QSize</li> <li class="fn"><b><a href="qwaylandxdgtoplevelv6.html#parentToplevel-prop">parentToplevel</a></b> : QWaylandXdgToplevelV6* const</li> <li class="fn"><b><a href="qwaylandxdgtoplevelv6.html#resizing-prop">resizing</a></b> : const bool</li> <li class="fn"><b><a href="qwaylandxdgtoplevelv6.html#states-prop">states</a></b> : const QList<int></li> <li class="fn"><b><a href="qwaylandxdgtoplevelv6.html#title-prop">title</a></b> : const QString</li> </ul> </td></tr> </table></div> <a name="public-functions"></a> <h2 id="public-functions">Public Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#QWaylandXdgToplevelV6">QWaylandXdgToplevelV6</a></b>(QWaylandXdgSurfaceV6 *<i>xdgSurface</i>, QWaylandResource &<i>resource</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#activated-prop">activated</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#appId-prop">appId</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#fullscreen-prop">fullscreen</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QSize </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#maxSize-prop">maxSize</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#maximized-prop">maximized</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QSize </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#minSize-prop">minSize</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QWaylandXdgToplevelV6 *</td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#parentToplevel-prop">parentToplevel</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#resizing-prop">resizing</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#sendClose">sendClose</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#sendConfigure">sendConfigure</a></b>(const QSize &<i>size</i>, const QVector<QWaylandXdgToplevelV6::State> &<i>states</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#sendConfigure-1">sendConfigure</a></b>(const QSize &<i>size</i>, const QVector<int> &<i>states</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#sendFullscreen">sendFullscreen</a></b>(const QSize &<i>size</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#sendMaximized">sendMaximized</a></b>(const QSize &<i>size</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#sendResizing">sendResizing</a></b>(const QSize &<i>maxSize</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> uint </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#sendUnmaximized">sendUnmaximized</a></b>(const QSize &<i>size</i> = QSize(0, 0))</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QSize </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#sizeForResize">sizeForResize</a></b>(const QSizeF &<i>size</i>, const QPointF &<i>delta</i>, Qt::Edges <i>edges</i>) const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QVector<QWaylandXdgToplevelV6::State> </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#states">states</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#title-prop">title</a></b>() const</td></tr> </table></div> <a name="signals"></a> <h2 id="signals">Signals</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#activated-prop">activatedChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#appId-prop">appIdChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#fullscreen-prop">fullscreenChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#maxSize-prop">maxSizeChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#maximized-prop">maximizedChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#minSize-prop">minSizeChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#parentToplevel-prop">parentToplevelChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#resizing-prop">resizingChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#setFullscreen">setFullscreen</a></b>(QWaylandOutput *<i>output</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#setMaximized">setMaximized</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#setMinimized">setMinimized</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#showWindowMenu">showWindowMenu</a></b>(QWaylandSeat *<i>seat</i>, const QPoint &<i>localSurfacePosition</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#startMove">startMove</a></b>(QWaylandSeat *<i>seat</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#startResize">startResize</a></b>(QWaylandSeat *<i>seat</i>, Qt::Edges <i>edges</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#states-prop">statesChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#title-prop">titleChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#unsetFullscreen">unsetFullscreen</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#unsetMaximized">unsetMaximized</a></b>()</td></tr> </table></div> <a name="static-public-members"></a> <h2 id="static-public-members">Static Public Members</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> QWaylandSurfaceRole *</td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#role">role</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qwaylandxdgtoplevelv6.html#staticMetaObject-var">staticMetaObject</a></b></td></tr> </table></div> <a name="details"></a> <!-- $$$QWaylandXdgToplevelV6-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The <a href="qwaylandxdgtoplevelv6.html">QWaylandXdgToplevelV6</a> class represents the toplevel window specific parts of an xdg surface.</p> <p>This class is part of the <a href="qwaylandxdgshellv6.html">QWaylandXdgShellV6</a> extension and provides a way to extend the functionality of an <a href="qwaylandxdgsurfacev6.html">QWaylandXdgSurfaceV6</a> with features specific to desktop-style windows.</p> <p>It corresponds to the Wayland interface <code>zxdg_toplevel_v6</code>.</p> </div> <!-- @@@QWaylandXdgToplevelV6 --> <div class="types"> <h2>Member Type Documentation</h2> <!-- $$$State$$$MaximizedState$$$FullscreenState$$$ResizingState$$$ActivatedState --> <h3 class="fn" id="State-enum"><a name="State-enum"></a>enum QWaylandXdgToplevelV6::<span class="name">State</span></h3> <!-- @@@State --> </div> <div class="prop"> <h2>Property Documentation</h2> <!-- $$$activated-prop$$$activated$$$activatedChanged --> <h3 class="fn" id="activated-prop"><a name="activated-prop"></a><span class="name">activated</span> : const <span class="type">bool</span></h3> <p>This property holds whether toplevel is drawing itself as having input focus.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>activated</b></span>() const</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>activatedChanged</b></span>()</td></tr> </table></div> <!-- @@@activated --> <!-- $$$appId-prop$$$appId$$$appIdChanged --> <h3 class="fn" id="appId-prop"><a name="appId-prop"></a><span class="name">appId</span> : const <span class="type">QString</span></h3> <p>This property holds the app id of the <a href="qwaylandxdgtoplevelv6.html">QWaylandXdgToplevelV6</a>.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>appId</b></span>() const</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>appIdChanged</b></span>()</td></tr> </table></div> <!-- @@@appId --> <!-- $$$fullscreen-prop$$$fullscreen$$$fullscreenChanged --> <h3 class="fn" id="fullscreen-prop"><a name="fullscreen-prop"></a><span class="name">fullscreen</span> : const <span class="type">bool</span></h3> <p>This property holds whether the client has acknowledged that it should be fullscreen.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>fullscreen</b></span>() const</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>fullscreenChanged</b></span>()</td></tr> </table></div> <!-- @@@fullscreen --> <!-- $$$maxSize-prop$$$maxSize$$$maxSizeChanged --> <h3 class="fn" id="maxSize-prop"><a name="maxSize-prop"></a><span class="name">maxSize</span> : const <span class="type">QSize</span></h3> <p>This property holds the maximum size of the <a href="qwaylandxdgtoplevelv6.html">QWaylandXdgToplevelV6</a>.</p> <p>The compositor is free to ignore this value and request a larger size.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QSize </td><td class="memItemRight bottomAlign"><span class="name"><b>maxSize</b></span>() const</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>maxSizeChanged</b></span>()</td></tr> </table></div> <!-- @@@maxSize --> <!-- $$$maximized-prop$$$maximized$$$maximizedChanged --> <h3 class="fn" id="maximized-prop"><a name="maximized-prop"></a><span class="name">maximized</span> : const <span class="type">bool</span></h3> <p>This property holds whether the client has acknowledged that it should be maximized.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>maximized</b></span>() const</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>maximizedChanged</b></span>()</td></tr> </table></div> <!-- @@@maximized --> <!-- $$$minSize-prop$$$minSize$$$minSizeChanged --> <h3 class="fn" id="minSize-prop"><a name="minSize-prop"></a><span class="name">minSize</span> : const <span class="type">QSize</span></h3> <p>This property holds the minimum size of the <a href="qwaylandxdgtoplevelv6.html">QWaylandXdgToplevelV6</a>.</p> <p>The compositor is free to ignore this value and request a smaller size.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QSize </td><td class="memItemRight bottomAlign"><span class="name"><b>minSize</b></span>() const</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>minSizeChanged</b></span>()</td></tr> </table></div> <!-- @@@minSize --> <!-- $$$parentToplevel-prop$$$parentToplevel$$$parentToplevelChanged --> <h3 class="fn" id="parentToplevel-prop"><a name="parentToplevel-prop"></a><span class="name">parentToplevel</span> : <span class="type"><a href="qwaylandxdgtoplevelv6.html#QWaylandXdgToplevelV6">QWaylandXdgToplevelV6</a></span>* const</h3> <p>This property holds the <a href="qml-qtwayland-compositor-xdgtoplevelv6.html">XdgToplevelV6</a> parent of this <a href="qml-qtwayland-compositor-xdgtoplevelv6.html">XdgToplevelV6</a>.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QWaylandXdgToplevelV6 *</td><td class="memItemRight bottomAlign"><span class="name"><b>parentToplevel</b></span>() const</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>parentToplevelChanged</b></span>()</td></tr> </table></div> <!-- @@@parentToplevel --> <!-- $$$resizing-prop$$$resizing$$$resizingChanged --> <h3 class="fn" id="resizing-prop"><a name="resizing-prop"></a><span class="name">resizing</span> : const <span class="type">bool</span></h3> <p>This property holds whether the client has acknowledged that it is being resized.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>resizing</b></span>() const</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>resizingChanged</b></span>()</td></tr> </table></div> <!-- @@@resizing --> <!-- $$$states-prop$$$statesChanged --> <h3 class="fn" id="states-prop"><a name="states-prop"></a><span class="name">states</span> : const <span class="type">QList</span><<span class="type">int</span>></h3> <p>This property holds the last states the client acknowledged for this QWaylandToplevelV6.</p> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>statesChanged</b></span>()</td></tr> </table></div> <!-- @@@states --> <!-- $$$title-prop$$$title$$$titleChanged --> <h3 class="fn" id="title-prop"><a name="title-prop"></a><span class="name">title</span> : const <span class="type">QString</span></h3> <p>This property holds the title of the <a href="qwaylandxdgtoplevelv6.html">QWaylandXdgToplevelV6</a>.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QString </td><td class="memItemRight bottomAlign"><span class="name"><b>title</b></span>() const</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>titleChanged</b></span>()</td></tr> </table></div> <!-- @@@title --> </div> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$QWaylandXdgToplevelV6[overload1]$$$QWaylandXdgToplevelV6QWaylandXdgSurfaceV6*QWaylandResource& --> <h3 class="fn" id="QWaylandXdgToplevelV6"><a name="QWaylandXdgToplevelV6"></a>QWaylandXdgToplevelV6::<span class="name">QWaylandXdgToplevelV6</span>(<span class="type"><a href="qwaylandxdgsurfacev6.html">QWaylandXdgSurfaceV6</a></span> *<i>xdgSurface</i>, <span class="type">QWaylandResource</span> &<i>resource</i>)</h3> <p>Constructs a <a href="qwaylandxdgtoplevelv6.html">QWaylandXdgToplevelV6</a> for the given <i>xdgSurface</i> and <i>resource</i>.</p> <!-- @@@QWaylandXdgToplevelV6 --> <!-- $$$role[overload1]$$$role --> <h3 class="fn" id="role"><a name="role"></a><code>[static] </code><span class="type">QWaylandSurfaceRole</span> *QWaylandXdgToplevelV6::<span class="name">role</span>()</h3> <p>Returns the surface role for the QWaylandToplevelV6.</p> <!-- @@@role --> <!-- $$$sendClose[overload1]$$$sendClose --> <h3 class="fn" id="sendClose"><a name="sendClose"></a><span class="type">void</span> QWaylandXdgToplevelV6::<span class="name">sendClose</span>()</h3> <p>Sends a close event to the client. The client may choose to ignore the event.</p> <p><b>Note: </b>This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.</p> <!-- @@@sendClose --> <!-- $$$sendConfigure[overload1]$$$sendConfigureconstQSize&constQVector<QWaylandXdgToplevelV6::State>& --> <h3 class="fn" id="sendConfigure"><a name="sendConfigure"></a><span class="type">uint</span> QWaylandXdgToplevelV6::<span class="name">sendConfigure</span>(const <span class="type">QSize</span> &<i>size</i>, const <span class="type">QVector</span><<span class="type"><a href="qwaylandxdgtoplevelv6.html#State-enum">QWaylandXdgToplevelV6::State</a></span>> &<i>states</i>)</h3> <p>Sends a configure event to the client. Parameter <i>size</i> contains the pixel size of the surface. A size of zero means the client is free to decide the size. Known <i>states</i> are enumerated in <a href="qwaylandxdgtoplevelv6.html#State-enum">QWaylandXdgToplevelV6::State</a>.</p> <!-- @@@sendConfigure --> <!-- $$$sendConfigure$$$sendConfigureconstQSize&constQVector<int>& --> <h3 class="fn" id="sendConfigure-1"><a name="sendConfigure-1"></a><span class="type">uint</span> QWaylandXdgToplevelV6::<span class="name">sendConfigure</span>(const <span class="type">QSize</span> &<i>size</i>, const <span class="type">QVector</span><<span class="type">int</span>> &<i>states</i>)</h3> <p><b>Note: </b>This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.</p> <!-- @@@sendConfigure --> <!-- $$$sendFullscreen[overload1]$$$sendFullscreenconstQSize& --> <h3 class="fn" id="sendFullscreen"><a name="sendFullscreen"></a><span class="type">uint</span> QWaylandXdgToplevelV6::<span class="name">sendFullscreen</span>(const <span class="type">QSize</span> &<i>size</i>)</h3> <p>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.</p> <p><i>size</i> is the new size of the window.</p> <p><b>Note: </b>This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.</p> <p><b>See also </b><a href="qwaylandxdgtoplevelv6.html#sendUnmaximized">sendUnmaximized</a>.</p> <!-- @@@sendFullscreen --> <!-- $$$sendMaximized[overload1]$$$sendMaximizedconstQSize& --> <h3 class="fn" id="sendMaximized"><a name="sendMaximized"></a><span class="type">uint</span> QWaylandXdgToplevelV6::<span class="name">sendMaximized</span>(const <span class="type">QSize</span> &<i>size</i>)</h3> <p>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.</p> <p><i>size</i> is the new size of the window.</p> <p><b>Note: </b>This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.</p> <!-- @@@sendMaximized --> <!-- $$$sendResizing[overload1]$$$sendResizingconstQSize& --> <h3 class="fn" id="sendResizing"><a name="sendResizing"></a><span class="type">uint</span> QWaylandXdgToplevelV6::<span class="name">sendResizing</span>(const <span class="type">QSize</span> &<i>maxSize</i>)</h3> <p>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.</p> <p><i>maxSize</i> is the new size of the window.</p> <p><b>Note: </b>This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.</p> <!-- @@@sendResizing --> <!-- $$$sendUnmaximized[overload1]$$$sendUnmaximizedconstQSize& --> <h3 class="fn" id="sendUnmaximized"><a name="sendUnmaximized"></a><span class="type">uint</span> QWaylandXdgToplevelV6::<span class="name">sendUnmaximized</span>(const <span class="type">QSize</span> &<i>size</i> = QSize(0, 0))</h3> <p>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.</p> <p><i>size</i> is the new size of the window. If <i>size</i> is zero, the client decides the size.</p> <p><b>Note: </b>This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.</p> <!-- @@@sendUnmaximized --> <!-- $$$setFullscreen[overload1]$$$setFullscreenQWaylandOutput* --> <h3 class="fn" id="setFullscreen"><a name="setFullscreen"></a><code>[signal] </code><span class="type">void</span> QWaylandXdgToplevelV6::<span class="name">setFullscreen</span>(<span class="type"><a href="qwaylandoutput.html">QWaylandOutput</a></span> *<i>output</i>)</h3> <p><b>See also </b><a href="qwaylandxdgtoplevelv6.html#fullscreen-prop">fullscreen</a>().</p> <!-- @@@setFullscreen --> <!-- $$$setMaximized[overload1]$$$setMaximized --> <h3 class="fn" id="setMaximized"><a name="setMaximized"></a><code>[signal] </code><span class="type">void</span> QWaylandXdgToplevelV6::<span class="name">setMaximized</span>()</h3> <p><b>See also </b><a href="qwaylandxdgtoplevelv6.html#maximized-prop">maximized</a>().</p> <!-- @@@setMaximized --> <!-- $$$setMinimized[overload1]$$$setMinimized --> <h3 class="fn" id="setMinimized"><a name="setMinimized"></a><code>[signal] </code><span class="type">void</span> QWaylandXdgToplevelV6::<span class="name">setMinimized</span>()</h3> <!-- @@@setMinimized --> <!-- $$$showWindowMenu[overload1]$$$showWindowMenuQWaylandSeat*constQPoint& --> <h3 class="fn" id="showWindowMenu"><a name="showWindowMenu"></a><code>[signal] </code><span class="type">void</span> QWaylandXdgToplevelV6::<span class="name">showWindowMenu</span>(<span class="type"><a href="qwaylandseat.html">QWaylandSeat</a></span> *<i>seat</i>, const <span class="type">QPoint</span> &<i>localSurfacePosition</i>)</h3> <!-- @@@showWindowMenu --> <!-- $$$sizeForResize[overload1]$$$sizeForResizeconstQSizeF&constQPointF&Qt::Edges --> <h3 class="fn" id="sizeForResize"><a name="sizeForResize"></a><span class="type">QSize</span> QWaylandXdgToplevelV6::<span class="name">sizeForResize</span>(const <span class="type">QSizeF</span> &<i>size</i>, const <span class="type">QPointF</span> &<i>delta</i>, <span class="type">Qt::Edges</span> <i>edges</i>) const</h3> <p>Convenience for computing the new size given the current <i>size</i>, a <i>delta</i>, and the <i>edges</i> active in the drag.</p> <p><b>Note: </b>This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.</p> <!-- @@@sizeForResize --> <!-- $$$startMove[overload1]$$$startMoveQWaylandSeat* --> <h3 class="fn" id="startMove"><a name="startMove"></a><code>[signal] </code><span class="type">void</span> QWaylandXdgToplevelV6::<span class="name">startMove</span>(<span class="type"><a href="qwaylandseat.html">QWaylandSeat</a></span> *<i>seat</i>)</h3> <!-- @@@startMove --> <!-- $$$startResize[overload1]$$$startResizeQWaylandSeat*Qt::Edges --> <h3 class="fn" id="startResize"><a name="startResize"></a><code>[signal] </code><span class="type">void</span> QWaylandXdgToplevelV6::<span class="name">startResize</span>(<span class="type"><a href="qwaylandseat.html">QWaylandSeat</a></span> *<i>seat</i>, <span class="type">Qt::Edges</span> <i>edges</i>)</h3> <!-- @@@startResize --> <!-- $$$states[overload1]$$$states --> <h3 class="fn" id="states"><a name="states"></a><span class="type">QVector</span><<span class="type"><a href="qwaylandxdgtoplevelv6.html#State-enum">QWaylandXdgToplevelV6::State</a></span>> QWaylandXdgToplevelV6::<span class="name">states</span>() const</h3> <!-- @@@states --> <!-- $$$unsetFullscreen[overload1]$$$unsetFullscreen --> <h3 class="fn" id="unsetFullscreen"><a name="unsetFullscreen"></a><code>[signal] </code><span class="type">void</span> QWaylandXdgToplevelV6::<span class="name">unsetFullscreen</span>()</h3> <!-- @@@unsetFullscreen --> <!-- $$$unsetMaximized[overload1]$$$unsetMaximized --> <h3 class="fn" id="unsetMaximized"><a name="unsetMaximized"></a><code>[signal] </code><span class="type">void</span> QWaylandXdgToplevelV6::<span class="name">unsetMaximized</span>()</h3> <!-- @@@unsetMaximized --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>