Meego Wiki
Views

ModalMessageBox API Snapshot

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(created ModalMessageBox API Snapshot page)
(removed private properties)
 
Line 15: Line 15:
;''bool'' fogClickable  
;''bool'' fogClickable  
:Sets the fog clickable
:Sets the fog clickable
-
 
-
=Private Properties=
 
-
-
 
   
   
=Signals=
=Signals=

Latest revision as of 12:30, 28 April 2011

Contents

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"
}
Personal tools