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

CursorShape

CursorShape: number

Cursor shape. Can be used with tiled.cursor to create a system cursor.

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 ArrowCursor

ArrowCursor: CursorShape

Const BlankCursor

BlankCursor: CursorShape

Const BusyCursor

BusyCursor: CursorShape

Const Checked

Checked: CheckState

Value = 2

Const ClosedHandCursor

ClosedHandCursor: CursorShape

Const CrossCursor

CrossCursor: CursorShape

Const DragCopyCursor

DragCopyCursor: CursorShape

Const DragLinkCursor

DragLinkCursor: CursorShape

Const DragMoveCursor

DragMoveCursor: CursorShape

Const ForbiddenCursor

ForbiddenCursor: CursorShape

Const IBeamCursor

IBeamCursor: CursorShape

Const OpenHandCursor

OpenHandCursor: CursorShape

Const PartiallyChecked

PartiallyChecked: CheckState

The item is partially checked. Value = 1.

Const PointingHandCursor

PointingHandCursor: CursorShape

Const SizeAllCursor

SizeAllCursor: CursorShape

Const SizeBDiagCursor

SizeBDiagCursor: CursorShape

Const SizeFDiagCursor

SizeFDiagCursor: CursorShape

Const SizeHorCursor

SizeHorCursor: CursorShape

Const SizeVerCursor

SizeVerCursor: CursorShape

Const SplitHCursor

SplitHCursor: CursorShape

Const SplitVCursor

SplitVCursor: CursorShape

Const Unchecked

Unchecked: CheckState

The item is unchecked. Value = 0

Const UpArrowCursor

UpArrowCursor: CursorShape

Const WaitCursor

WaitCursor: CursorShape

Const WhatsThisCursor

WhatsThisCursor: CursorShape

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