Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
PhosphorProtocol::ZoneGeometryRect Struct Reference

D-Bus struct for zone geometry: (iiii) More...

#include <phosphor-protocol/include/PhosphorProtocol/ZoneTypes.h>

Public Member Functions

QRect toRect () const
 

Static Public Member Functions

static ZoneGeometryRect fromRect (const QRect &r)
 

Public Attributes

int x = 0
 
int y = 0
 
int width = 0
 
int height = 0
 

Detailed Description

D-Bus struct for zone geometry: (iiii)

Member Function Documentation

◆ fromRect()

static ZoneGeometryRect PhosphorProtocol::ZoneGeometryRect::fromRect ( const QRect &  r)
inlinestatic

◆ toRect()

QRect PhosphorProtocol::ZoneGeometryRect::toRect ( ) const
inline

Member Data Documentation

◆ height

int PhosphorProtocol::ZoneGeometryRect::height = 0

◆ width

int PhosphorProtocol::ZoneGeometryRect::width = 0

◆ x

int PhosphorProtocol::ZoneGeometryRect::x = 0

◆ y

int PhosphorProtocol::ZoneGeometryRect::y = 0

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