OpenCPN Partial API docs
Loading...
Searching...
No Matches
RoutePrintDialog Class Reference

Input dialog with route print selection. More...

#include <route_printout.h>

Inheritance diagram for RoutePrintDialog:
InputDialog AlertDialog BaseDialog

Public Member Functions

 RoutePrintDialog (wxWindow *parent, const std::set< int > &options)
 
- Public Member Functions inherited from InputDialog
 InputDialog (wxWindow *parent, const std::string &title, const std::string &action=_("Continue").ToStdString())
 
SwitchFieldAddSelection (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.
 
- Public Member Functions inherited from AlertDialog
 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.
 
- Public Member Functions inherited from BaseDialog
 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 Public Member Functions inherited from AlertDialog
static int GetConfirmation (wxWindow *parent, const std::string &title, const std::string &action, const std::string &msg)
 Helper that returns the dialog response.
 
- Protected Attributes inherited from BaseDialog
wxBoxSizer * m_layout
 
wxBoxSizer * m_content
 
- Static Protected Attributes inherited from BaseDialog
static const int kDialogPadding = 2
 

Detailed Description

Input dialog with route print selection.

Definition at line 51 of file route_printout.h.

Constructor & Destructor Documentation

◆ RoutePrintDialog()

RoutePrintDialog::RoutePrintDialog ( wxWindow *  parent,
const std::set< int > &  options 
)
inline

Definition at line 53 of file route_printout.h.


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