The QWaylandQuickShellSurfaceItem class provides a Qt Quick item that represents a QWaylandShellSurface . 更多...
| 头: | #include <QWaylandQuickShellSurfaceItem> | 
| qmake: | QT += waylandcompositor | 
| Since: | Qt 5.8 | 
| 继承: | QWaylandQuickItem | 
| QWaylandQuickShellSurfaceItem (QQuickItem * parent = nullptr) | |
| virtual | ~QWaylandQuickShellSurfaceItem () override | 
| bool | autoCreatePopupItems () | 
| QQuickItem * | moveItem () const | 
| void | setAutoCreatePopupItems (bool enabled ) | 
| void | setMoveItem (QQuickItem * moveItem ) | 
| void | setShellSurface (QWaylandShellSurface * shellSurface ) | 
| QWaylandShellSurface * | shellSurface () const | 
| void | autoCreatePopupItemsChanged () | 
| void | moveItemChanged () | 
| void | shellSurfaceChanged () | 
| const QMetaObject | staticMetaObject | 
| virtual void | mouseMoveEvent (QMouseEvent * event ) override | 
| virtual void | mouseReleaseEvent (QMouseEvent * event ) override | 
The QWaylandQuickShellSurfaceItem class provides a Qt Quick item that represents a QWaylandShellSurface .
						This class is used to render
						
wl_shell
						
						,
						
xdg_shell
						
						or
						
ivi_application
						
						surfaces as part of a Qt Quick scene. It handles moving and resizing triggered by clicking on the window decorations.
					
另请参阅 QWaylandQuickItem , QWaylandWlShellSurface , QWaylandXdgSurfaceV5 ,和 QWaylandIviSurface .
This property holds whether QWaylandQuickShellSurfaceItems for popups parented to the shell surface managed by this item should automatically be created.
访问函数:
| bool | autoCreatePopupItems () | 
| void | setAutoCreatePopupItems (bool enabled ) | 
通知程序信号:
| void | autoCreatePopupItemsChanged () | 
This property holds the move item for this QWaylandQuickShellSurfaceItem . This is the item that will be moved when the clients request the QWaylandShellSurface to be moved, maximized, resized etc. This property is useful when implementing server-side decorations.
访问函数:
| QQuickItem * | moveItem () const | 
| void | setMoveItem (QQuickItem * moveItem ) | 
通知程序信号:
| void | moveItemChanged () | 
此特性保持 QWaylandShellSurface rendered by this QWaylandQuickShellSurfaceItem . It may either be a QWaylandXdgSurfaceV5, QWaylandWlShellSurface or QWaylandIviSurface depending on which shell protocol is in use.
访问函数:
| QWaylandShellSurface * | shellSurface () const | 
| void | setShellSurface (QWaylandShellSurface * shellSurface ) | 
通知程序信号:
| void | shellSurfaceChanged () | 
Constructs a QWaylandQuickWlShellSurfaceItem with the given parent .
[override virtual]
						
						QWaylandQuickShellSurfaceItem::
						
							~QWaylandQuickShellSurfaceItem
						
						()
						
					Destroys the instance of QWaylandQuickShellSurfaceItem. The destructor is virtual.
[override virtual protected]
						
						
							void
						
						QWaylandQuickShellSurfaceItem::
						
							mouseMoveEvent
						
						(
						
							
								QMouseEvent
							
						
						*
						event
						)
						
					
[override virtual protected]
						
						
							void
						
						QWaylandQuickShellSurfaceItem::
						
							mouseReleaseEvent
						
						(
						
							
								QMouseEvent
							
						
						*
						event
						)