Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Qt

A global object with useful enums and functions from Qt.

Only a small subset of available members in the Qt object are documented here. See the Qt QML Type reference for the full documentation (keep in mind, that the QtQuick module is not currently loaded).

Index

Type aliases

Alignment

Alignment: number

Alignment is given by a set of flags. To align to the top while horizontally centering, the value can be set to Qt.AlignTop | Qt.AlignHCenter.

CheckState

CheckState: number

Variables

Const AlignBottom

AlignBottom: Alignment

Const AlignCenter

AlignCenter: Alignment

Const AlignHCenter

AlignHCenter: Alignment

Const AlignJustify

AlignJustify: Alignment

Const AlignLeft

AlignLeft: Alignment

Const AlignRight

AlignRight: Alignment

Const AlignTop

AlignTop: Alignment

Const AlignVCenter

AlignVCenter: Alignment

Const Checked

Checked: CheckState

Value = 2

Const PartiallyChecked

PartiallyChecked: CheckState

The item is partially checked. Value = 1.

Const Unchecked

Unchecked: CheckState

The item is unchecked. Value = 0

Functions

point

  • point(x: number, y: number): point
  • Returns a point with the specified x and y coordinates.

rect

  • rect(x: number, y: number, width: number, height: number): rect
  • Returns a rect with the top-left corner at x, y and the specified width and height.

size

  • size(width: number, height: number): size
  • Returns a size with the specified width and height.

Generated using TypeDoc