24 #ifndef COM_DAFER45_TBTK_PROPERTY_FRAME
25 #define COM_DAFER45_TBTK_PROPERTY_FRAME
27 #include "TBTK/ImagePanel.h"
28 #include "TBTK/Property/AbstractProperty.h"
37 class PropertyFrame :
public wxFrame{
40 PropertyFrame(wxWindow *parent);
46 void setProperty(
const Property::DOS &dos);
49 void setProperty(
const Property::LDOS &ldos);
52 void onPaintEvent(wxPaintEvent &event);
55 void onSizeEvent(wxSizeEvent &event);
58 void onMenuFileOpen(wxCommandEvent &event);
61 void onMenuFileQuit(wxCommandEvent &event);
64 void onMenuHelpAbout(wxCommandEvent &event);
66 DECLARE_EVENT_TABLE();
72 wxPanel *currentPanel;
76 enum class PropertyType {
83 void setPropertyPanel(PropertyType propertyType);
86 PropertyType currentPropertyType;