Scope
TimeSeriesSettingsPage.h
1 #pragma once
2 
3 #include "controls/ScopeEditCtrl.h"
4 #include "controls/ScopeCheckBoxCtrl.h"
5 #include "controls/ScopeButtonCtrl.h"
6 #include "controls/ScopeProgressCtrl.h"
7 #include "controllers/ScopeController.h"
8 #include "ThirdParty/ToolTipDialog.h"
9 #include "resource.h"
10 
11 namespace scope {
12  namespace gui {
13 
16  : public CPropertyPageImpl<CTimeSeriesSettingsPage>
17  , public CToolTipDialog<CTimeSeriesSettingsPage> {
18 
19 protected:
22 
25 
28 
31 
34 
37 
39  CButton forallareas;
40 
43 
46 
49 
52 
55 
57  CListViewCtrl planes_list;
58 
59 public:
60  enum { IDD = IDD_TIMESERIES_PROPPAGE };
61 
63 
64  BEGIN_MSG_MAP_EX(CTimeSeriesSettingsPage)
65  MSG_WM_INITDIALOG(OnInitDialog);
66  COMMAND_HANDLER(IDC_ADDPLANE_BUTTON, BN_CLICKED, OnAddPlane)
67  COMMAND_HANDLER(IDC_DELETEPLANE_BUTTON, BN_CLICKED, OnDeletePlane)
68  CHAIN_MSG_MAP(CToolTipDialog<CTimeSeriesSettingsPage>)
69  REFLECT_NOTIFICATIONS()
70  END_MSG_MAP()
71 
75  BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam);
76  LRESULT OnAddPlane(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
77  LRESULT OnDeletePlane(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
81  void UpdatePlanesList();
82 };
83 
84 }}
Main controller of microscope hardware and acquisition, also interface to the GUI.
Property page for settings of simeseries scanning.
CScopeEditCtrl< double > overalltime_edit
time in seconds for all timeseries
void UpdatePlanesList()
updates the list view ctrl on add/delete plane
scope::ScopeController scope_controller
a scope controller
CScopeProgressCtrl repeats_progress
Progress indicator for repeats.
CScopeEditCtrl< double > totaltime_edit
the total time the timeseries will take
CScopeEditCtrl< uint32_t > frames_edit
number of frames to scan
An adapted CButton control around a ScopeButton.
An adapted CProgressBarCtrl control around a ScopeNumber.
BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam)
Handles dialog initialization.
CScopeButtonCtrl start_timeseries_button
start timeseries scanning
CListViewCtrl planes_list
list box for all planes
CButton forallareas
do the frames and totaltime hold for all areas
CScopeCheckBoxCtrl firsttriggered_check
is the first timeseries triggered
CScopeCheckBoxCtrl alltriggered_check
are all timeseries triggered
CScopeProgressCtrl frames_progress
progress indicator for frames of a single repeat
An adapted CButton control as checkbox around a ScopeValue.
CScopeEditCtrl< uint32_t > repeats_edit
How often should the timeseries be repeated.
CScopeEditCtrl< double > betweenrepeats_edit
Time in seconds between the end of one and the next timeseries.