dialogs.h File Reference

Utility functions to construct prefabricated widgets. More...

#include <cwidget/widgets/editline.h>
#include <cwidget/generic/util/slotarg.h>
#include <string>

Go to the source code of this file.

Namespaces

namespace  cwidget
namespace  cwidget::widgets
namespace  cwidget::dialogs

Functions

widget_ref cwidget::dialogs::ok (const widgets::widget_ref &widget, util::slot0arg okslot, const std::wstring &label, const style &st)
 Create a dialog box with a single button.
widget_ref cwidget::dialogs::ok (fragment *msg, slot0arg okslot, bool scrollbar)
widget_ref cwidget::dialogs::ok (fragment *msg, slot0arg okslot, const style &st, bool scrollbar)
widget_ref cwidget::dialogs::ok (fragment *msg, slot0arg okslot, const std::wstring &label, const style &st, bool scrollbar)
widget_ref cwidget::dialogs::ok (const std::wstring &msg, slot0arg okslot)
widget_ref cwidget::dialogs::ok (const std::wstring &msg, slot0arg okslot, const style &st)
widgets::widget_ref cwidget::dialogs::ok (const std::wstring &msg, util::slot0arg okslot, const std::wstring &label, const style &st)
widget_ref cwidget::dialogs::yesno (const widgets::widget_ref &widget, util::slot0arg yesslot, const std::wstring &yeslabel, util::slot0arg noslot, const std::wstring &nolabel, const style &st, bool deflt=true)
 Create a dialog box with two buttons, labelled "yes" and "no".
widget_ref cwidget::dialogs::yesno (fragment *msg, slot0arg yesslot, slot0arg noslot, bool scrollbar, bool deflt)
widget_ref cwidget::dialogs::yesno (fragment *msg, slot0arg yesslot, slot0arg noslot, const style &st, bool scrollbar, bool deflt)
widget_ref cwidget::dialogs::yesno (fragment *msg, slot0arg yesslot, const std::wstring &yeslabel, slot0arg noslot, const std::wstring &nolabel, const style &st, bool scrollbar, bool deflt)
widget_ref cwidget::dialogs::yesno (const std::wstring &msg, slot0arg yesslot, slot0arg noslot, bool deflt)
widget_ref cwidget::dialogs::yesno (const std::wstring &msg, slot0arg yesslot, slot0arg noslot, const style &st, bool deflt)
widget_ref cwidget::dialogs::yesno (const std::wstring &msg, slot0arg yesslot, const std::wstring &yeslabel, slot0arg noslot, const std::wstring &nolabel, const style &st, bool deflt)
widgets::widget_ref cwidget::dialogs::fileview (const std::string &fn, util::slot0arg okslot=NULL, util::slotarg< sigc::slot1< void, widgets::pager & > > search_slot=NULL, util::slotarg< sigc::slot1< void, widgets::pager & > > repeat_search_slot=NULL, util::slotarg< sigc::slot1< void, widgets::pager & > > repeat_search_back_slot=NULL, const char *encoding=NULL)
widgets::widget_ref cwidget::dialogs::fileview (const std::string &fn, util::slot0arg okslot, util::slotarg< sigc::slot1< void, widgets::pager & > > search_slot, util::slotarg< sigc::slot1< void, widgets::pager & > > repeat_search_slot, util::slotarg< sigc::slot1< void, widgets::pager & > > repeat_search_back_slot, const style &st, const char *encoding=NULL)
widgets::widget_ref cwidget::dialogs::string (fragment *msg, const std::wstring &deflt, util::slotarg< sigc::slot1< void, std::wstring > > okslot, util::slotarg< sigc::slot0< void > > cancel_slot, util::slotarg< sigc::slot1< void, std::wstring > > changed_slot, widgets::editline::history_list *history, const style &st)
widgets::widget_ref cwidget::dialogs::string (const std::wstring &msg, const std::wstring &deflt, util::slotarg< sigc::slot1< void, std::wstring > > okslot, util::slotarg< sigc::slot0< void > > cancel_slot, util::slotarg< sigc::slot1< void, std::wstring > > changed_slot, widgets::editline::history_list *history, const style &st)
widgets::widget_ref cwidget::dialogs::string (const std::wstring &msg, const std::wstring &deflt, util::slotarg< sigc::slot1< void, std::wstring > > slot, util::slotarg< sigc::slot0< void > > cancel_slot, util::slotarg< sigc::slot1< void, std::wstring > > changed_slot, widgets::editline::history_list *history)


Detailed Description

Utility functions to construct prefabricated widgets.

For instance, basic message boxes and yes/no queries can be constructed here.


Generated on Sun Apr 10 03:33:13 2011 for cwidget by  doxygen 1.5.6