PopupBase

The base class for all dialogs, sheets and popovers. Do not use directly. More...

Import Statement: import Ubuntu.Components.Popups 0.1
Inherits:

OrientationHelper

Inherited By:

Dialog, Popover, and SheetBase.

Properties

Methods

Detailed Description

Examples: See subclasses.

Property Documentation

dismissArea : Item

The property holds the area used to dismiss the popups, the area from where mouse and touch events will be grabbed. By default this area is the Popup itself.


grabDismissAreaEvents : bool

The property specifies whether to forward or not the mouse and touch events happening outside of the popover. By default all events are grabbed.


Method Documentation

hide()

This QML method is under development and is subject to change.

Hide the popup. Only use this function if you handle memory management. Otherwise use PopupUtils.close() to do it automatically.


show()

This QML method is under development and is subject to change.

Make the popup visible. Reparent to the background area object first if needed. Only use this function if you handle memory management. Otherwise use PopupUtils.open() to do it automatically.