musredit 1.0.0
Loading...
Searching...
No Matches
PGetMusrFTOptionsDialog.cpp File Reference

Implementation of the PGetMusrFTOptionsDialog class. More...

#include <QLineEdit>
#include <QValidator>
#include <QComboBox>
#include <QMessageBox>
#include <QDesktopServices>
#include <QUrl>
#include <QFileDialog>
#include "PGetMusrFTOptionsDialog.h"
Include dependency graph for PGetMusrFTOptionsDialog.cpp:

Go to the source code of this file.

Macros

Fourier Option Indices

Combo box indices for Fourier plot type options.

#define MUSRFT_OPT_UNDEF   0
 Undefined/default option.
 
#define MUSRFT_OPT_REAL   1
 Real part of Fourier transform.
 
#define MUSRFT_OPT_IMAG   2
 Imaginary part of Fourier transform.
 
#define MUSRFT_OPT_REAL_AND_IMAG   3
 Both real and imaginary parts.
 
#define MUSRFT_OPT_POWER   4
 Power spectrum.
 
#define MUSRFT_OPT_PHASE   5
 Phase spectrum.
 
Apodization Indices

Combo box indices for apodization window function options.

#define MUSRFT_APOD_UNDEF   0
 Undefined/no apodization.
 
#define MUSRFT_APOD_WEAK   1
 Weak apodization.
 
#define MUSRFT_APOD_MEDIUM   2
 Medium apodization.
 
#define MUSRFT_APOD_STRONG   3
 Strong apodization.
 
Unit Indices

Combo box indices for frequency unit options.

#define MUSRFT_UNIT_UNDEF   0
 Undefined/default units.
 
#define MUSRFT_UNIT_GAUSS   1
 Gauss (magnetic field units)
 
#define MUSRFT_UNIT_TESLA   2
 Tesla (magnetic field units)
 
#define MUSRFT_UNIT_FREQ   3
 MHz (frequency units)
 
#define MUSRFT_UNIT_CYCLE   4
 Mc/s (megacycles per second)
 

Detailed Description

Implementation of the PGetMusrFTOptionsDialog class.

This file implements the dialog for configuring musrFT command-line options. It handles file selection, option parsing from previous commands, signal/slot connections for UI interactions, and generation of the complete command-line argument list.

Author
Andreas Suter
Date
2009-2026

Definition in file PGetMusrFTOptionsDialog.cpp.

Macro Definition Documentation

◆ MUSRFT_APOD_MEDIUM

#define MUSRFT_APOD_MEDIUM   2

Medium apodization.

Definition at line 74 of file PGetMusrFTOptionsDialog.cpp.

◆ MUSRFT_APOD_STRONG

#define MUSRFT_APOD_STRONG   3

Strong apodization.

Definition at line 75 of file PGetMusrFTOptionsDialog.cpp.

◆ MUSRFT_APOD_UNDEF

#define MUSRFT_APOD_UNDEF   0

Undefined/no apodization.

Definition at line 72 of file PGetMusrFTOptionsDialog.cpp.

◆ MUSRFT_APOD_WEAK

#define MUSRFT_APOD_WEAK   1

Weak apodization.

Definition at line 73 of file PGetMusrFTOptionsDialog.cpp.

◆ MUSRFT_OPT_IMAG

#define MUSRFT_OPT_IMAG   2

Imaginary part of Fourier transform.

Definition at line 61 of file PGetMusrFTOptionsDialog.cpp.

◆ MUSRFT_OPT_PHASE

#define MUSRFT_OPT_PHASE   5

Phase spectrum.

Definition at line 64 of file PGetMusrFTOptionsDialog.cpp.

◆ MUSRFT_OPT_POWER

#define MUSRFT_OPT_POWER   4

Power spectrum.

Definition at line 63 of file PGetMusrFTOptionsDialog.cpp.

◆ MUSRFT_OPT_REAL

#define MUSRFT_OPT_REAL   1

Real part of Fourier transform.

Definition at line 60 of file PGetMusrFTOptionsDialog.cpp.

◆ MUSRFT_OPT_REAL_AND_IMAG

#define MUSRFT_OPT_REAL_AND_IMAG   3

Both real and imaginary parts.

Definition at line 62 of file PGetMusrFTOptionsDialog.cpp.

◆ MUSRFT_OPT_UNDEF

#define MUSRFT_OPT_UNDEF   0

Undefined/default option.

Definition at line 59 of file PGetMusrFTOptionsDialog.cpp.

◆ MUSRFT_UNIT_CYCLE

#define MUSRFT_UNIT_CYCLE   4

Mc/s (megacycles per second)

Definition at line 87 of file PGetMusrFTOptionsDialog.cpp.

◆ MUSRFT_UNIT_FREQ

#define MUSRFT_UNIT_FREQ   3

MHz (frequency units)

Definition at line 86 of file PGetMusrFTOptionsDialog.cpp.

◆ MUSRFT_UNIT_GAUSS

#define MUSRFT_UNIT_GAUSS   1

Gauss (magnetic field units)

Definition at line 84 of file PGetMusrFTOptionsDialog.cpp.

◆ MUSRFT_UNIT_TESLA

#define MUSRFT_UNIT_TESLA   2

Tesla (magnetic field units)

Definition at line 85 of file PGetMusrFTOptionsDialog.cpp.

◆ MUSRFT_UNIT_UNDEF

#define MUSRFT_UNIT_UNDEF   0

Undefined/default units.

Definition at line 83 of file PGetMusrFTOptionsDialog.cpp.