ApplicationCCWindow QML Type

The application center console window of a Neptune 3 application. More...

Import Statement: import .
Since: Qt 5.12
Inherits:

NeptuneWindow

Properties

Detailed Description

The application center console window of a Neptune 3 application is displayed on the Center Console. This component also provides APIs for interacting with system UI and for positioning the application's visual elements.

See Neptune 3 UI App Development for best practices on how to use the APIs.

Example Usage

The following example uses ApplicationCCWindow as a root element:

import QtQuick 2.10
import application.windows 1.0

ApplicationCCWindow {
    id: root
    Background {
        anchors.fill: parent
    }
    Content {
        x: root.exposedRect.x
        y: root.exposedRect.x
        width: root.exposedRect.width
        height: root.exposedRect.height
    }
}

Property Documentation

currentHeight : int

This property holds the current height of the application.


[read-only] exposedRect : rect

This property holds the area of the window that is exposed to the user (ie, not blocked or occluded by other UI elements)


neptuneState : string

This property holds the current state of the application. The valid values for neptuneState are (Maximized, Minimized, Widget1Row, Widget2Rows or Widget3Rows)


[read-only] targetHeight : int

This property holds the target height of the application. This property will be updated when the neptune state is being changed.


© 2018 Pelagicore AG. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.