DynExp
Highly flexible laboratory automation for dynamically changing experiments.
Loading...
Searching...
No Matches
DynExpModule::ODMR::ODMRWidget Class Reference

#include <ODMRWidget.h>

+ Inheritance diagram for DynExpModule::ODMR::ODMRWidget:

Classes

struct  StatusBarType
 

Public Member Functions

 ODMRWidget (ODMR &Owner, QModuleWidget *parent=nullptr)
 
 ~ODMRWidget ()=default
 
bool AllowResize () const noexcept override final
 Indicates the resizing behavior of the user interface window. Override to adjust.
 
void InitializeUI (Util::SynchronizedPointer< ODMRData > &ModuleData)
 
void SetUIState (const StateMachineStateType *State, Util::SynchronizedPointer< ODMRData > &ModuleData)
 
void UpdateUIData (Util::SynchronizedPointer< ODMRData > &ModuleData)
 
void UpdateODMRPlot (ODMRPlotType &ODMRPlot)
 
void UpdateSensitivityPlot (SensitivityPlotType &SensitivityPlot)
 
const auto GetUI () const noexcept
 
bool GetUIInitialized () const noexcept
 
const auto * GetODMRGraph () const noexcept
 
- Public Member Functions inherited from DynExp::QModuleWidget
 QModuleWidget (QModuleBase &Owner, QWidget *Parent=nullptr)
 Constructs a QModuleWidget instance.
 
 ~QModuleWidget ()=default
 
const auto & GetOwner () const noexcept
 Getter for the owning module.
 
Qt::WindowFlags GetQtWindowFlags () const noexcept
 Depending on thr return value of AllowResize(), returns either the return value of GetQtWindowFlagsResizable() or GetQtWindowFlagsNonResizable().
 
std::string GetDataSaveDirectory () const
 Recalls a path where modules might save recorded data to. Used by Util::PromptSaveFilePathModule() to recall the directory the user has chosen last for saving a file. This directory is the same across all modules.
 
void SetDataSaveDirectory (std::string_view Directory) const
 Sets a path where modules might save recorded data to. Used by Util::PromptSaveFilePathModule() to store the directory the user has chosen last for saving a file. This directory is the same across all modules.
 
virtual bool AllowDocked () const noexcept
 Indicates the docking behavior of the user interface window. Override to adjust.
 

Private Slots

void OnBrowseSavePathClicked ()
 
void OnSweepSeriesParamChanged (int Index)
 

Private Attributes

std::unique_ptr< Ui::ODMR > ui
 
StatusBarType StatusBar
 
DynExpQuick::DynExpLineGraphBackendODMRGraph
 
DynExpQuick::DynExpLineGraphBackendSensitivityGraph
 
DynExp::Units::UnitType AuxAnalogOutValueUnit = DynExp::Units::UnitType::Arbitrary
 
DynExpInstr::DataStreamInstrumentData::ValueType AuxAnalogOutMinValue = 0.0
 
DynExpInstr::DataStreamInstrumentData::ValueType AuxAnalogOutMaxValue = 1.0
 
bool UIInitialized = false
 

Additional Inherited Members

- Static Public Member Functions inherited from DynExp::QModuleWidget
static constexpr Qt::WindowFlags GetQtWindowFlagsResizable ()
 Default Qt window flags for resizable module windows.
 
static constexpr Qt::WindowFlags GetQtWindowFlagsNonResizable ()
 Default Qt window flags for non-resizable module windows.
 

Detailed Description

Definition at line 57 of file ODMRWidget.h.

Constructor & Destructor Documentation

◆ ODMRWidget()

DynExpModule::ODMR::ODMRWidget::ODMRWidget ( ODMR Owner,
QModuleWidget parent = nullptr 
)

Definition at line 26 of file ODMRWidget.cpp.

◆ ~ODMRWidget()

DynExpModule::ODMR::ODMRWidget::~ODMRWidget ( )
default

Member Function Documentation

◆ AllowResize()

bool DynExpModule::ODMR::ODMRWidget::AllowResize ( ) const
inlinefinaloverridevirtualnoexcept

Indicates the resizing behavior of the user interface window. Override to adjust.

