DynExp
Highly flexible laboratory automation for dynamically changing experiments.
DynExpModule::Trajectory1DWidget Class Reference
+ Inheritance diagram for DynExpModule::Trajectory1DWidget:

Public Member Functions

 Trajectory1DWidget (Trajectory1D &Owner, QModuleWidget *parent=nullptr)
 
 ~Trajectory1DWidget ()=default
 
bool AllowResize () const noexcept override final
 Indicates the resizing behavior of the user interface window. Override to adjust. More...
 
const auto & GetUI () const noexcept
 
- Public Member Functions inherited from DynExp::QModuleWidget
 QModuleWidget (QModuleBase &Owner, QWidget *Parent=nullptr)
 Constructs a QModuleWidget instance. More...
 
 ~QModuleWidget ()=default
 
const auto & GetOwner () const noexcept
 Getter for the owning module. More...
 
Qt::WindowFlags GetQtWindowFlags () const noexcept
 Depending on thr return value of AllowResize(), returns either the return value of GetQtWindowFlagsResizable() or GetQtWindowFlagsNonResizable(). More...
 
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. More...
 
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. More...
 

Private Attributes

Ui::Trajectory1D ui
 

Additional Inherited Members

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

Detailed Description

Definition at line 26 of file Trajectory1D.h.

Constructor & Destructor Documentation

◆ Trajectory1DWidget()

DynExpModule::Trajectory1DWidget::Trajectory1DWidget ( Trajectory1D Owner,
QModuleWidget parent = nullptr 
)

Definition at line 9 of file Trajectory1D.cpp.

◆ ~Trajectory1DWidget()

DynExpModule::Trajectory1DWidget::~Trajectory1DWidget ( )
default

Member Function Documentation

◆ AllowResize()

bool DynExpModule::Trajectory1DWidget::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 34 of file Trajectory1D.h.

◆ GetUI()

const auto& DynExpModule::Trajectory1DWidget::GetUI ( ) const
inlinenoexcept

Definition at line 36 of file Trajectory1D.h.

Member Data Documentation

◆ ui

Ui::Trajectory1D DynExpModule::Trajectory1DWidget::ui
private

Definition at line 39 of file Trajectory1D.h.


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