DynExp
Highly flexible laboratory automation for dynamically changing experiments.
|
Public Member Functions | |
SignalDesignerWidget (SignalDesigner &Owner, QModuleWidget *parent=nullptr) | |
~SignalDesignerWidget ()=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 |
bool | HavePulsesChanged () noexcept |
auto | GetPulses () const |
void | InitializeUI (Util::SynchronizedPointer< SignalDesignerData > &ModuleData) |
Layout changes not involving ModuleData->CurrentWaveform come here. More... | |
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 Slots | |
void | OnPulsesContextMenuRequested (const QPoint &Position) |
void | OnAddPulse (bool) |
void | OnRemovePulse (bool) |
void | OnClearPulses (bool) |
void | OnPulsesChanged (QTableWidgetItem *) |
Private Attributes | |
Ui::SignalDesigner | ui |
QMenu * | PulsesContextMenu |
QAction * | AddPulseAction |
QAction * | RemovePulseAction |
QAction * | ClearPulsesAction |
DynExpInstr::FunctionGeneratorDefs::PulsesDescType | Pulses |
bool | PulsesChanged = false |
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... | |
Definition at line 23 of file SignalDesigner.h.
DynExpModule::SignalDesignerWidget::SignalDesignerWidget | ( | SignalDesigner & | Owner, |
QModuleWidget * | parent = nullptr |
||
) |
Definition at line 9 of file SignalDesigner.cpp.
|
default |
|
inlinefinaloverridevirtualnoexcept |
Indicates the resizing behavior of the user interface window. Override to adjust.
Reimplemented from DynExp::QModuleWidget.
Definition at line 31 of file SignalDesigner.h.
|
inline |
Definition at line 35 of file SignalDesigner.h.
|
inlinenoexcept |
Definition at line 33 of file SignalDesigner.h.
|
noexcept |
Definition at line 26 of file SignalDesigner.cpp.
void DynExpModule::SignalDesignerWidget::InitializeUI | ( | Util::SynchronizedPointer< SignalDesignerData > & | ModuleData | ) |
Layout changes not involving ModuleData->CurrentWaveform come here.
ModuleData | Data instance assigned to this SignalDesigner instance. |
Definition at line 38 of file SignalDesigner.cpp.
|
privateslot |
Definition at line 243 of file SignalDesigner.cpp.
|
privateslot |
Definition at line 270 of file SignalDesigner.cpp.
|
privateslot |
Definition at line 276 of file SignalDesigner.cpp.
|
privateslot |
Definition at line 238 of file SignalDesigner.cpp.
|
privateslot |
Definition at line 248 of file SignalDesigner.cpp.
|
private |
Definition at line 43 of file SignalDesigner.h.
|
private |
Definition at line 45 of file SignalDesigner.h.
|
private |
Definition at line 47 of file SignalDesigner.h.
|
private |
Definition at line 48 of file SignalDesigner.h.
|
private |
Definition at line 42 of file SignalDesigner.h.
|
private |
Definition at line 44 of file SignalDesigner.h.
|
private |
Definition at line 40 of file SignalDesigner.h.