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>
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"
41namespace InputSelector
43using namespace Component::HTMLListbox::Datasource;
65 return wxPoint(150, 240);
68 void updateInnerValues();
78 const wxString& newName,
79 const bool broadcast =
true);
100 void onStudyEndUpdate();
103 void internalAddPlant(
void*);
105 void internalDeletePlant(
void*);
107 void internalClonePlant(
void*);
109 void internalDeleteAll(
void*);
115 void onApplicationOnQuit();
120 void onStudyClosed();
128 void onStudyThermalClusterCommonSettingsChanged();
136 void evtPopupDelete(wxCommandEvent&);
137 void evtPopupDeleteAll(wxCommandEvent&);
141 void updateWhenGroupChanges();
147 wxStaticText* pTotalMW;
149 wxImageList pImageList;
155 Component::HTMLListbox::Item::ThermalClusterItem::Ptr pLastSelectedThermalCluster;
Listbox with HTML content.
Definition component.h:50
Definition thermal-cluster-order.h:59
Definition thermal-cluster-order.h:85
std::shared_ptr< IItem > Ptr
The most suitable smartptr for this class.
Definition item.h:51
Definition for a single area.
Definition area.h:52
A single thermal cluster.
Definition cluster.h:78