Scope
scope::gui::CScanSettingsSheet Class Reference

#include <ScanSettingsSheet.h>

Inherits CPropertySheetImpl< CScanSettingsSheet >.

Public Member Functions

 CScanSettingsSheet ()
 
Called from ScopeControllerImpl
void ChangeScanmode (const uint32_t &_area, const ScannerVectorType &_type)
 

Protected Attributes

ScopeController scope_controller
 
std::array< std::unique_ptr< CNoScanBasePage >, SCOPE_NAREAS > scanpages
 
CStorageSettingsPage storagesettingspage
 
CStimulationSettingsPage stimulationsettingspage
 
CMovementPage movementpage
 
SCOPE_INPUTSINFOPAGE_T inputsinfospage
 

Called via Win32 messages

Override Create and use Callback to switch to child window style during creation since Property sheets are popups as standard (Windows not WTL I think)

HWND Create (const HWND hWndParent, const int nStartPage, const CRect &rc)
 
LRESULT OnSelChange (WPARAM wParam, LPNMHDR pnmHdr, BOOL &bHandled)
 
static int CALLBACK PropSheetCallback (HWND hWnd, UINT uMsg, LPARAM lParam)
 

Detailed Description

Settings sheet that has settings pages for different parameter sets.

Definition at line 20 of file ScanSettingsSheet.h.

Constructor & Destructor Documentation

scope::gui::CScanSettingsSheet::CScanSettingsSheet ( )

Generates CImageSettingsPages for every area.

Definition at line 13 of file ScanSettingsSheet.cpp.

Member Function Documentation

HWND scope::gui::CScanSettingsSheet::Create ( const HWND  hWndParent,
const int  nStartPage,
const CRect &  rc 
)

Adds all the settingspages.

Definition at line 24 of file ScanSettingsSheet.cpp.

int CALLBACK scope::gui::CScanSettingsSheet::PropSheetCallback ( HWND  hWnd,
UINT  uMsg,
LPARAM  lParam 
)
static

We need this for whatever (see some WTL dialog tutorial)...

Definition at line 64 of file ScanSettingsSheet.cpp.

void scope::gui::CScanSettingsSheet::ChangeScanmode ( const uint32_t &  _area,
const ScannerVectorType _type 
)

Change the imaging settings page according to the choosen scan mode.

Definition at line 92 of file ScanSettingsSheet.cpp.

Member Data Documentation

ScopeController scope::gui::CScanSettingsSheet::scope_controller
protected

Our ScopeController here.

Definition at line 25 of file ScanSettingsSheet.h.

std::array<std::unique_ptr<CNoScanBasePage>, SCOPE_NAREAS> scope::gui::CScanSettingsSheet::scanpages
protected

one imaging settings page for each area

Definition at line 28 of file ScanSettingsSheet.h.

CStorageSettingsPage scope::gui::CScanSettingsSheet::storagesettingspage
protected

the storage settings page

Definition at line 31 of file ScanSettingsSheet.h.

CStimulationSettingsPage scope::gui::CScanSettingsSheet::stimulationsettingspage
protected

the stimulation settings page

Definition at line 34 of file ScanSettingsSheet.h.

CMovementPage scope::gui::CScanSettingsSheet::movementpage
protected

the settings page for all stages

Definition at line 37 of file ScanSettingsSheet.h.

SCOPE_INPUTSINFOPAGE_T scope::gui::CScanSettingsSheet::inputsinfospage
protected

a settings page for DAQmx/FPGA information

Definition at line 40 of file ScanSettingsSheet.h.


The documentation for this class was generated from the following files: