OpenCPN Partial API docs
|
Dialog for displaying and editing waypoint properties. More...
#include <mark_info.h>
Public Member Functions | |
MarkInfoDlg (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Waypoint Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1, -1), long style=FRAME_WITH_LINKS_STYLE) | |
void | Create () |
void | InitialFocus () |
void | RecalculateSize () |
RoutePoint * | GetRoutePoint () |
void | SetColorScheme (ColorScheme cs) |
void | SetRoutePoint (RoutePoint *pRP) |
void | ClearData () |
void | SetBulkEdit (bool bBulkEdit) |
void | UpdateHtmlList () |
void | SetDialogTitle (const wxString &title) |
bool | UpdateProperties (bool positionOnly=false) |
void | ValidateMark () |
bool | SaveChanges () |
void | OnActivate (wxActivateEvent &event) |
wxSimpleHtmlListBox * | GetSimpleBox () |
void | OnHtmlCellClicked (wxHtmlCellEvent &event) |
Public Attributes | |
SaveDefaultsDialog * | m_SaveDefaultDlg |
Protected Member Functions | |
void | initialize_images () |
void | OnBitmapCombClick (wxCommandEvent &event) |
void | OnPositionCtlUpdated (wxCommandEvent &event) |
void | OnFocusEvent (wxFocusEvent &event) |
void | OnExtDescriptionClick (wxCommandEvent &event) |
void | OnDescChangedExt (wxCommandEvent &event) |
void | OnDescChangedBasic (wxCommandEvent &event) |
void | OnMarkInfoCancelClick (wxCommandEvent &event) |
void | OnMarkInfoOKClick (wxCommandEvent &event) |
void | OnShowWaypointNameSelectBasic (wxCommandEvent &event) |
void | OnShowWaypointNameSelectExt (wxCommandEvent &event) |
void | OnSelectScaMinExt (wxCommandEvent &event) |
void | OnWptRangeRingsNoChange (wxCommandEvent &event) |
void | OnCopyPasteLatLon (wxCommandEvent &event) |
void | OnWaypointRangeRingSelect (wxCommandEvent &event) |
void | m_htmlListContextMenuBtn (wxCommandEvent &event) |
void | m_htmlListContextMenu (wxMouseEvent &event) |
void | OnRightClickLatLon (wxCommandEvent &event) |
void | OnHtmlLinkClicked (wxHtmlLinkEvent &event) |
void | OnHyperLinkClick (wxHyperlinkEvent &event) |
void | OnLayoutResize (wxCommandEvent &event) |
void | On_html_link_popupmenu_Click (wxCommandEvent &event) |
void | DefautlBtnClicked (wxCommandEvent &event) |
void | OnNotebookPageChanged (wxNotebookEvent &event) |
void | OnTimeChanged (wxDateEvent &event) |
void | OnTideStationCombobox (wxCommandEvent &event) |
void | OnClose (wxCloseEvent &event) |
void | ShowTidesBtnClicked (wxCommandEvent &event) |
void | OnAddLink (wxCommandEvent &event) |
Protected Attributes | |
OCPNIconCombo * | m_bcomboBoxIcon |
wxBoxSizer * | bSizerBasicProperties |
wxBoxSizer * | bSizerLinks |
wxButton * | m_buttonOkay |
wxButton * | m_buttonExtDescription |
wxButton * | m_buttonLinksMenu |
wxBitmapButton * | m_buttonShowTides |
wxButton * | DefaultsBtn |
wxCheckBox * | m_checkBoxScaMin |
wxCheckBox * | m_checkBoxShowName |
wxCheckBox * | m_checkBoxShowNameExt |
wxCheckBox * | m_checkBoxVisible |
wxChoice * | m_choiceWaypointRangeRingsUnits |
wxColourPickerCtrl * | m_PickColor |
wxCheckBox * | m_cbEtdPresent |
Checkbox control that enables/disables manual ETD setting for a waypoint. | |
wxBoxSizer * | bMainSizer |
FormGrid * | fSizerBasicProperties |
wxFlexGridSizer * | waypointradarGrid |
wxFlexGridSizer * | waypointrrSelect |
wxGridBagSizer * | bGB_SizerProperties |
wxFlexGridSizer * | gbSizerInnerProperties |
wxNotebook * | m_notebookProperties |
wxObject * | m_contextObject |
wxScrolledWindow * | m_panelBasicProperties |
wxPanel * | m_panelDescription |
wxScrolledWindow * | m_panelExtendedProperties |
wxSimpleHtmlListBox * | m_htmlList |
wxSize | m_defaultClientSize |
wxChoice * | m_ChoiceWaypointRangeRingsNumber |
wxStaticBitmap * | m_bitmapIcon |
wxStaticBoxSizer * | sbS_Description |
wxStaticBoxSizer * | sbSizerExtProperties |
wxStaticBoxSizer * | sbSizerLinks |
wxStaticBoxSizer * | sbSizerBasicProperties |
wxStaticBoxSizer * | sbRangeRingsExtProperties |
wxStaticBoxSizer * | sbSizerDescription |
wxStaticText * | m_staticTextArrivalRadius |
wxStaticText * | m_staticTextDescription |
wxStaticText * | m_staticTextEditEnabled |
wxStaticText * | m_staticTextGpx |
wxStaticText * | m_staticTextGuid |
wxStaticText * | m_staticTextTideStation |
wxStaticText * | m_staticTextIcon |
wxStaticText * | m_staticTextLatitude |
wxStaticText * | m_staticTextLayer |
wxStaticText * | m_staticTextLongitude |
wxStaticText * | m_staticTextName |
wxStaticText * | m_staticTextScaMin |
wxStaticText * | m_staticTextShowNameExt |
wxStaticText * | m_staticTextRR1 |
wxStaticText * | m_staticTextRR2 |
wxChoice * | m_RangeRingUnits |
wxStaticText * | m_staticTextRR4 |
wxStaticText * | m_staticTextArrivalUnits |
wxStaticText * | m_staticTextPlSpeed |
wxStaticText * | m_staticTextEtd |
Label for the Estimated Time of Departure field. | |
wxStaticText * | m_staticTextPlSpeedUnits |
wxStdDialogButtonSizer * | m_sdbSizerButtons |
wxTextCtrl * | m_textArrivalRadius |
wxTextCtrl * | m_textCtrlExtDescription |
wxTextCtrl * | m_textCtrlGpx |
wxTextCtrl * | m_textCtrlGuid |
wxScrolledWindow * | m_scrolledWindowLinks |
wxHyperlinkCtrl * | m_hyperlink17 |
wxMenu * | m_menuLink |
wxToggleButton * | m_toggleBtnEdit |
wxButton * | m_buttonAddLink |
wxComboBox * | m_comboBoxTideStation |
wxTextCtrl * | m_textDescription |
wxTextCtrl * | m_textLatitude |
wxTextCtrl * | m_textLongitude |
TextField * | m_textName |
std::unique_ptr< RoutePointNameValidator > | m_name_validator |
wxTextCtrl * | m_textScaMin |
wxTextCtrl * | m_textWaypointRangeRingsStep |
wxTextCtrl * | m_textCtrlPlSpeed |
Text control for waypoint planned speed. | |
wxBitmap | _img_MUI_settings_svg |
wxButton * | m_sdbSizerButtonsCancel |
wxButton * | m_sdbSizerButtonsOK |
wxDatePickerCtrl * | m_EtdDatePickerCtrl |
Date picker control for setting the Estimated Time of Departure (ETD). | |
wxTimePickerCtrl * | m_EtdTimePickerCtrl |
Time picker control for setting the Estimated Time of Departure (ETD). | |
wxArrayString | m_choiceTideChoices |
wxBitmap | m_bmTide |
int | m_sizeMetric |
wxHyperlinkCtrl * | m_pEditedLink |
Friends | |
class | SaveDefaultsDialog |
Dialog for displaying and editing waypoint properties.
Provides a comprehensive interface for viewing and modifying waypoint properties in OpenCPN. Includes functionality for editing basic and extended properties, managing links, and setting defaults.
Definition at line 203 of file mark_info.h.
MarkInfoDlg::MarkInfoDlg | ( | wxWindow * | parent, |
wxWindowID | id = wxID_ANY , |
||
const wxString & | title = _("Waypoint Properties") , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(-1, -1) , |
||
long | style = FRAME_WITH_LINKS_STYLE |
||
) |
Definition at line 201 of file mark_info.cpp.
MarkInfoDlg::~MarkInfoDlg | ( | ) |
Definition at line 815 of file mark_info.cpp.
void MarkInfoDlg::ClearData | ( | ) |
Definition at line 852 of file mark_info.cpp.
void MarkInfoDlg::Create | ( | ) |
Definition at line 256 of file mark_info.cpp.
|
protected |
Definition at line 1291 of file mark_info.cpp.
|
inline |
Definition at line 431 of file mark_info.h.
|
inline |
Definition at line 443 of file mark_info.h.
void MarkInfoDlg::InitialFocus | ( | ) |
Definition at line 845 of file mark_info.cpp.
|
protected |
Definition at line 241 of file mark_info.cpp.
|
protected |
Definition at line 1055 of file mark_info.cpp.
|
protected |
Definition at line 1168 of file mark_info.cpp.
void MarkInfoDlg::OnActivate | ( | wxActivateEvent & | event | ) |
Definition at line 232 of file mark_info.cpp.
|
protected |
Definition at line 1161 of file mark_info.cpp.
|
protected |
Definition at line 1631 of file mark_info.cpp.
|
protected |
Definition at line 719 of file mark_info.cpp.
|
protected |
Definition at line 1238 of file mark_info.cpp.
|
protected |
Definition at line 1004 of file mark_info.cpp.
|
protected |
Definition at line 998 of file mark_info.cpp.
|
protected |
Definition at line 1011 of file mark_info.cpp.
|
protected |
Definition at line 1625 of file mark_info.cpp.
|
protected |
Definition at line 945 of file mark_info.cpp.
|
protected |
Definition at line 939 of file mark_info.cpp.
|
protected |
Definition at line 993 of file mark_info.cpp.
|
protected |
Definition at line 1326 of file mark_info.cpp.
|
protected |
Definition at line 1371 of file mark_info.cpp.
|
protected |
Definition at line 746 of file mark_info.cpp.
|
protected |
Definition at line 1042 of file mark_info.cpp.
|
protected |
Definition at line 1223 of file mark_info.cpp.
|
protected |
Definition at line 1036 of file mark_info.cpp.
|
protected |
Definition at line 1018 of file mark_info.cpp.
|
protected |
Definition at line 1022 of file mark_info.cpp.
|
protected |
Definition at line 727 of file mark_info.cpp.
|
inlineprotected |
Definition at line 415 of file mark_info.h.
|
protected |
Definition at line 1027 of file mark_info.cpp.
void MarkInfoDlg::RecalculateSize | ( | ) |
Definition at line 779 of file mark_info.cpp.
bool MarkInfoDlg::SaveChanges | ( | ) |
Definition at line 1653 of file mark_info.cpp.
void MarkInfoDlg::SetColorScheme | ( | ColorScheme | cs | ) |
Definition at line 850 of file mark_info.cpp.
|
inline |
Definition at line 437 of file mark_info.h.
void MarkInfoDlg::SetRoutePoint | ( | RoutePoint * | pRP | ) |
Definition at line 857 of file mark_info.cpp.
|
protected |
Definition at line 1850 of file mark_info.cpp.
void MarkInfoDlg::UpdateHtmlList | ( | ) |
Definition at line 883 of file mark_info.cpp.
bool MarkInfoDlg::UpdateProperties | ( | bool | positionOnly = false | ) |
Definition at line 1400 of file mark_info.cpp.
void MarkInfoDlg::ValidateMark | ( | ) |
Definition at line 1640 of file mark_info.cpp.
|
friend |
Definition at line 205 of file mark_info.h.
|
protected |
Definition at line 361 of file mark_info.h.
|
protected |
Definition at line 290 of file mark_info.h.
|
protected |
Definition at line 286 of file mark_info.h.
|
protected |
Definition at line 255 of file mark_info.h.
|
protected |
Definition at line 256 of file mark_info.h.
|
protected |
Definition at line 261 of file mark_info.h.
|
protected |
Definition at line 287 of file mark_info.h.
|
protected |
Definition at line 291 of file mark_info.h.
|
protected |
Definition at line 254 of file mark_info.h.
|
protected |
Definition at line 300 of file mark_info.h.
|
protected |
Definition at line 386 of file mark_info.h.
|
protected |
Definition at line 338 of file mark_info.h.
|
protected |
Definition at line 258 of file mark_info.h.
|
protected |
Definition at line 259 of file mark_info.h.
|
protected |
Definition at line 257 of file mark_info.h.
|
protected |
Definition at line 260 of file mark_info.h.
|
protected |
Checkbox control that enables/disables manual ETD setting for a waypoint.
This control allows users to specify a custom Estimated Time of Departure (ETD) for a waypoint instead of using the automatically calculated value. When checked:
A manual ETD overrides the default behavior where ETD would be set equal to the waypoint's ETA (creating a continuous timing chain). This affects ETA calculations for all subsequent waypoints in the route.
The control is only visible and relevant for waypoints that are part of a route.
Definition at line 285 of file mark_info.h.
|
protected |
Definition at line 262 of file mark_info.h.
|
protected |
Definition at line 263 of file mark_info.h.
|
protected |
Definition at line 264 of file mark_info.h.
|
protected |
Definition at line 265 of file mark_info.h.
|
protected |
Definition at line 385 of file mark_info.h.
|
protected |
Definition at line 299 of file mark_info.h.
|
protected |
Definition at line 266 of file mark_info.h.
|
protected |
Definition at line 343 of file mark_info.h.
|
protected |
Definition at line 293 of file mark_info.h.
|
protected |
Definition at line 298 of file mark_info.h.
|
protected |
Date picker control for setting the Estimated Time of Departure (ETD).
Allows the user to select a calendar date for planned departure from a waypoint. Works in conjunction with m_EtdTimePickerCtrl to form a complete date/time value. The selected date is used for route planning and ETA calculations for subsequent waypoints based on the planned speed.
Definition at line 372 of file mark_info.h.
|
protected |
Time picker control for setting the Estimated Time of Departure (ETD).
Allows the user to select the time of day for planned departure from a waypoint. Works in conjunction with m_EtdDatePickerCtrl to form a complete date/time value. The selected time is used for route planning and ETA calculations for subsequent waypoints based on the planned speed.
Definition at line 383 of file mark_info.h.
|
protected |
Definition at line 297 of file mark_info.h.
|
protected |
Definition at line 335 of file mark_info.h.
|
protected |
Definition at line 336 of file mark_info.h.
|
protected |
Definition at line 349 of file mark_info.h.
|
protected |
Definition at line 292 of file mark_info.h.
|
protected |
Definition at line 294 of file mark_info.h.
|
protected |
Definition at line 295 of file mark_info.h.
|
protected |
Definition at line 296 of file mark_info.h.
|
protected |
Definition at line 388 of file mark_info.h.
|
protected |
Definition at line 267 of file mark_info.h.
|
protected |
Definition at line 322 of file mark_info.h.
SaveDefaultsDialog* MarkInfoDlg::m_SaveDefaultDlg |
Definition at line 448 of file mark_info.h.
|
protected |
Definition at line 334 of file mark_info.h.
|
protected |
Definition at line 329 of file mark_info.h.
|
protected |
Definition at line 362 of file mark_info.h.
|
protected |
Definition at line 363 of file mark_info.h.
|
protected |
Definition at line 387 of file mark_info.h.
|
protected |
Definition at line 307 of file mark_info.h.
|
protected |
Definition at line 324 of file mark_info.h.
|
protected |
Definition at line 308 of file mark_info.h.
|
protected |
Definition at line 309 of file mark_info.h.
|
protected |
Label for the Estimated Time of Departure field.
Definition at line 327 of file mark_info.h.
|
protected |
Definition at line 310 of file mark_info.h.
|
protected |
Definition at line 311 of file mark_info.h.
|
protected |
Definition at line 313 of file mark_info.h.
|
protected |
Definition at line 314 of file mark_info.h.
|
protected |
Definition at line 315 of file mark_info.h.
|
protected |
Definition at line 316 of file mark_info.h.
|
protected |
Definition at line 317 of file mark_info.h.
|
protected |
Definition at line 325 of file mark_info.h.
|
protected |
Definition at line 328 of file mark_info.h.
|
protected |
Definition at line 320 of file mark_info.h.
|
protected |
Definition at line 321 of file mark_info.h.
|
protected |
Definition at line 323 of file mark_info.h.
|
protected |
Definition at line 318 of file mark_info.h.
|
protected |
Definition at line 319 of file mark_info.h.
|
protected |
Definition at line 312 of file mark_info.h.
|
protected |
Definition at line 330 of file mark_info.h.
|
protected |
Definition at line 331 of file mark_info.h.
|
protected |
Definition at line 332 of file mark_info.h.
|
protected |
Definition at line 333 of file mark_info.h.
|
protected |
Text control for waypoint planned speed.
Allows user input of the planned vessel speed for ETD/ETA calculations. This field is only shown when a waypoint is part of a route. Input value is in user-selected speed units (knots, km/h, etc.) and converted to internal units when saved. If value is empty or 0, no planned speed is assumed for this waypoint.
Definition at line 360 of file mark_info.h.
|
protected |
Definition at line 345 of file mark_info.h.
|
protected |
Definition at line 346 of file mark_info.h.
|
protected |
Definition at line 347 of file mark_info.h.
|
protected |
Definition at line 348 of file mark_info.h.
|
protected |
Definition at line 350 of file mark_info.h.
|
protected |
Definition at line 351 of file mark_info.h.
|
protected |
Definition at line 337 of file mark_info.h.
|
protected |
Definition at line 305 of file mark_info.h.
|
protected |
Definition at line 301 of file mark_info.h.
|
protected |
Definition at line 304 of file mark_info.h.
|
protected |
Definition at line 306 of file mark_info.h.
|
protected |
Definition at line 302 of file mark_info.h.
|
protected |
Definition at line 303 of file mark_info.h.
|
protected |
Definition at line 288 of file mark_info.h.
|
protected |
Definition at line 289 of file mark_info.h.