morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::testing::WidgetBounds Struct Reference

Where a widget is drawn, in its backend's own units (a cell on the terminal; Theme.unitWidth and Theme.unitHeight on Qt Quick), from the top left of the window or screen. More...

#include <backend_conformance.hpp>

Public Attributes

double x = 0
 The left edge.
double y = 0
 The top edge.
double width = 0
 The width.
double height = 0
 The height.

Detailed Description

Where a widget is drawn, in its backend's own units (a cell on the terminal; Theme.unitWidth and Theme.unitHeight on Qt Quick), from the top left of the window or screen.

Definition at line 35 of file backend_conformance.hpp.

Member Data Documentation

◆ x

double morph::ui::testing::WidgetBounds::x = 0

The left edge.

Definition at line 37 of file backend_conformance.hpp.

◆ y

double morph::ui::testing::WidgetBounds::y = 0

The top edge.

Definition at line 39 of file backend_conformance.hpp.

◆ width

double morph::ui::testing::WidgetBounds::width = 0

The width.

Definition at line 41 of file backend_conformance.hpp.

◆ height

double morph::ui::testing::WidgetBounds::height = 0

The height.

Definition at line 43 of file backend_conformance.hpp.


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