286 wxMenuBar* m_MenuBar;
287 wxAcceleratorTable* m_MenuBarAcceleratorTable;
289 wxAuiManager* m_AuiManager;
310 wxLogWindow* m_LogWindow;
312 wxArrayString m_Perspectives;
314 void SaveAcceleratorTable();
316 void DisableAcceleratorTable(wxCommandEvent& event);
318 void EnableAcceleratorTable(wxCommandEvent& event);
320 void OnQuit(wxCommandEvent& event);
322 void OnClose(wxCloseEvent& event);
324 void OnAbout(wxCommandEvent& event);
326 void OnNewProject(wxCommandEvent& event);
328 void OnNewProjectExisting(wxCommandEvent& event);
330 void OnOpenProject(wxCommandEvent& event);
332 void OnOpenRecentProject(wxCommandEvent& event);
334 void OnEditProjectObjects(wxCommandEvent& event);
336 void OnEditProjectSettings(wxCommandEvent& event);
338 void OnEditObjectAttributes(wxCommandEvent& event);
340 void OnEditProject(wxCommandEvent& event);
342 void OnExportProjectModel(wxCommandEvent& event);
344 void OnLogWindow(wxCommandEvent& event);
346 void OnTocWindow(wxCommandEvent& event);
348 void OnShowObjectAttributionWindow(wxCommandEvent& event);
350 void OnShowQueriesWindow(wxCommandEvent& event);
352 void OnProjectBackup(wxCommandEvent& event);
354 void OnProjectBackupManage(wxCommandEvent& event);
356 void OnProjectSaveTemplate(wxCommandEvent& event);
358 void OnProjectMerge(wxCommandEvent& event);
360 void OnToolChanged(wxCommandEvent& event);
362 void OnZoomPrevious(wxCommandEvent& event);
364 void OnZoomToSelectedLayer(wxCommandEvent& event);
366 void OnZoomToFrame(wxCommandEvent& event);
368 void OnExportSelected(wxCommandEvent& event);
371 void OnExportConcatenated(wxCommandEvent& event);
373 void OnShowShortcutWindow(wxCommandEvent& event);
375 void OnShowSnappingWindow(wxCommandEvent& event);
377 void OnShowSnappingOnMap(wxCommandEvent& event);
379 void OnEditSwitch(wxCommandEvent& event);
381 void OnEditDeleteSelected(wxCommandEvent& event);
383 void OnEditUndo(wxCommandEvent& event);
385 void OnCreateIntersections(wxCommandEvent& event);
387 void OnEditVertexPosition(wxCommandEvent& event);
389 void OnMergeSelectedLines(wxCommandEvent& event);
391 void OnShowAAttributionWindow(wxCommandEvent& event);
393 void OnAAttributionBatchWindow(wxCommandEvent& event);
395 void OnShowInformationDialog(wxCommandEvent& event);
397 void OnBezierSettings(wxCommandEvent& event);
401 void OnCheckUpdates(wxCommandEvent& event);
403 void OnContactUs(wxCommandEvent& event);
405 void OnImportGISData(wxCommandEvent& event);
407 void OnExportSelectedGISData(wxCommandEvent& event);
409 void OnUserManual(wxCommandEvent& event);
411 void OnFlipLine(wxCommandEvent& event);
413 void OnSmoothLine(wxCommandEvent& event);
415 void OnPreferences(wxCommandEvent& event);
417 void OnRefreshView(wxCommandEvent& event);
420 void OnSelectNone(wxCommandEvent& event);
422 void OnSelectByOid(wxCommandEvent& event);
424 void OnSelectInvert(wxCommandEvent& event);
427 void OnUpdateSelection(wxCommandEvent& event);
429 void OnEditObjectFrequency(wxCommandEvent& event);
432 void OnAddGisData(wxCommandEvent& event);
434 void OnAddWebData(wxCommandEvent& event);
436 void OnAddGroup(wxCommandEvent& event);
438 void OnShortcutAttributionDone(wxCommandEvent& event);
441 void OnDanglingNodes(wxCommandEvent& event);
443 void OnGeometryValidity(wxCommandEvent& event);
445 void OnCloseManagedPane(wxAuiManagerEvent& event);
447 void OnStatisticsUpdate(wxCommandEvent& event);
449 void OnStatisticsDialog(wxCommandEvent& event);
453 void _CheckUpdates(
bool ismanual =
false);
456 void OnLayoutDefault(wxCommandEvent& event);
458 void OnLayoutVertical(wxCommandEvent& event);
460 void OnLayoutHorizontal(wxCommandEvent& event);
463 void OnUpdateMenuProject(wxUpdateUIEvent& event);
465 void OnUpdateMenuPreviousZoom(wxUpdateUIEvent& event);
467 void OnUpdateMenuEditUndo(wxUpdateUIEvent& event);
469 void OnUpdateMenuEditDraw(wxUpdateUIEvent& event);
471 void OnUpdateMenuEditModify(wxUpdateUIEvent& event);
473 void OnUpdateMenuEditBezierDraw(wxUpdateUIEvent& event);
475 void OnUpdateMenuEditBezierModify(wxUpdateUIEvent& event);
477 void OnUpdateMenuBezierSettings(wxUpdateUIEvent& event);
479 void OnUpdateMenuEditDelete(wxUpdateUIEvent& event);
481 void OnUpdateMenuVertexInsert(wxUpdateUIEvent& event);
483 void OnUpdateMenuVertexDelete(wxUpdateUIEvent& event);
485 void OnUpdateMenuEditMerge(wxUpdateUIEvent& event);
487 void OnUpdateMenuEditPointOrient(wxUpdateUIEvent& event);
489 void OnUpdateMenuEditClearSelection(wxUpdateUIEvent& event);
491 void OnUpdateMenuEditQueryRun(wxUpdateUIEvent& event);
493 void OnUpdateMenuEditQueryAdd(wxUpdateUIEvent& event);
495 void OnUpdateMenuSnappingShowPanel(wxUpdateUIEvent& event);
497 void OnUpdateMenuSnappingShowOnMap(wxUpdateUIEvent& event);
499 void OnUpdateMenuShowShortcuts(wxUpdateUIEvent& event);
501 void OnUpdateMenuShowQuery(wxUpdateUIEvent& event);
503 void OnUpdateMenuShowTOC(wxUpdateUIEvent& event);
505 void OnUpdateMenuShowLog(wxUpdateUIEvent& event);
507 void OnUpdateMenuShowInfo(wxUpdateUIEvent& event);
509 void OnUpdateMenuFlipLine(wxUpdateUIEvent& event);
511 void OnUpdateMenuSmoothLine(wxUpdateUIEvent& event);
513 void OnUpdateMenuEditSharedNode(wxUpdateUIEvent& event);
515 void OnUpdateStatisticsDialog(wxUpdateUIEvent& event);
517 void OnUpdateGeometryValidity(wxUpdateUIEvent& event);
519 void OnUpdateMenuZoomLayer(wxUpdateUIEvent& event);
521 void OnSysColourChanged(wxSysColourChangedEvent& event);
525 void _CreateToolBar();
527 void _LoadPreference(
bool reload);
529 void _CreatePerspectives();
531 DECLARE_EVENT_TABLE();
537 ToolMapFrame(wxFrame* frame,
const wxString& title, wxPoint pos, wxSize size,
const wxString& name);
541 bool AddLayers(
const wxArrayString& filenames);