• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • LayoutSquare
  • LayoutSquare Class

    Layout manager that maintains a square aspect ratio. More...

    Header: #include <LayoutSquare>
    Since: 1.0
    Inherits: QLayout

    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, and qfi_ASI.