Scope
NoScanBasePage.h
1 #pragma once
2 
3 #include "ThirdParty/ToolTipDialog.h"
4 #include "controls/ScopeSliderCtrl.h"
5 #include "controls/ScopeEditCtrl.h"
6 #include "controls/ScopeButtonCtrl.h"
7 #include "controls/ScopeCheckBoxCtrl.h"
8 #include "controls/ScopeUpDownCtrl.h"
9 #include "controls/ScopeScrollbarCtrl.h"
10 #include "controllers/ScopeController.h"
11 #include "scanmodes/ScannerVectorFrameBasic.h"
12 #include "resource.h"
13 
14 namespace scope {
15 namespace gui {
16 
20  : public CPropertyPageImpl<CNoScanBasePage>
21  , public CToolTipDialog<CNoScanBasePage> {
22 
23 protected:
26 
29 
31  const uint32_t area;
32 
34  std::wstring strtitle;
35 
37  boost::signals2::connection rwstateconnection;
38 
41 
44 
47 
50 
53 
56 
59 
62 
65 
68 
71 
74 
75 public:
77  enum { IDD = IDD_NOSCAN_PROPPAGE };
78 
80  CNoScanBasePage(const uint32_t& _area, parameters::ScannerVectorFrameBasic& _scanvecparams);
81 
83  virtual ~CNoScanBasePage(void);
84 
85  BEGIN_MSG_MAP_EX(CNoScanBasePage)
86  MSG_WM_INITDIALOG(OnInitDialog);
87  CHAIN_MSG_MAP(CToolTipDialog<CNoScanBasePage>)
88  REFLECT_NOTIFICATIONS()
89  END_MSG_MAP()
90 
93  virtual BOOL OnInitDialog(CWindow wndFocus, LPARAM lInitParam);
98  virtual void SetReadOnlyWhileScanning();
100 };
101 
102 }}
Main controller of microscope hardware and acquisition, also interface to the GUI.
CScopeEditCtrl< double > fpuy_edit
FPU y position edit control.
CScopeScrollbarCtrl pockels_scroll
pockels cell scrollbar control
CScopeEditCtrl< double > fpux_edit
FPU x position edit control.
virtual ~CNoScanBasePage(void)
Disconnect from ScopeController::ReadOnlyWhileScanning.
boost::signals2::connection rwstateconnection
Connection object to the ScopeController::ReadOnlyWhileScanning for setting controls RW state...
const uint32_t area
for which area are the image settings
An adapted CButton control around a ScopeButton.
bool initialized
true after dialog is initialized
CScopeButtonCtrl fpuleft_button
nudge FPU left button control
ScopeController scope_controller
our ScopeController here
std::wstring strtitle
string for settings page title
virtual void SetReadOnlyWhileScanning()
Connected to ScopeController::ReadOnlyWhileScanning.
CNoScanBasePage(const uint32_t &_area, parameters::ScannerVectorFrameBasic &_scanvecparams)
We need a pointer to a basic ScannerVector (could be e.g.
CScopeScrollbarCtrl fastz_scroll
Fast Z scrollbar control.
CScopeEditCtrl< double > pixeltime_edit
pixel dwell time edit control
CScopeEditCtrl< double > fastz_edit
Fast Z edit control.
Parameters for a ScannerVectorFrameBasic.
Definition: Framescan.h:45
CScopeButtonCtrl fpuup_button
nudge FPU up button control
CScopeEditCtrl< double > pockels_edit
pockels cell edit control
CScopeButtonCtrl fpudown_button
nudge FPU down button control
CScopeButtonCtrl fpuright_button
nudge FPU rightbutton control
An adapted CScrollB ar control around a ScopeNumber.
CScopeScrollbarCtrl pixeltime_scroll
pixel dwell time scrollbar control
Base class for all scanning and non-scanning scan property pages, i.e.