ApplicationWindow QML Type | Fluid Reference Documentation

- Fluid Reference Documentation
- Fluid 1.2.0

# ApplicationWindow QML Type

A window that provides features commonly used for Material Design apps. More...

Import Statement: | import Fluid.Controls 1.1

- List of all members, including inherited members

## Properties

- appBar : AppToolBar
- decorationColor : color
- decorationTheme : Theme
- initialPage : Page
- pageStack : PageStack

## Detailed Description

This is normally what you should use as your root component. It provides a ToolBar and PageStack to provide access to standard features used by Material Design applications.

Here is a short working example of an application:

      import QtQuick 2.10
      import Fluid.Controls 1.1 as FluidControls

      FluidControls.ApplicationWindow {
          title: "Application Name"
          width: 1024
          height: 800
          visible: true

          initialPage: page

          FluidControls.Page {
              id: page
              title: "Page Title"

              Label {
                  anchors.centerIn: parent
                  text: "Hello World!"
              }
          }
      }

## Property Documentation

appBar : AppToolBar

The tool bar for this application.

decorationColor : color

The color of the status bar or window decorations, if the current platform supports it.

decorationTheme : Theme

Theme of the status bar or window decoration, if the current platform supports it.

initialPage : Page

The initial page shown when the application starts.

pageStack : PageStack

The PageStack used for controlling pages and transitions between pages.