dbp::message_box Class Reference

Message box dialog. More...

#include <dialogs.h>

List of all members.

Public Member Functions

virtual void init (const std::string &title, const std::string &message, message_type::message_type type=message_type::error, message_buttons::message_buttons buttons=message_buttons::ok)=0
 Initialize the dialog.
virtual
message_response::message_response 
execute ()=0
 Execute the dialog.

Detailed Description

Message box dialog.

Prompts the user with system message box and waits for user response.

You can create the message_box instance via widget_factory class.


Member Function Documentation

virtual message_response::message_response dbp::message_box::execute (  )  [pure virtual]

Execute the dialog.

Returns:
the execution result (button pressed).
virtual void dbp::message_box::init ( const std::string &  title,
const std::string &  message,
message_type::message_type  type = message_type::error,
message_buttons::message_buttons  buttons = message_buttons::ok 
) [pure virtual]

Initialize the dialog.

Initializes the dialog with the information passed.

Parameters:
title the dialog caption.
message the dialog message text.
type the message type.
buttons dialog buttons.

The documentation for this class was generated from the following file:

 
Support This Project
SourceForge.net Logo