-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFlipDataViewer.h
44 lines (37 loc) · 1.19 KB
/
FlipDataViewer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef __FlipDataViewer__
#define __FlipDataViewer__
/**
@file
Subclass of DataViewer, which is generated by wxFormBuilder.
*/
#include "Flip.h"
#include "FlipMain.h"
//// end generated include
// declare custom events
wxDECLARE_EVENT(EVT_FLIPDATAVIEWER_BTNSAVE_CLICKED, wxCommandEvent);
wxDECLARE_EVENT(EVT_FLIPDATAVIEWER_CONTINUEPROCESSING_CLICKED, wxCommandEvent);
wxDECLARE_EVENT(EVT_FLIPDATAVIEWER_FINISHPROCESSING_CLICKED, wxCommandEvent);
/** Implementing DataViewer */
class FlipDataViewer : public DataViewer
{
public:
/** Constructor */
FlipDataViewer(FlipMain *parent);
//// end generated class members
bool GetBtnContinueProcessingAbility();
bool GetBtnFinishProcessingAbility();
bool GetBtnSaveAbility();
void ToggleBtnContinueProcessingAbility();
void ToggleBtnFinishProcessingAbility();
void ToggleBtnSaveAbility();
private:
void OnBtnContinueProcessing(wxEvent &event);
void OnBtnFinishProcessing(wxEvent &event);
void OnBtnSave(wxEvent &event);
void OnClose(wxEvent &event);
void OnFlipMainLaunchClicked(wxEvent &event);
void OnSpin(wxEvent &event);
FlipMain *m_mainFrame;
std::unordered_map<wxSpinButton *, wxTextCtrl *> m_uomap_SpinToTextCtrl;
};
#endif // __FlipDataViewer__