My Project
|
Holds a Mir surface. Pretty much an opaque class. More...
#include <unity/shell/application/MirSurfaceInterface.h>
Signals | |
void | focusRequested () |
Emitted in response to a requestFocus() call. | |
Public Member Functions | |
virtual Q_INVOKABLE void | requestFocus ()=0 |
Requests focus for this surface. More... | |
virtual Q_INVOKABLE void | close ()=0 |
Sends a close request. | |
virtual Q_INVOKABLE void | raise ()=0 |
Raises this surface to be the first/top one among its siblings. | |
Properties | |
Mir::Type | type |
The surface type. | |
QString | name |
Name of the surface, given by the client application. | |
QSize | size |
Size of the current surface buffer, in pixels. | |
Mir::State | state |
State of the surface. | |
bool | live |
True if it has a mir client bound to it. A "zombie" (live == false) surface never becomes alive again. | |
bool | visible |
Visibility of the surface. | |
Mir::OrientationAngle | orientationAngle |
Orientation angle of the surface. More... | |
int | minimumWidth |
The requested minimum width for the surface Zero if not set. | |
int | minimumHeight |
The requested minimum height for the surface Zero if not set. | |
int | maximumWidth |
The requested maximum width for the surface Zero if not set. | |
int | maximumHeight |
The requested maximum height for the surface Zero if not set. | |
int | widthIncrement |
The requested width increment for the surface Zero if not set. | |
int | heightIncrement |
The requested height increment for the surface Zero if not set. | |
Mir::ShellChrome | shellChrome |
The Shell chrome mode. | |
QString | keymap |
The requested keymap for this surface Its format is "layout+variant". | |
bool | focused |
Whether the surface is focused. More... | |
Holds a Mir surface. Pretty much an opaque class.
All surface manipulation is done by giving it to a MirSurfaceItem and then using MirSurfaceItem's properties.
|
pure virtual |
Requests focus for this surface.
Causes the emission of focusRequested()
|
read |
Whether the surface is focused.
It will be true if this surface is MirFocusControllerInterface::focusedSurface
|
readwrite |
Orientation angle of the surface.
How many degrees, clockwise, the UI in the surface has to rotate to match shell's UI orientation