My Project
unity::shell::application::MirSurfaceInterface Class Reference

Holds a Mir surface. Pretty much an opaque class. More...

#include <unity/shell/application/MirSurfaceInterface.h>

Inheritance diagram for unity::shell::application::MirSurfaceInterface:
Collaboration diagram for unity::shell::application::MirSurfaceInterface:

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 keymapLayout
 Keymap layout. More...
 
QString keymapVariant
 Keymap variant. More...
 

Detailed Description

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.

Property Documentation

QString unity::shell::application::MirSurfaceInterface::keymapLayout
read

Keymap layout.

Keyboard layout component (first part of e.g. "cz+qwerty"); use setKeymap() to set it.

QString unity::shell::application::MirSurfaceInterface::keymapVariant
read

Keymap variant.

Keyboard variant component (second part of e.g. "cz+qwerty"); use setKeymap() to set it.

Mir::OrientationAngle unity::shell::application::MirSurfaceInterface::orientationAngle
readwrite

Orientation angle of the surface.

How many degrees, clockwise, the UI in the surface has to rotate to match shell's UI orientation


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