window

Top  Previous  Next

The window object has a few properties allowing you to control various aspects of the NetRemote window.

 

Properties

Property

Type

Description

url

string

URL of the QML file to load. For example file:///c:/my files/test.qml.

fullscreen

bool

make the window fullscreen or not.

pos

object with numbers x and y

Sets the position of the window. For example window.pos.x = 10;

size

object with number width and height

Sets the size of the window. For example window.size.width=100;

maximumWidth, maximumHeight

number

Sets the maximum width or height

minimumWidth, minimumHeight

number

Sets the minimum width or height

 

There are more properties and function that can be used. These can be found in the QWidget documentation of Qt here. Look for the "Properties" and the "Public Slots".