3 // Copyright 1997-2007 by Christopher J. Madsen
4 // (C) 2019 James Hammons
6 // GUEmap is licensed under either version 2 of the GPL, or (at your option)
7 // any later version. See LICENSE file for details.
9 // MainFrm.h: interface of the MainFrame class
21 //wants to be an MDI window... (And now is!!!)
22 class MainWin: public QMainWindow
24 // All Qt apps require this macro
31 void closeEvent(QCloseEvent * event);
36 void FileSaveBase(MapView *, QString);
38 void FileSaveAs(void);
41 void MenuFixUndo(void);
42 void EditDelete(void);
43 void EditSelectAll(void);
47 void CreateActions(void);
48 void CreateMenus(void);
49 void CreateToolbars(void);
50 void ReadSettings(void);
51 void WriteSettings(void);
54 // CDialogBar wndNavBar;
57 AboutWindow * aboutWin;
62 QAction * fileOpenAct;
63 QAction * fileSaveAct;
64 QAction * fileSaveAsAct;
65 QAction * fileCloseAct;
69 QAction * selectAllAct;
74 // void setStatusBar(LPCTSTR text) {m_wndStatusBar.SetWindowText(text);};
77 // ClassWizard generated virtual function overrides
78 //{{AFX_VIRTUAL(CMainFrame)
79 // virtual BOOL PreCreateWindow(CREATESTRUCT & cs);
86 // void DockControlBarLeftOf(CControlBar * Bar,CControlBar * LeftOf);
88 protected: // control bar embedded members
89 // CStatusBar m_wndStatusBar;
90 // CToolBar m_wndToolBar;
92 // Generated message map functions
94 // int OnCreate(LPCREATESTRUCT lpCreateStruct);
95 // void OnActivateApp(BOOL bActive, HTASK hTask);
98 // DECLARE_MESSAGE_MAP();
102 #endif // __MAINWIN_H__