OpenCPN Partial API docs
Loading...
Searching...
No Matches
AISTargetQueryDialog Class Reference
Inheritance diagram for AISTargetQueryDialog:

Public Member Functions

 AISTargetQueryDialog ()
 Constructors. More...
 
 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. More...
 
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. More...
 
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
 
bool m_bsize_set
 
int m_adjustedFontSize
 
int m_control_font_size
 
wxFont * m_basefont
 
wxWindow * m_parent
 
bool m_bautoCentre
 
bool m_bautosize
 

Detailed Description

Definition at line 38 of file AISTargetQueryDialog.h.

Constructor & Destructor Documentation

◆ AISTargetQueryDialog() [1/2]

AISTargetQueryDialog::AISTargetQueryDialog ( )

Constructors.

Definition at line 71 of file AISTargetQueryDialog.cpp.

◆ AISTargetQueryDialog() [2/2]

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 73 of file AISTargetQueryDialog.cpp.

◆ ~AISTargetQueryDialog()

AISTargetQueryDialog::~AISTargetQueryDialog ( )

Definition at line 81 of file AISTargetQueryDialog.cpp.

Member Function Documentation

◆ AdjustBestSize()

void AISTargetQueryDialog::AdjustBestSize ( AisTargetData td)

Definition at line 347 of file AISTargetQueryDialog.cpp.

◆ Create()

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 189 of file AISTargetQueryDialog.cpp.

◆ CreateControls()

void AISTargetQueryDialog::CreateControls ( )

Definition at line 275 of file AISTargetQueryDialog.cpp.

◆ GetMMSI()

int AISTargetQueryDialog::GetMMSI ( void  )
inline

Definition at line 82 of file AISTargetQueryDialog.h.

◆ Init()

void AISTargetQueryDialog::Init ( )

Initialise our variables.

Definition at line 83 of file AISTargetQueryDialog.cpp.

◆ OnClose()

void AISTargetQueryDialog::OnClose ( wxCloseEvent &  event)

Definition at line 93 of file AISTargetQueryDialog.cpp.

◆ OnIdOKClick()

void AISTargetQueryDialog::OnIdOKClick ( wxCommandEvent &  event)

Definition at line 98 of file AISTargetQueryDialog.cpp.

◆ OnIdTrkCreateClick()

void AISTargetQueryDialog::OnIdTrkCreateClick ( wxCommandEvent &  event)

Definition at line 135 of file AISTargetQueryDialog.cpp.

◆ OnIdWptCreateClick()

void AISTargetQueryDialog::OnIdWptCreateClick ( wxCommandEvent &  event)

Definition at line 107 of file AISTargetQueryDialog.cpp.

◆ OnKey()

void AISTargetQueryDialog::OnKey ( wxKeyEvent &  ke)

Definition at line 100 of file AISTargetQueryDialog.cpp.

◆ OnMove()

void AISTargetQueryDialog::OnMove ( wxMoveEvent &  event)

Definition at line 336 of file AISTargetQueryDialog.cpp.

◆ OnSize()

void AISTargetQueryDialog::OnSize ( wxSizeEvent &  event)

Definition at line 345 of file AISTargetQueryDialog.cpp.

◆ RecalculateSize()

void AISTargetQueryDialog::RecalculateSize ( void  )

Definition at line 245 of file AISTargetQueryDialog.cpp.

◆ RenderHTMLQuery()

void AISTargetQueryDialog::RenderHTMLQuery ( AisTargetData td)

Definition at line 451 of file AISTargetQueryDialog.cpp.

◆ SetAutoCentre()

void AISTargetQueryDialog::SetAutoCentre ( bool  bval)
inline

Definition at line 77 of file AISTargetQueryDialog.h.

◆ SetAutoSize()

void AISTargetQueryDialog::SetAutoSize ( bool  bval)
inline

Definition at line 78 of file AISTargetQueryDialog.h.

◆ SetColorScheme()

void AISTargetQueryDialog::SetColorScheme ( ColorScheme  cs)

Definition at line 251 of file AISTargetQueryDialog.cpp.

◆ SetMMSI()

void AISTargetQueryDialog::SetMMSI ( int  mmsi)

Definition at line 238 of file AISTargetQueryDialog.cpp.

◆ UpdateText()

void AISTargetQueryDialog::UpdateText ( void  )

Definition at line 301 of file AISTargetQueryDialog.cpp.

Member Data Documentation

◆ m_adjustedFontSize

int AISTargetQueryDialog::m_adjustedFontSize

Definition at line 94 of file AISTargetQueryDialog.h.

◆ m_basefont

wxFont* AISTargetQueryDialog::m_basefont

Definition at line 96 of file AISTargetQueryDialog.h.

◆ m_bautoCentre

bool AISTargetQueryDialog::m_bautoCentre

Definition at line 98 of file AISTargetQueryDialog.h.

◆ m_bautosize

bool AISTargetQueryDialog::m_bautosize

Definition at line 99 of file AISTargetQueryDialog.h.

◆ m_bsize_set

bool AISTargetQueryDialog::m_bsize_set

Definition at line 93 of file AISTargetQueryDialog.h.

◆ m_colorscheme

ColorScheme AISTargetQueryDialog::m_colorscheme

Definition at line 87 of file AISTargetQueryDialog.h.

◆ m_control_font_size

int AISTargetQueryDialog::m_control_font_size

Definition at line 95 of file AISTargetQueryDialog.h.

◆ m_createTrkBtn

wxButton* AISTargetQueryDialog::m_createTrkBtn

Definition at line 92 of file AISTargetQueryDialog.h.

◆ m_createWptBtn

wxButton* AISTargetQueryDialog::m_createWptBtn

Definition at line 91 of file AISTargetQueryDialog.h.

◆ m_MMSI

int AISTargetQueryDialog::m_MMSI

Definition at line 85 of file AISTargetQueryDialog.h.

◆ m_nl

int AISTargetQueryDialog::m_nl

Definition at line 89 of file AISTargetQueryDialog.h.

◆ m_okButton

wxButton* AISTargetQueryDialog::m_okButton

Definition at line 90 of file AISTargetQueryDialog.h.

◆ m_parent

wxWindow* AISTargetQueryDialog::m_parent

Definition at line 97 of file AISTargetQueryDialog.h.

◆ m_pboxSizer

wxBoxSizer* AISTargetQueryDialog::m_pboxSizer

Definition at line 88 of file AISTargetQueryDialog.h.

◆ m_pQueryTextCtl

wxHtmlWindow* AISTargetQueryDialog::m_pQueryTextCtl

Definition at line 86 of file AISTargetQueryDialog.h.


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