<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qwaylandwlshell.cpp --> <title>QWaylandWlShellSurface 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 >QWaylandWlShellSurface</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="#public-slots">Public Slots</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">QWaylandWlShellSurface Class</h1> <!-- $$$QWaylandWlShellSurface-brief --> <p>The <a href="qwaylandwlshellsurface.html">QWaylandWlShellSurface</a> class provides desktop-style compositor-specific features to a surface. <a href="#details">More...</a></p> <!-- @@@QWaylandWlShellSurface --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QWaylandWlShellSurface></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.8</td></tr></table></div><ul> <li><a href="qwaylandwlshellsurface-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="qwaylandwlshellsurface.html#FullScreenMethod-enum">FullScreenMethod</a></b> { DefaultFullScreen, ScaleFullScreen, DriverFullScreen, FillFullScreen }</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#ResizeEdge-enum">ResizeEdge</a></b> { NoneEdge, TopEdge, BottomEdge, LeftEdge, ..., BottomRightEdge }</td></tr> </table></div> <a name="properties"></a> <h2 id="properties">Properties</h2> <ul> <li class="fn"><b><a href="qwaylandwlshellsurface.html#className-prop">className</a></b> : const QString</li> <li class="fn"><b><a href="qwaylandwlshellsurface.html#shell-prop">shell</a></b> : QWaylandWlShell* const</li> <li class="fn"><b><a href="qwaylandwlshellsurface.html#surface-prop">surface</a></b> : QWaylandSurface* const</li> <li class="fn"><b><a href="qwaylandwlshellsurface.html#title-prop">title</a></b> : const QString</li> </ul> <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="qwaylandwlshellsurface.html#QWaylandWlShellSurface">QWaylandWlShellSurface</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#QWaylandWlShellSurface-1">QWaylandWlShellSurface</a></b>(QWaylandWlShell *<i>shell</i>, QWaylandSurface *<i>surface</i>, const QWaylandResource &<i>res</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#dtor.QWaylandWlShellSurface">~QWaylandWlShellSurface</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#className-prop">className</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QWaylandQuickShellIntegration *</td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#createIntegration">createIntegration</a></b>(QWaylandQuickShellSurfaceItem *<i>item</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QQmlListProperty<QObject> </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#data">data</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#initialize">initialize</a></b>(QWaylandWlShell *<i>shell</i>, QWaylandSurface *<i>surface</i>, const QWaylandResource &<i>resource</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#sendConfigure">sendConfigure</a></b>(const QSize &<i>size</i>, QWaylandWlShellSurface::ResizeEdge <i>edges</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#sendPopupDone">sendPopupDone</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QWaylandWlShell *</td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#shell-prop">shell</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QSize </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#sizeForResize">sizeForResize</a></b>(const QSizeF &<i>size</i>, const QPointF &<i>delta</i>, QWaylandWlShellSurface::ResizeEdge <i>edges</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QWaylandSurface *</td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#surface-prop">surface</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QString </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#title-prop">title</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt::WindowType </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#windowType">windowType</a></b>() const</td></tr> </table></div> <a name="public-slots"></a> <h2 id="public-slots">Public Slots</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#ping">ping</a></b>()</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="qwaylandwlshellsurface.html#className-prop">classNameChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#pong">pong</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#setDefaultToplevel">setDefaultToplevel</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#setFullScreen">setFullScreen</a></b>(QWaylandWlShellSurface::FullScreenMethod <i>method</i>, uint <i>framerate</i>, QWaylandOutput *<i>output</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#setMaximized">setMaximized</a></b>(QWaylandOutput *<i>output</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#setPopup">setPopup</a></b>(QWaylandSeat *<i>seat</i>, QWaylandSurface *<i>parentSurface</i>, const QPoint &<i>relativeToParent</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#setTransient">setTransient</a></b>(QWaylandSurface *<i>parentSurface</i>, const QPoint &<i>relativeToParent</i>, bool <i>inactive</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#shell-prop">shellChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.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="qwaylandwlshellsurface.html#startResize">startResize</a></b>(QWaylandSeat *<i>seat</i>, QWaylandWlShellSurface::ResizeEdge <i>edges</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#surface-prop">surfaceChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#title-prop">titleChanged</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"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#appendFunction">appendFunction</a></b>(QQmlListProperty<QObject> *<i>list</i>, QObject *<i>object</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QObject *</td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#atFunction">atFunction</a></b>(QQmlListProperty<QObject> *<i>list</i>, int <i>index</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#clearFunction">clearFunction</a></b>(QQmlListProperty<QObject> *<i>list</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#countFunction">countFunction</a></b>(QQmlListProperty<QObject> *<i>list</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QWaylandWlShellSurface *</td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#fromResource">fromResource</a></b>(wl_resource *<i>resource</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> const struct wl_interface *</td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#interface">interface</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QWaylandSurfaceRole *</td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#role">role</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qwaylandwlshellsurface.html#staticMetaObject-var">staticMetaObject</a></b></td></tr> </table></div> <a name="details"></a> <!-- $$$QWaylandWlShellSurface-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The <a href="qwaylandwlshellsurface.html">QWaylandWlShellSurface</a> class provides desktop-style compositor-specific features to a surface.</p> <p>This class is part of the <a href="qwaylandwlshell.html">QWaylandWlShell</a> extension and provides a way to extend the functionality of an existing <a href="qwaylandsurface.html">QWaylandSurface</a> with features specific to desktop-style compositors, such as resizing and moving the surface.</p> <p>It corresponds to the Wayland interface <code>wl_shell_surface</code>.</p> </div> <!-- @@@QWaylandWlShellSurface --> <div class="types"> <h2>Member Type Documentation</h2> <!-- $$$FullScreenMethod$$$DefaultFullScreen$$$ScaleFullScreen$$$DriverFullScreen$$$FillFullScreen --> <h3 class="fn" id="FullScreenMethod-enum"><a name="FullScreenMethod-enum"></a>enum QWaylandWlShellSurface::<span class="name">FullScreenMethod</span></h3> <!-- @@@FullScreenMethod --> <!-- $$$ResizeEdge$$$NoneEdge$$$TopEdge$$$BottomEdge$$$LeftEdge$$$TopLeftEdge$$$BottomLeftEdge$$$RightEdge$$$TopRightEdge$$$BottomRightEdge --> <h3 class="fn" id="ResizeEdge-enum"><a name="ResizeEdge-enum"></a>enum QWaylandWlShellSurface::<span class="name">ResizeEdge</span></h3> <p>This enum type provides a way to specify an edge or corner of the surface.</p> <div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr> <tr><td class="topAlign"><code>QWaylandWlShellSurface::NoneEdge</code></td><td class="topAlign tblval"><code>0</code></td><td class="topAlign">No edge.</td></tr> <tr><td class="topAlign"><code>QWaylandWlShellSurface::TopEdge</code></td><td class="topAlign tblval"><code>1</code></td><td class="topAlign">The top edge.</td></tr> <tr><td class="topAlign"><code>QWaylandWlShellSurface::BottomEdge</code></td><td class="topAlign tblval"><code>2</code></td><td class="topAlign">The bottom edge.</td></tr> <tr><td class="topAlign"><code>QWaylandWlShellSurface::LeftEdge</code></td><td class="topAlign tblval"><code>4</code></td><td class="topAlign">The left edge.</td></tr> <tr><td class="topAlign"><code>QWaylandWlShellSurface::TopLeftEdge</code></td><td class="topAlign tblval"><code>5</code></td><td class="topAlign">The top left corner.</td></tr> <tr><td class="topAlign"><code>QWaylandWlShellSurface::BottomLeftEdge</code></td><td class="topAlign tblval"><code>6</code></td><td class="topAlign">The bottom left corner.</td></tr> <tr><td class="topAlign"><code>QWaylandWlShellSurface::RightEdge</code></td><td class="topAlign tblval"><code>8</code></td><td class="topAlign">The right edge.</td></tr> <tr><td class="topAlign"><code>QWaylandWlShellSurface::TopRightEdge</code></td><td class="topAlign tblval"><code>9</code></td><td class="topAlign">The top right corner.</td></tr> <tr><td class="topAlign"><code>QWaylandWlShellSurface::BottomRightEdge</code></td><td class="topAlign tblval"><code>10</code></td><td class="topAlign">The bottom right corner.</td></tr> </table></div> <!-- @@@ResizeEdge --> </div> <div class="prop"> <h2>Property Documentation</h2> <!-- $$$className-prop$$$className$$$classNameChanged --> <h3 class="fn" id="className-prop"><a name="className-prop"></a><span class="name">className</span> : const <span class="type">QString</span></h3> <p>This property holds the class name of the <a href="qwaylandwlshellsurface.html">QWaylandWlShellSurface</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>className</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>classNameChanged</b></span>()</td></tr> </table></div> <!-- @@@className --> <!-- $$$shell-prop$$$shell$$$shellChanged --> <h3 class="fn" id="shell-prop"><a name="shell-prop"></a><span class="name">shell</span> : <span class="type"><a href="qwaylandwlshell.html">QWaylandWlShell</a></span>* const</h3> <p>This property holds the shell associated with this <a href="qwaylandwlshellsurface.html">QWaylandWlShellSurface</a>.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QWaylandWlShell *</td><td class="memItemRight bottomAlign"><span class="name"><b>shell</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>shellChanged</b></span>()</td></tr> </table></div> <!-- @@@shell --> <!-- $$$surface-prop$$$surface$$$surfaceChanged --> <h3 class="fn" id="surface-prop"><a name="surface-prop"></a><span class="name">surface</span> : <span class="type"><a href="qwaylandsurface.html">QWaylandSurface</a></span>* const</h3> <p>This property holds the surface associated with this <a href="qwaylandwlshellsurface.html">QWaylandWlShellSurface</a>.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QWaylandSurface *</td><td class="memItemRight bottomAlign"><span class="name"><b>surface</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>surfaceChanged</b></span>()</td></tr> </table></div> <!-- @@@surface --> <!-- $$$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="qwaylandwlshellsurface.html">QWaylandWlShellSurface</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> <!-- $$$QWaylandWlShellSurface[overload1]$$$QWaylandWlShellSurface --> <h3 class="fn" id="QWaylandWlShellSurface"><a name="QWaylandWlShellSurface"></a>QWaylandWlShellSurface::<span class="name">QWaylandWlShellSurface</span>()</h3> <p>Constructs a <a href="qwaylandwlshellsurface.html">QWaylandWlShellSurface</a>.</p> <!-- @@@QWaylandWlShellSurface --> <!-- $$$QWaylandWlShellSurface$$$QWaylandWlShellSurfaceQWaylandWlShell*QWaylandSurface*constQWaylandResource& --> <h3 class="fn" id="QWaylandWlShellSurface-1"><a name="QWaylandWlShellSurface-1"></a>QWaylandWlShellSurface::<span class="name">QWaylandWlShellSurface</span>(<span class="type"><a href="qwaylandwlshell.html">QWaylandWlShell</a></span> *<i>shell</i>, <span class="type"><a href="qwaylandsurface.html">QWaylandSurface</a></span> *<i>surface</i>, const <span class="type">QWaylandResource</span> &<i>res</i>)</h3> <p>Constructs a <a href="qwaylandwlshellsurface.html">QWaylandWlShellSurface</a> for <i>surface</i> and initializes it with the given <i>shell</i> and resource <i>res</i>.</p> <!-- @@@QWaylandWlShellSurface --> <!-- $$$~QWaylandWlShellSurface[overload1]$$$~QWaylandWlShellSurface --> <h3 class="fn" id="dtor.QWaylandWlShellSurface"><a name="dtor.QWaylandWlShellSurface"></a>QWaylandWlShellSurface::<span class="name">~QWaylandWlShellSurface</span>()</h3> <p>Destroys the instance of QWaylandWlShellSurface.</p><!-- @@@~QWaylandWlShellSurface --> <!-- $$$appendFunction[overload1]$$$appendFunctionQQmlListProperty<QObject>*QObject* --> <h3 class="fn" id="appendFunction"><a name="appendFunction"></a><code>[static] </code><span class="type">void</span> QWaylandWlShellSurface::<span class="name">appendFunction</span>(<span class="type">QQmlListProperty</span><<span class="type">QObject</span>> *<i>list</i>, <span class="type">QObject</span> *<i>object</i>)</h3> <!-- @@@appendFunction --> <!-- $$$atFunction[overload1]$$$atFunctionQQmlListProperty<QObject>*int --> <h3 class="fn" id="atFunction"><a name="atFunction"></a><code>[static] </code><span class="type">QObject</span> *QWaylandWlShellSurface::<span class="name">atFunction</span>(<span class="type">QQmlListProperty</span><<span class="type">QObject</span>> *<i>list</i>, <span class="type">int</span> <i>index</i>)</h3> <!-- @@@atFunction --> <!-- $$$clearFunction[overload1]$$$clearFunctionQQmlListProperty<QObject>* --> <h3 class="fn" id="clearFunction"><a name="clearFunction"></a><code>[static] </code><span class="type">void</span> QWaylandWlShellSurface::<span class="name">clearFunction</span>(<span class="type">QQmlListProperty</span><<span class="type">QObject</span>> *<i>list</i>)</h3> <!-- @@@clearFunction --> <!-- $$$countFunction[overload1]$$$countFunctionQQmlListProperty<QObject>* --> <h3 class="fn" id="countFunction"><a name="countFunction"></a><code>[static] </code><span class="type">int</span> QWaylandWlShellSurface::<span class="name">countFunction</span>(<span class="type">QQmlListProperty</span><<span class="type">QObject</span>> *<i>list</i>)</h3> <!-- @@@countFunction --> <!-- $$$createIntegration[overload1]$$$createIntegrationQWaylandQuickShellSurfaceItem* --> <h3 class="fn" id="createIntegration"><a name="createIntegration"></a><span class="type">QWaylandQuickShellIntegration</span> *QWaylandWlShellSurface::<span class="name">createIntegration</span>(<span class="type"><a href="qwaylandquickshellsurfaceitem.html">QWaylandQuickShellSurfaceItem</a></span> *<i>item</i>)</h3> <!-- @@@createIntegration --> <!-- $$$data[overload1]$$$data --> <h3 class="fn" id="data"><a name="data"></a><span class="type">QQmlListProperty</span><<span class="type">QObject</span>> QWaylandWlShellSurface::<span class="name">data</span>()</h3> <!-- @@@data --> <!-- $$$fromResource[overload1]$$$fromResourcewl_resource* --> <h3 class="fn" id="fromResource"><a name="fromResource"></a><code>[static] </code><span class="type"><a href="qwaylandwlshellsurface.html#QWaylandWlShellSurface">QWaylandWlShellSurface</a></span> *QWaylandWlShellSurface::<span class="name">fromResource</span>(<span class="type">wl_resource</span> *<i>resource</i>)</h3> <p>Returns the <a href="qwaylandwlshellsurface.html">QWaylandWlShellSurface</a> object associated with the given <i>resource</i>, or null if no such object exists.</p> <!-- @@@fromResource --> <!-- $$$initialize[overload1]$$$initializeQWaylandWlShell*QWaylandSurface*constQWaylandResource& --> <h3 class="fn" id="initialize"><a name="initialize"></a><span class="type">void</span> QWaylandWlShellSurface::<span class="name">initialize</span>(<span class="type"><a href="qwaylandwlshell.html">QWaylandWlShell</a></span> *<i>shell</i>, <span class="type"><a href="qwaylandsurface.html">QWaylandSurface</a></span> *<i>surface</i>, const <span class="type">QWaylandResource</span> &<i>resource</i>)</h3> <p>Initializes the <a href="qwaylandwlshellsurface.html">QWaylandWlShellSurface</a> and associates it with the given <i>shell</i>, <i>surface</i>, and <i>resource</i>.</p> <p><b>Note: </b>This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.</p> <!-- @@@initialize --> <!-- $$$interface[overload1]$$$interface --> <h3 class="fn" id="interface"><a name="interface"></a><code>[static] </code>const <span class="type">struct</span> <span class="type">wl_interface</span> *QWaylandWlShellSurface::<span class="name">interface</span>()</h3> <!-- @@@interface --> <!-- $$$ping[overload1]$$$ping --> <h3 class="fn" id="ping"><a name="ping"></a><code>[slot] </code><span class="type">void</span> QWaylandWlShellSurface::<span class="name">ping</span>()</h3> <p>Sends a ping event to the client. If the client replies to the event the pong signal will be emitted.</p> <!-- @@@ping --> <!-- $$$pong[overload1]$$$pong --> <h3 class="fn" id="pong"><a name="pong"></a><code>[signal] </code><span class="type">void</span> QWaylandWlShellSurface::<span class="name">pong</span>()</h3> <!-- @@@pong --> <!-- $$$role[overload1]$$$role --> <h3 class="fn" id="role"><a name="role"></a><code>[static] </code><span class="type">QWaylandSurfaceRole</span> *QWaylandWlShellSurface::<span class="name">role</span>()</h3> <!-- @@@role --> <!-- $$$sendConfigure[overload1]$$$sendConfigureconstQSize&QWaylandWlShellSurface::ResizeEdge --> <h3 class="fn" id="sendConfigure"><a name="sendConfigure"></a><span class="type">void</span> QWaylandWlShellSurface::<span class="name">sendConfigure</span>(const <span class="type">QSize</span> &<i>size</i>, <span class="type"><a href="qwaylandwlshellsurface.html#ResizeEdge-enum">QWaylandWlShellSurface::ResizeEdge</a></span> <i>edges</i>)</h3> <p>Sends a configure event to the client, suggesting that it resize its surface to the provided <i>size</i>. The <i>edges</i> provide a hint about how the surface was resized.</p> <p><b>Note: </b>This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.</p> <!-- @@@sendConfigure --> <!-- $$$sendPopupDone[overload1]$$$sendPopupDone --> <h3 class="fn" id="sendPopupDone"><a name="sendPopupDone"></a><span class="type">void</span> QWaylandWlShellSurface::<span class="name">sendPopupDone</span>()</h3> <p>Sends a popup_done event to the client to indicate that the user has clicked somewhere outside the client's surfaces.</p> <p><b>Note: </b>This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.</p> <!-- @@@sendPopupDone --> <!-- $$$setDefaultToplevel[overload1]$$$setDefaultToplevel --> <h3 class="fn" id="setDefaultToplevel"><a name="setDefaultToplevel"></a><code>[signal] </code><span class="type">void</span> QWaylandWlShellSurface::<span class="name">setDefaultToplevel</span>()</h3> <!-- @@@setDefaultToplevel --> <!-- $$$setFullScreen[overload1]$$$setFullScreenQWaylandWlShellSurface::FullScreenMethoduintQWaylandOutput* --> <h3 class="fn" id="setFullScreen"><a name="setFullScreen"></a><code>[signal] </code><span class="type">void</span> QWaylandWlShellSurface::<span class="name">setFullScreen</span>(<span class="type"><a href="qwaylandwlshellsurface.html#FullScreenMethod-enum">QWaylandWlShellSurface::FullScreenMethod</a></span> <i>method</i>, <span class="type">uint</span> <i>framerate</i>, <span class="type"><a href="qwaylandoutput.html">QWaylandOutput</a></span> *<i>output</i>)</h3> <!-- @@@setFullScreen --> <!-- $$$setMaximized[overload1]$$$setMaximizedQWaylandOutput* --> <h3 class="fn" id="setMaximized"><a name="setMaximized"></a><code>[signal] </code><span class="type">void</span> QWaylandWlShellSurface::<span class="name">setMaximized</span>(<span class="type"><a href="qwaylandoutput.html">QWaylandOutput</a></span> *<i>output</i>)</h3> <!-- @@@setMaximized --> <!-- $$$setPopup[overload1]$$$setPopupQWaylandSeat*QWaylandSurface*constQPoint& --> <h3 class="fn" id="setPopup"><a name="setPopup"></a><code>[signal] </code><span class="type">void</span> QWaylandWlShellSurface::<span class="name">setPopup</span>(<span class="type"><a href="qwaylandseat.html">QWaylandSeat</a></span> *<i>seat</i>, <span class="type"><a href="qwaylandsurface.html">QWaylandSurface</a></span> *<i>parentSurface</i>, const <span class="type">QPoint</span> &<i>relativeToParent</i>)</h3> <!-- @@@setPopup --> <!-- $$$setTransient[overload1]$$$setTransientQWaylandSurface*constQPoint&bool --> <h3 class="fn" id="setTransient"><a name="setTransient"></a><code>[signal] </code><span class="type">void</span> QWaylandWlShellSurface::<span class="name">setTransient</span>(<span class="type"><a href="qwaylandsurface.html">QWaylandSurface</a></span> *<i>parentSurface</i>, const <span class="type">QPoint</span> &<i>relativeToParent</i>, <span class="type">bool</span> <i>inactive</i>)</h3> <!-- @@@setTransient --> <!-- $$$sizeForResize[overload1]$$$sizeForResizeconstQSizeF&constQPointF&QWaylandWlShellSurface::ResizeEdge --> <h3 class="fn" id="sizeForResize"><a name="sizeForResize"></a><span class="type">QSize</span> QWaylandWlShellSurface::<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"><a href="qwaylandwlshellsurface.html#ResizeEdge-enum">QWaylandWlShellSurface::ResizeEdge</a></span> <i>edges</i>)</h3> <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> QWaylandWlShellSurface::<span class="name">startMove</span>(<span class="type"><a href="qwaylandseat.html">QWaylandSeat</a></span> *<i>seat</i>)</h3> <!-- @@@startMove --> <!-- $$$startResize[overload1]$$$startResizeQWaylandSeat*QWaylandWlShellSurface::ResizeEdge --> <h3 class="fn" id="startResize"><a name="startResize"></a><code>[signal] </code><span class="type">void</span> QWaylandWlShellSurface::<span class="name">startResize</span>(<span class="type"><a href="qwaylandseat.html">QWaylandSeat</a></span> *<i>seat</i>, <span class="type"><a href="qwaylandwlshellsurface.html#ResizeEdge-enum">QWaylandWlShellSurface::ResizeEdge</a></span> <i>edges</i>)</h3> <!-- @@@startResize --> <!-- $$$windowType[overload1]$$$windowType --> <h3 class="fn" id="windowType"><a name="windowType"></a><span class="type">Qt::WindowType</span> QWaylandWlShellSurface::<span class="name">windowType</span>() const</h3> <!-- @@@windowType --> </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>