21 #ifndef __ANTARES_TOOLBOX_INPUT_THERMAL_CLUSTER_H__
22 #define __ANTARES_TOOLBOX_INPUT_THERMAL_CLUSTER_H__
24 #include <yuni/core/event.h>
25 #include <antares/study/study.h>
29 #include <wx/arrstr.h>
30 #include <wx/stattext.h>
31 #include <wx/imaglist.h>
32 #include "../components/htmllistbox/component.h"
33 #include "../components/htmllistbox/item/thermal-cluster-item.h"
34 #include "../components/htmllistbox/datasource/thermal-cluster-order.h"
35 #include "../components/htmllistbox/item/thermal-cluster-item.h"
37 namespace Antares::Toolbox::InputSelector
39 using namespace Component::HTMLListbox::Datasource;
57 virtual void update();
61 return wxPoint(150, 240);
64 void updateInnerValues();
74 const wxString& newName,
75 const bool broadcast =
true);
84 virtual void internalBuildSubControls();
96 void onStudyEndUpdate();
99 void internalAddPlant(
void*);
101 void internalDeletePlant(
void*);
103 void internalClonePlant(
void*);
105 void internalDeleteAll(
void*);
111 void onApplicationOnQuit();
116 void onStudyClosed();
124 void onStudyThermalClusterCommonSettingsChanged();
132 void evtPopupDelete(wxCommandEvent&);
133 void evtPopupDeleteAll(wxCommandEvent&);
137 void updateWhenGroupChanges();
143 wxStaticText* pTotalMW;
145 wxImageList pImageList;
151 Component::HTMLListbox::Item::ThermalClusterItem::Ptr pLastSelectedThermalCluster;
Listbox with HTML content.
Definition: component.h:46
Definition: thermal-cluster-order.h:53
Definition: thermal-cluster-order.h:80
std::shared_ptr< IItem > Ptr
The most suitable smartptr for this class.
Definition: item.h:47
Definition for a single area.
Definition: area.h:51
A single thermal cluster.
Definition: cluster.h:76