]> Creatis software - crea.git/blob - lib/creaDevManagerLib/wxCreaDevManagerDescriptionPanel.h
Feature #1711
[crea.git] / lib / creaDevManagerLib / wxCreaDevManagerDescriptionPanel.h
1 /*
2  * wxCreaDevManagerDescriptionFrame.h
3  *
4  *  Created on: 23/10/2012
5  *      Author: daniel
6  */
7
8 #ifndef WXCREADEVMANAGERDESCRIPTIONPANEL_H_
9 #define WXCREADEVMANAGERDESCRIPTIONPANEL_H_
10
11 #include <creaWx.h>
12 #include <wx/panel.h>
13 #include <wx/bitmap.h>
14 #include <wx/stattext.h>
15
16 #include <iostream>
17 #include <utility>
18 #include <vector>
19
20 class wxCreaDevManagerDescriptionPanel : public wxPanel
21 {
22   public:
23       wxCreaDevManagerDescriptionPanel(
24         wxWindow* parent,
25         wxWindowID id = -1,
26         const wxString& caption = _("Description Frame"),
27         const wxPoint& pos = wxDefaultPosition,
28         const wxSize& size = wxDefaultSize,
29         long style = wxDEFAULT_FRAME_STYLE
30       );
31
32       ~wxCreaDevManagerDescriptionPanel();
33
34       bool Create(
35         wxWindow* parent,
36         wxWindowID id = -1,
37         const wxString& caption = _("Description Frame"),
38         const wxPoint& pos = wxDefaultPosition,
39         const wxSize& size = wxDefaultSize,
40         long style = wxDEFAULT_FRAME_STYLE
41       );
42
43
44   protected:
45       void CreateView(wxString title = wxString("Title"), wxString imagePath = wxString(""), wxString type = wxString("Type"), std::vector<std::pair<std::string, std::string> > properties = std::vector<std::pair<std::string, std::string> >());
46       //void CreateView();
47   private:
48       wxStaticText* _title;
49       wxBitmap* _image;
50       wxStaticText* _type;
51       wxStaticText* _properties;
52
53 };
54
55 #endif /* WXCREADEVMANAGERDESCRIPTIONFRAME_H_ */