Returns
Return true when the window should be resizable by the user, false otherwise.

Reimplemented from DynExp::QModuleWidget.

Definition at line 79 of file ODMRWidget.h.

◆ GetODMRGraph()

const auto * DynExpModule::ODMR::ODMRWidget::GetODMRGraph ( ) const
inlinenoexcept

Definition at line 89 of file ODMRWidget.h.

◆ GetUI()

const auto DynExpModule::ODMR::ODMRWidget::GetUI ( ) const
inlinenoexcept

Definition at line 87 of file ODMRWidget.h.

◆ GetUIInitialized()

bool DynExpModule::ODMR::ODMRWidget::GetUIInitialized ( ) const
inlinenoexcept

Definition at line 88 of file ODMRWidget.h.

◆ InitializeUI()

void DynExpModule::ODMR::ODMRWidget::InitializeUI ( Util::SynchronizedPointer< ODMRData > &  ModuleData)

Definition at line 70 of file ODMRWidget.cpp.

◆ OnBrowseSavePathClicked

void DynExpModule::ODMR::ODMRWidget::OnBrowseSavePathClicked ( )
privateslot

Definition at line 196 of file ODMRWidget.cpp.

◆ OnSweepSeriesParamChanged

void DynExpModule::ODMR::ODMRWidget::OnSweepSeriesParamChanged ( int  Index)
privateslot

Definition at line 207 of file ODMRWidget.cpp.

◆ SetUIState()

void DynExpModule::ODMR::ODMRWidget::SetUIState ( const StateMachineStateType State,
Util::SynchronizedPointer< ODMRData > &  ModuleData 
)

Definition at line 133 of file ODMRWidget.cpp.

◆ UpdateODMRPlot()

void DynExpModule::ODMR::ODMRWidget::UpdateODMRPlot ( ODMRPlotType ODMRPlot)

Definition at line 166 of file ODMRWidget.cpp.

◆ UpdateSensitivityPlot()

void DynExpModule::ODMR::ODMRWidget::UpdateSensitivityPlot ( SensitivityPlotType SensitivityPlot)

Definition at line 182 of file ODMRWidget.cpp.

◆ UpdateUIData()

void DynExpModule::ODMR::ODMRWidget::UpdateUIData ( Util::SynchronizedPointer< ODMRData > &  ModuleData)

Definition at line 154 of file ODMRWidget.cpp.

Member Data Documentation

◆ AuxAnalogOutMaxValue

DynExpInstr::DataStreamInstrumentData::ValueType DynExpModule::ODMR::ODMRWidget::AuxAnalogOutMaxValue = 1.0
private

Definition at line 100 of file ODMRWidget.h.

◆ AuxAnalogOutMinValue

DynExpInstr::DataStreamInstrumentData::ValueType DynExpModule::ODMR::ODMRWidget::AuxAnalogOutMinValue = 0.0
private

Definition at line 99 of file ODMRWidget.h.

◆ AuxAnalogOutValueUnit

DynExp::Units::UnitType DynExpModule::ODMR::ODMRWidget::AuxAnalogOutValueUnit = DynExp::Units::UnitType::Arbitrary
private

Definition at line 98 of file ODMRWidget.h.

◆ ODMRGraph

DynExpQuick::DynExpLineGraphBackend* DynExpModule::ODMR::ODMRWidget::ODMRGraph
private

Definition at line 95 of file ODMRWidget.h.

◆ SensitivityGraph

DynExpQuick::DynExpLineGraphBackend* DynExpModule::ODMR::ODMRWidget::SensitivityGraph
private

Definition at line 96 of file ODMRWidget.h.

◆ StatusBar

StatusBarType DynExpModule::ODMR::ODMRWidget::StatusBar
private

Definition at line 93 of file ODMRWidget.h.

◆ ui

std::unique_ptr<Ui::ODMR> DynExpModule::ODMR::ODMRWidget::ui
private

Definition at line 92 of file ODMRWidget.h.

◆ UIInitialized

bool DynExpModule::ODMR::ODMRWidget::UIInitialized = false
private

Definition at line 102 of file ODMRWidget.h.


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