OpenCPN Partial API docs
|
Input dialog with route print selection. More...
#include <route_printout.h>
Public Member Functions | |
RoutePrintDialog (wxWindow *parent, const std::set< int > &options) | |
![]() | |
InputDialog (wxWindow *parent, const std::string &title, const std::string &action=_("Continue").ToStdString()) | |
SwitchField * | AddSelection (int key, const std::string &label, bool value) |
Add key selection switch. | |
template<typename T > | |
void | AddSelection (const std::set< int > &options, T option, const std::string &label) |
Create selection switch for options. | |
void | GetSelected (std::set< int > &options) |
Return active switch keys. | |
![]() | |
AlertDialog (wxWindow *parent, const std::string &title) | |
Alert dialog with close button. | |
AlertDialog (wxWindow *parent, const std::string &title, const std::string &action) | |
Alert dialog with labelled confirmation button and cancel. | |
void | SetListener (IAlertConfirmation *listener) |
Listen for response. | |
void | SetTimer (int seconds) |
Activate timer. | |
void | SetMessage (const std::string &msg) |
Set alert message. | |
void | SetDefaultButton (int id) |
Set default button (for enter). | |
void | SetCancelLabel (const std::string &label) |
Overwrite cancel button label. | |
int | ShowModal () override |
Show dialog and return response. | |
![]() | |
BaseDialog (wxWindow *parent, const std::string &title, long style=wxDEFAULT_DIALOG_STYLE) | |
void | SetInitialSize () |
Initialize by display geometry. | |
void | AddHtmlContent (const std::stringstream &html) |
Display HTML content. | |
Additional Inherited Members | |
![]() | |
static int | GetConfirmation (wxWindow *parent, const std::string &title, const std::string &action, const std::string &msg) |
Helper that returns the dialog response. | |
![]() | |
wxBoxSizer * | m_layout |
wxBoxSizer * | m_content |
![]() | |
static const int | kDialogPadding = 2 |
Input dialog with route print selection.
Definition at line 51 of file route_printout.h.
|
inline |
Definition at line 53 of file route_printout.h.