LayoutSquare

Layout manager that maintains a square aspect ratio.

Declared in src/libs/libhud/hud/qfi/LayoutSquare.h
Inherits QLayout
Group hud

Detailed description

LayoutSquare is a QLayout subclass that keeps its single child widget in a centered square, regardless of the parent container's aspect ratio. Used for flight instrument widgets.

See also qfi_ADI, qfi_ALT, qfi_ASI.

In this section