17 #ifndef _udialogs_hpp_ 18 #define _udialogs_hpp_ 1 19 #include <ubit/uwin.hpp> 90 static UStyle* createStyle();
134 static UStyle* createStyle();
161 void constructs(
UArgs message);
virtual void removingFrom(UChild &, UElem &parent)
called when this object is removed from a parent (SEE DETAILS IF YOU REDEFINE THIS METHOD)...
Definition: udialogs.cpp:90
Predefined dialog box with optional content, icon and buttons area.
Definition: udialogs.hpp:146
static void showErrorDialog(const UStr &message_string)
pops up an Error dialog on the screen (see showMessageDialog()).
Definition: udialogs.cpp:245
virtual UWin & setTitle(const UStr &title)
changes the title of the window.
Definition: uwin.cpp:394
UFrame: toplevel and main window.
Definition: udialogs.hpp:117
static void showMessageDialog(const UStr &title, const UStr &message_string, UArgs icon=UArgs::none)
pops up a Message dialog on the screen.
virtual void show(bool state=true)
< shows/hides the dialog box on this display;
Definition: udialogs.hpp:132
virtual void show(bool state, UDisp *)
shows/hides the window on this display;
Display Context.
Definition: udisp.hpp:44
virtual UDialog & setTitle(const UStr &title)
changes the title of the dialog box.
Definition: udialogs.hpp:38
The Application Context.
Definition: uappli.hpp:79
lightweight general purpose container.
Definition: uelem.hpp:44
base class of callback objects for firing functions or methods.
Definition: ucall.hpp:144
Argument list (for passing arguments to constructor or add functions).
Definition: uargs.hpp:43
bool isMainFrame() const
is this frame the "main frame"? (
Definition: udialogs.hpp:125
virtual void destructs()
unlinks the object from its parents and destroys its children.
Definition: uelem.cpp:109
virtual void show(bool state, UDisp *)
shows/hides the window on this display;
virtual void show(bool state=true)
< shows/hides the dialog box on this display;
Definition: udialogs.hpp:44
static void showWarningDialog(const UStr &message_string)
pops up a Warning dialog on the screen (see showMessageDialog()).
Definition: udialogs.cpp:255
virtual bool realize()
[impl] initializes the window and its children.
Definition: udialogs.cpp:72
Definition: uhardfont.hpp:31
static void showAlertDialog(const UStr &message_string)
< shows/hides this dialog box.
Definition: udialogs.cpp:235
static const UArgs none
the empty arglist.
Definition: uargs.hpp:45
Dialog box.
Definition: udialogs.hpp:29
Base class for windows and menus.
Definition: uwin.hpp:47
virtual void addingTo(UChild &, UElem &parent)
called when this object is added to a parent.
Definition: udialogs.cpp:80
Compiled Object Style.
Definition: ustyle.hpp:44
Ubit String.
Definition: ustr.hpp:72
[impl] Internal implementation of a child node.
Definition: uchild.hpp:23
virtual UFrame & setTitle(const UStr &title)
changes the title of the dialog box.
Definition: udialogs.hpp:128
UDialog(UArgs nodelist=UArgs::none)
creates a new Dialog Window;
Definition: udialogs.cpp:68