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>
40 mnIDUserNotes = wxID_HIGHEST + 1,
54 Sets(wxWindow* parent, uint margin = 18);
82 void onCaption(
void*);
85 void onComments(
void*);
92 void onUserNotesCharacter(wxRichTextEvent& evt);
93 void onUserNotesStyleChanged(wxRichTextEvent& evt);
95 void onSetsModified(
Sets* sender);
108 bool initializeTemporaryFile();
112 wxRichTextCtrl* pRichEdit;
113 wxRichTextStyleSheet* pStyleSheet;
126 DECLARE_EVENT_TABLE()
Panel implementation.
Definition panel.h:36
Save As Dialog
Definition sets.h:36
void saveToStudy()
Save the sets to the study.
Definition sets.cpp:564
virtual ~Sets()
Destructor.
Definition sets.cpp:143
Sets(wxWindow *parent, uint margin=18)
Constructor with a parent window and a study.
Definition sets.cpp:61
void disconnectFromNotification()
Disconnect from the notifications of the sets updates.
Definition sets.cpp:519
void loadFromStudy()
Load the sets from the study.
Definition sets.cpp:524
static Yuni::Event< void(Sets *sender)> OnChanged
Event triggered when the sets are changed.
Definition sets.h:46
void connectToNotification()
Connect to the notification of sets updates.
Definition sets.cpp:513