UINavigationItem QML Type

TODO: doc More...

Import Statement: import .

Detailed Description

UINavigationItem is a class for manupulating the "navigation bar" of a ViewController.

The elements of a UINavigationItem are the left and right barButtonItems and the prompt, a small text line showing more information in addition to the title of the ViewController:

TODO picture / screenshot


  import jsee23.qmluikit 0.1

  UIViewController {
      title: "My Controller"

      navigationItem.leftBarButtonItem: UIBarButtonItem {
          title: "Add"
          onClicked: {
              // Do something...
          }
      }
      ...
  }

Property Documentation

leftBarButtonItem : UIBarButtonItem

TODO: doc


prompt : string

The prompt is a small text line horizontal centered on the UINavigationItem, above the title of the ViewController.

See also jsee23.qmluikit::UIViewController::title.


rightBarButtonItem : UIBarButtonItem

TODO: doc