OpenCPN Partial API docs
|
Dialog for querying detailed information about an AIS target. More...
#include <AISTargetQueryDialog.h>
Public Member Functions | |
AISTargetQueryDialog () | |
Constructors. | |
AISTargetQueryDialog (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &caption=_("Object Query"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=AIS_TARGET_QUERY_STYLE) | |
void | Init () |
Initialise our variables. | |
bool | Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &caption=_("Object Query"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=AIS_TARGET_QUERY_STYLE) |
Creation. | |
void | OnClose (wxCloseEvent &event) |
void | OnIdOKClick (wxCommandEvent &event) |
void | OnIdWptCreateClick (wxCommandEvent &event) |
void | OnIdTrkCreateClick (wxCommandEvent &event) |
void | OnMove (wxMoveEvent &event) |
void | OnSize (wxSizeEvent &event) |
void | AdjustBestSize (AisTargetData *td) |
void | CreateControls () |
void | RenderHTMLQuery (AisTargetData *td) |
void | OnKey (wxKeyEvent &ke) |
void | SetText (const wxString &text_string) |
void | SetColorScheme (ColorScheme cs) |
void | RecalculateSize (void) |
void | SetAutoCentre (bool bval) |
void | SetAutoSize (bool bval) |
void | UpdateText (void) |
void | SetMMSI (int mmsi) |
int | GetMMSI (void) |
Public Attributes | |
int | m_MMSI |
wxHtmlWindow * | m_pQueryTextCtl |
ColorScheme | m_colorscheme |
wxBoxSizer * | m_pboxSizer |
int | m_nl |
wxButton * | m_okButton |
wxButton * | m_createWptBtn |
wxButton * | m_createTrkBtn |
int | m_adjustedFontSize |
int | m_control_font_size |
wxFont * | m_basefont |
wxWindow * | m_parent |
bool | m_bautoCentre |
bool | m_bautosize |
Dialog for querying detailed information about an AIS target.
Displays detailed information about a specific AIS target and allows user interaction.
Definition at line 42 of file AISTargetQueryDialog.h.
AISTargetQueryDialog::AISTargetQueryDialog | ( | ) |
Constructors.
Definition at line 69 of file AISTargetQueryDialog.cpp.
AISTargetQueryDialog::AISTargetQueryDialog | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxString & | caption = _("Object Query") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = AIS_TARGET_QUERY_STYLE |
||
) |
Definition at line 71 of file AISTargetQueryDialog.cpp.
AISTargetQueryDialog::~AISTargetQueryDialog | ( | ) |
Definition at line 79 of file AISTargetQueryDialog.cpp.
void AISTargetQueryDialog::AdjustBestSize | ( | AisTargetData * | td | ) |
Definition at line 341 of file AISTargetQueryDialog.cpp.
bool AISTargetQueryDialog::Create | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxString & | caption = _("Object Query") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = AIS_TARGET_QUERY_STYLE |
||
) |
Creation.
Definition at line 188 of file AISTargetQueryDialog.cpp.
void AISTargetQueryDialog::CreateControls | ( | ) |
Definition at line 264 of file AISTargetQueryDialog.cpp.
|
inline |
Definition at line 86 of file AISTargetQueryDialog.h.
void AISTargetQueryDialog::Init | ( | ) |
Initialise our variables.
Definition at line 81 of file AISTargetQueryDialog.cpp.
void AISTargetQueryDialog::OnClose | ( | wxCloseEvent & | event | ) |
Definition at line 90 of file AISTargetQueryDialog.cpp.
void AISTargetQueryDialog::OnIdOKClick | ( | wxCommandEvent & | event | ) |
Definition at line 95 of file AISTargetQueryDialog.cpp.
void AISTargetQueryDialog::OnIdTrkCreateClick | ( | wxCommandEvent & | event | ) |
Definition at line 132 of file AISTargetQueryDialog.cpp.
void AISTargetQueryDialog::OnIdWptCreateClick | ( | wxCommandEvent & | event | ) |
Definition at line 104 of file AISTargetQueryDialog.cpp.
void AISTargetQueryDialog::OnKey | ( | wxKeyEvent & | ke | ) |
Definition at line 97 of file AISTargetQueryDialog.cpp.
void AISTargetQueryDialog::OnMove | ( | wxMoveEvent & | event | ) |
Definition at line 330 of file AISTargetQueryDialog.cpp.
void AISTargetQueryDialog::OnSize | ( | wxSizeEvent & | event | ) |
Definition at line 339 of file AISTargetQueryDialog.cpp.
void AISTargetQueryDialog::RecalculateSize | ( | void | ) |
Definition at line 234 of file AISTargetQueryDialog.cpp.
void AISTargetQueryDialog::RenderHTMLQuery | ( | AisTargetData * | td | ) |
Definition at line 446 of file AISTargetQueryDialog.cpp.
|
inline |
Definition at line 81 of file AISTargetQueryDialog.h.
|
inline |
Definition at line 82 of file AISTargetQueryDialog.h.
void AISTargetQueryDialog::SetColorScheme | ( | ColorScheme | cs | ) |
Definition at line 240 of file AISTargetQueryDialog.cpp.
void AISTargetQueryDialog::SetMMSI | ( | int | mmsi | ) |
Definition at line 227 of file AISTargetQueryDialog.cpp.
void AISTargetQueryDialog::UpdateText | ( | void | ) |
Definition at line 291 of file AISTargetQueryDialog.cpp.
int AISTargetQueryDialog::m_adjustedFontSize |
Definition at line 97 of file AISTargetQueryDialog.h.
wxFont* AISTargetQueryDialog::m_basefont |
Definition at line 99 of file AISTargetQueryDialog.h.
bool AISTargetQueryDialog::m_bautoCentre |
Definition at line 101 of file AISTargetQueryDialog.h.
bool AISTargetQueryDialog::m_bautosize |
Definition at line 102 of file AISTargetQueryDialog.h.
ColorScheme AISTargetQueryDialog::m_colorscheme |
Definition at line 91 of file AISTargetQueryDialog.h.
int AISTargetQueryDialog::m_control_font_size |
Definition at line 98 of file AISTargetQueryDialog.h.
wxButton* AISTargetQueryDialog::m_createTrkBtn |
Definition at line 96 of file AISTargetQueryDialog.h.
wxButton* AISTargetQueryDialog::m_createWptBtn |
Definition at line 95 of file AISTargetQueryDialog.h.
int AISTargetQueryDialog::m_MMSI |
Definition at line 89 of file AISTargetQueryDialog.h.
int AISTargetQueryDialog::m_nl |
Definition at line 93 of file AISTargetQueryDialog.h.
wxButton* AISTargetQueryDialog::m_okButton |
Definition at line 94 of file AISTargetQueryDialog.h.
wxWindow* AISTargetQueryDialog::m_parent |
Definition at line 100 of file AISTargetQueryDialog.h.
wxBoxSizer* AISTargetQueryDialog::m_pboxSizer |
Definition at line 92 of file AISTargetQueryDialog.h.
wxHtmlWindow* AISTargetQueryDialog::m_pQueryTextCtl |
Definition at line 90 of file AISTargetQueryDialog.h.