diff options
Diffstat (limited to 'Project/ChartViewBase.h')
-rw-r--r-- | Project/ChartViewBase.h | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/Project/ChartViewBase.h b/Project/ChartViewBase.h new file mode 100644 index 0000000..e83ab94 --- /dev/null +++ b/Project/ChartViewBase.h @@ -0,0 +1,91 @@ +////////////////////////////////////////////////////////////////////// +// This file was auto-generated by codelite's wxCrafter Plugin +// wxCrafter project file: ChartView.wxcp +// Do not modify this file by hand! +////////////////////////////////////////////////////////////////////// + +#ifndef _PSP_PROJECT_CHARTVIEW_BASE_CLASSES_H +#define _PSP_PROJECT_CHARTVIEW_BASE_CLASSES_H + +#include <wx/settings.h> +#include <wx/xrc/xmlres.h> +#include <wx/xrc/xh_bmp.h> +#include <wx/frame.h> +#include <wx/iconbndl.h> +#include <wx/artprov.h> +#include <wx/sizer.h> +#include <wx/menu.h> +#include <wx/treectrl.h> +#include <wx/propgrid/manager.h> +#include <wx/propgrid/property.h> +#include <wx/propgrid/advprops.h> +#include <wx/panel.h> +#if wxVERSION_NUMBER >= 2900 +#include <wx/persist.h> +#include <wx/persist/toplevel.h> +#include <wx/persist/bookctrl.h> +#include <wx/persist/treebook.h> +#endif + +#ifdef WXC_FROM_DIP +#undef WXC_FROM_DIP +#endif +#if wxVERSION_NUMBER >= 3100 +#define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL) +#else +#define WXC_FROM_DIP(x) x +#endif + + +class ChartViewBase : public wxFrame +{ +protected: + wxMenuBar* m_menuBar; + wxMenu* m_menuFile; + wxMenuItem* m_menuItemSaveImage; + wxMenuItem* m_menuItemSandToClipboard; + wxMenuItem* m_menuItemSeparator_1; + wxMenuItem* m_menuItemExit; + wxMenu* m_menuView; + wxMenuItem* m_menuItemFit; + wxMenuItem* m_menuItemSeparator_2; + wxMenuItem* m_menuItemShowGrid; + wxMenuItem* m_menuItemShowLabel; + wxMenuItem* m_menuItemShowCoordinates; + wxMenuItem* m_menuItemDarkTheme; + wxTreeCtrl* m_treeCtrl; + wxPropertyGridManager* m_pgMgr; + wxPGProperty* m_pgPropLineProp; + wxPGProperty* m_pgPropDraw; + wxPGProperty* m_pgPropColor; + wxPGProperty* m_pgProplineThick; + wxPGProperty* m_pgProplineType; + wxPGProperty* m_pgProplineAxis; + wxPGProperty* m_pgPropChartProp; + wxPGProperty* m_pgPropChartTitle; + wxPGProperty* m_pgPropXLabel; + wxPGProperty* m_pgPropYLabel; + wxPGProperty* m_pgPropMargins; + wxPGProperty* m_pgPropMarginsUp; + wxPGProperty* m_pgPropYMarginsBot; + wxPGProperty* m_pgPropYMarginsLeft; + wxPGProperty* m_pgPropYMarginsRight; + wxPGProperty* m_pgPropAxisLimit; + wxPGProperty* m_pgPropXMin; + wxPGProperty* m_pgPropXMax; + wxPGProperty* m_pgPropYMin; + wxPGProperty* m_pgPropYMax; + wxPanel* m_panelChart; + +protected: + +public: + wxMenuBar* GetMenuBar() { return m_menuBar; } + wxTreeCtrl* GetTreeCtrl() { return m_treeCtrl; } + wxPropertyGridManager* GetPgMgr() { return m_pgMgr; } + wxPanel* GetPanelChart() { return m_panelChart; } + ChartViewBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Chart view"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_FRAME_STYLE); + virtual ~ChartViewBase(); +}; + +#endif |