|
musredit 1.0.0
|
Dialog for creating FOURIER blocks in msr files. More...
#include <PGetFourierBlockDialog.h>


Public Member Functions | |
| PGetFourierBlockDialog (const QString helpUrl) | |
| Constructs the FOURIER block dialog. | |
| QString | getFourierBlock () |
| Returns the generated FOURIER block string. | |
Private Slots | |
| void | checkPhaseParameter () |
| Validates the phase parameter input. | |
| void | fillFourierBlock () |
| Builds the FOURIER block string from dialog inputs. | |
| void | helpContent () |
| Opens the online help for FOURIER blocks. | |
Private Attributes | |
| QString | fFourierBlock |
| Generated msr-file FOURIER block string. | |
| QString | fHelpUrl |
| URL to the online documentation for FOURIER blocks. | |
Dialog for creating FOURIER blocks in msr files.
This dialog collects all parameters needed to generate a FOURIER block for muon spin rotation data analysis. The Fourier transform converts time-domain asymmetry data into the frequency domain, revealing oscillation frequencies corresponding to internal magnetic fields.
Definition at line 95 of file PGetFourierBlockDialog.h.
| PGetFourierBlockDialog::PGetFourierBlockDialog | ( | const QString | helpUrl | ) |
Constructs the FOURIER block dialog.
Initializes the dialog UI and sets up input validators for all numeric fields. The dialog is created as modal.
| helpUrl | URL to the online documentation for FOURIER blocks. |
Definition at line 72 of file PGetFourierBlockDialog.cpp.
|
privateslot |
Validates the phase parameter input.
Checks that the phase entry is either a plain integer or follows the "parXX" format where XX is a parameter number.
Checks if the phase parameter is either a plain integer number or has the format "parXX" where XX is a parameter number referencing a fit parameter from the FITPARAMETER block.
If validation fails, the input is cleared and an error dialog is shown, returning focus to the phase input field for correction.
Definition at line 104 of file PGetFourierBlockDialog.cpp.
|
privateslot |
Builds the FOURIER block string from dialog inputs.
Generates the FOURIER block string from dialog inputs.
Collects all user-entered values and formats them into a valid msr-file FOURIER block.
Transfers the data from all dialog widgets into a valid msr-file FOURIER block string. The method collects:
Optional parameters are only included if their corresponding input fields contain valid data. The generated block is stored in fFourierBlock for retrieval via getFourierBlock().
Definition at line 163 of file PGetFourierBlockDialog.cpp.
|
inline |
Returns the generated FOURIER block string.
Definition at line 107 of file PGetFourierBlockDialog.h.
|
privateslot |
Opens the online help for FOURIER blocks.
Opens the online help documentation for FOURIER blocks.
Attempts to open the help URL in the system's default web browser using QDesktopServices. If the URL is empty, displays an informational message. If the browser fails to open, displays an error message with a clickable link.
Definition at line 193 of file PGetFourierBlockDialog.cpp.
|
private |
Generated msr-file FOURIER block string.
Definition at line 130 of file PGetFourierBlockDialog.h.
|
private |
URL to the online documentation for FOURIER blocks.
Definition at line 131 of file PGetFourierBlockDialog.h.