21 #ifndef __ANTARES_WINDOWS_XCAST_XCAST_H__
22 #define __ANTARES_WINDOWS_XCAST_XCAST_H__
24 #include "../../toolbox/components/notebook/notebook.h"
25 #include "../../toolbox/components/datagrid/component.h"
26 #include "../../toolbox/input/area.h"
27 #include <yuni/core/event.h>
28 #include <antares/study/study.h>
29 #include <wx/stattext.h>
31 #include <wx/checkbox.h>
32 #include <wx/choice.h>
34 namespace Antares::Window
36 template<enum Data::TimeSeriesType T>
37 class XCast final:
public wxPanel,
public Yuni::IEventObserver<XCast<T>>
58 void selectDefaultPage();
66 void onInstalledCapacityChanged(wxCommandEvent& evt);
68 void onUpdateDistribution(wxCommandEvent& evt);
70 void onUpdateTSTranslationUse(wxCommandEvent& evt);
72 void onUpdateConversion(wxCommandEvent& evt);
80 wxTextCtrl* pInstalledCapacity;
81 wxChoice* pDistribution;
82 wxCheckBox* useConversion;
83 wxChoice* useTranslation;
A datagrid with virtual values.
Definition: component.h:84
Definition: notebook.h:61
Notebook.
Definition: notebook.h:36
Definition for a single area.
Definition: area.h:51
XCast(wxWindow *parent, Toolbox::InputSelector::Area *notifier)
Default constructor.
Definition: xcast.hxx:38
virtual ~XCast()
Destructor.
Definition: xcast.hxx:207
Yuni::IEventObserver< XCast< T > > ObserverAncestorType
The Observer ancestor type.
Definition: xcast.h:43