OpenCPN Partial API docs
|
Dialog for displaying and editing waypoint properties. More...
#include <MarkInfo.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) |
void | RecalculateSize (void) |
RoutePoint * | GetRoutePoint (void) |
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 (void) |
bool | SaveChanges () |
void | OnActivate (wxActivateEvent &event) |
wxSimpleHtmlListBox * | GetSimpleBox () |
void | OnHtmlCellClicked (wxHtmlCellEvent &event) |
Public Attributes | |
SaveDefaultsDialog * | m_SaveDefaultDlg |
Protected Member Functions | |
void | initialize_images (void) |
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 215 of file MarkInfo.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 218 of file MarkInfo.cpp.
MarkInfoDlg::~MarkInfoDlg | ( | ) |
Definition at line 833 of file MarkInfo.cpp.
void MarkInfoDlg::ClearData | ( | ) |
Definition at line 870 of file MarkInfo.cpp.
void MarkInfoDlg::Create | ( | ) |
Definition at line 273 of file MarkInfo.cpp.
|
protected |
Definition at line 1309 of file MarkInfo.cpp.
|
inline |
Definition at line 443 of file MarkInfo.h.
|
inline |
Definition at line 455 of file MarkInfo.h.
void MarkInfoDlg::InitialFocus | ( | void | ) |
Definition at line 863 of file MarkInfo.cpp.
|
protected |
Definition at line 258 of file MarkInfo.cpp.
|
protected |
Definition at line 1073 of file MarkInfo.cpp.
|
protected |
Definition at line 1186 of file MarkInfo.cpp.
void MarkInfoDlg::OnActivate | ( | wxActivateEvent & | event | ) |
Definition at line 249 of file MarkInfo.cpp.
|
protected |
Definition at line 1179 of file MarkInfo.cpp.
|
protected |
Definition at line 1649 of file MarkInfo.cpp.
|
protected |
Definition at line 737 of file MarkInfo.cpp.
|
protected |
Definition at line 1256 of file MarkInfo.cpp.
|
protected |
Definition at line 1022 of file MarkInfo.cpp.
|
protected |
Definition at line 1016 of file MarkInfo.cpp.
|
protected |
Definition at line 1029 of file MarkInfo.cpp.
|
protected |
Definition at line 1643 of file MarkInfo.cpp.
|
protected |
Definition at line 963 of file MarkInfo.cpp.
|
protected |
Definition at line 957 of file MarkInfo.cpp.
|
protected |
Definition at line 1011 of file MarkInfo.cpp.
|
protected |
Definition at line 1344 of file MarkInfo.cpp.
|
protected |
Definition at line 1389 of file MarkInfo.cpp.
|
protected |
Definition at line 764 of file MarkInfo.cpp.
|
protected |
Definition at line 1060 of file MarkInfo.cpp.
|
protected |
Definition at line 1241 of file MarkInfo.cpp.
|
protected |
Definition at line 1054 of file MarkInfo.cpp.
|
protected |
Definition at line 1036 of file MarkInfo.cpp.
|
protected |
Definition at line 1040 of file MarkInfo.cpp.
|
protected |
Definition at line 745 of file MarkInfo.cpp.
|
inlineprotected |
Definition at line 427 of file MarkInfo.h.
|
protected |
Definition at line 1045 of file MarkInfo.cpp.
void MarkInfoDlg::RecalculateSize | ( | void | ) |
Definition at line 797 of file MarkInfo.cpp.
bool MarkInfoDlg::SaveChanges | ( | ) |
Definition at line 1675 of file MarkInfo.cpp.
void MarkInfoDlg::SetColorScheme | ( | ColorScheme | cs | ) |
Definition at line 868 of file MarkInfo.cpp.
|
inline |
Definition at line 449 of file MarkInfo.h.
void MarkInfoDlg::SetRoutePoint | ( | RoutePoint * | pRP | ) |
Definition at line 875 of file MarkInfo.cpp.
|
protected |
Definition at line 1872 of file MarkInfo.cpp.
void MarkInfoDlg::UpdateHtmlList | ( | ) |
Definition at line 901 of file MarkInfo.cpp.
bool MarkInfoDlg::UpdateProperties | ( | bool | positionOnly = false | ) |
Definition at line 1418 of file MarkInfo.cpp.
void MarkInfoDlg::ValidateMark | ( | void | ) |
Definition at line 1658 of file MarkInfo.cpp.
|
friend |
Definition at line 217 of file MarkInfo.h.
|
protected |
Definition at line 373 of file MarkInfo.h.
|
protected |
Definition at line 302 of file MarkInfo.h.
|
protected |
Definition at line 298 of file MarkInfo.h.
|
protected |
Definition at line 267 of file MarkInfo.h.
|
protected |
Definition at line 268 of file MarkInfo.h.
|
protected |
Definition at line 273 of file MarkInfo.h.
|
protected |
Definition at line 299 of file MarkInfo.h.
|
protected |
Definition at line 303 of file MarkInfo.h.
|
protected |
Definition at line 266 of file MarkInfo.h.
|
protected |
Definition at line 312 of file MarkInfo.h.
|
protected |
Definition at line 398 of file MarkInfo.h.
|
protected |
Definition at line 350 of file MarkInfo.h.
|
protected |
Definition at line 270 of file MarkInfo.h.
|
protected |
Definition at line 271 of file MarkInfo.h.
|
protected |
Definition at line 269 of file MarkInfo.h.
|
protected |
Definition at line 272 of file MarkInfo.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 297 of file MarkInfo.h.
|
protected |
Definition at line 274 of file MarkInfo.h.
|
protected |
Definition at line 275 of file MarkInfo.h.
|
protected |
Definition at line 276 of file MarkInfo.h.
|
protected |
Definition at line 277 of file MarkInfo.h.
|
protected |
Definition at line 397 of file MarkInfo.h.
|
protected |
Definition at line 311 of file MarkInfo.h.
|
protected |
Definition at line 278 of file MarkInfo.h.
|
protected |
Definition at line 355 of file MarkInfo.h.
|
protected |
Definition at line 305 of file MarkInfo.h.
|
protected |
Definition at line 310 of file MarkInfo.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 384 of file MarkInfo.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 395 of file MarkInfo.h.
|
protected |
Definition at line 309 of file MarkInfo.h.
|
protected |
Definition at line 347 of file MarkInfo.h.
|
protected |
Definition at line 348 of file MarkInfo.h.
|
protected |
Definition at line 361 of file MarkInfo.h.
|
protected |
Definition at line 304 of file MarkInfo.h.
|
protected |
Definition at line 306 of file MarkInfo.h.
|
protected |
Definition at line 307 of file MarkInfo.h.
|
protected |
Definition at line 308 of file MarkInfo.h.
|
protected |
Definition at line 400 of file MarkInfo.h.
|
protected |
Definition at line 279 of file MarkInfo.h.
|
protected |
Definition at line 334 of file MarkInfo.h.
SaveDefaultsDialog* MarkInfoDlg::m_SaveDefaultDlg |
Definition at line 460 of file MarkInfo.h.
|
protected |
Definition at line 346 of file MarkInfo.h.
|
protected |
Definition at line 341 of file MarkInfo.h.
|
protected |
Definition at line 374 of file MarkInfo.h.
|
protected |
Definition at line 375 of file MarkInfo.h.
|
protected |
Definition at line 399 of file MarkInfo.h.
|
protected |
Definition at line 319 of file MarkInfo.h.
|
protected |
Definition at line 336 of file MarkInfo.h.
|
protected |
Definition at line 320 of file MarkInfo.h.
|
protected |
Definition at line 321 of file MarkInfo.h.
|
protected |
Label for the Estimated Time of Departure field.
Definition at line 339 of file MarkInfo.h.
|
protected |
Definition at line 322 of file MarkInfo.h.
|
protected |
Definition at line 323 of file MarkInfo.h.
|
protected |
Definition at line 325 of file MarkInfo.h.
|
protected |
Definition at line 326 of file MarkInfo.h.
|
protected |
Definition at line 327 of file MarkInfo.h.
|
protected |
Definition at line 328 of file MarkInfo.h.
|
protected |
Definition at line 329 of file MarkInfo.h.
|
protected |
Definition at line 337 of file MarkInfo.h.
|
protected |
Definition at line 340 of file MarkInfo.h.
|
protected |
Definition at line 332 of file MarkInfo.h.
|
protected |
Definition at line 333 of file MarkInfo.h.
|
protected |
Definition at line 335 of file MarkInfo.h.
|
protected |
Definition at line 330 of file MarkInfo.h.
|
protected |
Definition at line 331 of file MarkInfo.h.
|
protected |
Definition at line 324 of file MarkInfo.h.
|
protected |
Definition at line 342 of file MarkInfo.h.
|
protected |
Definition at line 343 of file MarkInfo.h.
|
protected |
Definition at line 344 of file MarkInfo.h.
|
protected |
Definition at line 345 of file MarkInfo.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 372 of file MarkInfo.h.
|
protected |
Definition at line 357 of file MarkInfo.h.
|
protected |
Definition at line 358 of file MarkInfo.h.
|
protected |
Definition at line 359 of file MarkInfo.h.
|
protected |
Definition at line 360 of file MarkInfo.h.
|
protected |
Definition at line 362 of file MarkInfo.h.
|
protected |
Definition at line 363 of file MarkInfo.h.
|
protected |
Definition at line 349 of file MarkInfo.h.
|
protected |
Definition at line 317 of file MarkInfo.h.
|
protected |
Definition at line 313 of file MarkInfo.h.
|
protected |
Definition at line 316 of file MarkInfo.h.
|
protected |
Definition at line 318 of file MarkInfo.h.
|
protected |
Definition at line 314 of file MarkInfo.h.
|
protected |
Definition at line 315 of file MarkInfo.h.
|
protected |
Definition at line 300 of file MarkInfo.h.
|
protected |
Definition at line 301 of file MarkInfo.h.