21 #ifndef __ANTARES_APPLICATION_WINDOWS_SETS_H__
22 #define __ANTARES_APPLICATION_WINDOWS_SETS_H__
24 #include <ui/common/component/panel.h>
25 #include <wx/richtext/richtextctrl.h>
26 #include <wx/richtext/richtextstyles.h>
28 namespace Antares::Window
38 mnIDUserNotes = wxID_HIGHEST + 1,
52 Sets(wxWindow* parent, uint margin = 18);
80 void onCaption(
void*);
83 void onComments(
void*);
90 void onUserNotesCharacter(wxRichTextEvent& evt);
91 void onUserNotesStyleChanged(wxRichTextEvent& evt);
93 void onSetsModified(
Sets* sender);
106 bool initializeTemporaryFile();
110 wxRichTextCtrl* pRichEdit;
111 wxRichTextStyleSheet* pStyleSheet;
124 DECLARE_EVENT_TABLE()
Panel implementation.
Definition: panel.h:34
Save As Dialog
Definition: sets.h:34
void saveToStudy()
Save the sets to the study.
Definition: sets.cpp:576
virtual ~Sets()
Destructor.
Definition: sets.cpp:144
Sets(wxWindow *parent, uint margin=18)
Constructor with a parent window and a study.
Definition: sets.cpp:59
void disconnectFromNotification()
Disconnect from the notifications of the sets updates.
Definition: sets.cpp:527
void loadFromStudy()
Load the sets from the study.
Definition: sets.cpp:532
static Yuni::Event< void(Sets *sender)> OnChanged
Event triggered when the sets are changed.
Definition: sets.h:44
void connectToNotification()
Connect to the notification of sets updates.
Definition: sets.cpp:521