26 #include "YMGAWidgetExtensionFactory.h"
28 #include "YAlignment.h"
29 #include "YPushButton.h"
31 #include "YApplication.h"
33 #include "YMGAAboutDialog.h"
34 #include "YMGA_CBTable.h"
35 #include "YMGAMsgBox.h"
37 #define YUILogComponent "ew"
38 #include <yui/YUILog.h>
49 yuiMilestone() <<
"Factory removed" << std::endl;
53 const std::string& appver,
54 const std::string& applicense,
55 const std::string& appauthors,
56 const std::string& appdescription,
57 const std::string& applogo,
58 const std::string& appicon,
59 const std::string& appcredits,
60 const std::string& appinfo
79 msgBox->
setText(text, useRichText);
88 msgBox->
setText(text, useRichText);
97 msgBox->
setText(text, useRichText);
110 return dynamic_cast<YWidgetEvent*
>(event);
115 return dynamic_cast<YKeyEvent*
>(event);
120 return dynamic_cast<YMenuEvent*
>(event);
125 return dynamic_cast<YCancelEvent*
>(event);
130 return dynamic_cast<YDebugEvent*
>(event);
135 return dynamic_cast<YTimeoutEvent*
>(event);
void setTitle(const std::string &title)
sets the message box title
void setText(const std::string &text, bool useRichText=false)
sets the message box text information
@ B_ONE
One button dialog, or button one pressed.
@ D_WARNING
Warning dialog.
void setButtonLabel(const std::string &label, DLG_BUTTON button=B_ONE)
sets the message box button name (empty string is assigned by default)