Description
The ModalMessageBox is the base component for message boxes.
API Properties
- Item content
- The content can be added here
- string title
- Title of the message box
- string text
- Message text
- int width
- Width of buttons
- int height
- Height of buttons
- bool fogClickable
- Sets the fog clickable
Signals
- accepted
- Emitted on 'OK' clicked.
- rejected
- Emitted on 'Cancel' clicked.
Functions
-
Example
ModalMessageBox {
id: messageBox
text: "Any kind of message can be displayed here. More text. Click ok or cancel."
title: "Example Message Box"
}