Skip to main content

SpikeToAnalogConfigDialog

SpikeToAnalogConfigDialog

Configuration dialog for the spike-to-analog pairing loader. More…

#include <SpikeToAnalogConfigDialog.hpp>

Inherits from QDialog

Public Functions

Name
SpikeToAnalogConfigDialog(QWidget * parent =[nullptr])
Construct the dialog.
SpikeToAnalogCsvDelimiter delimiter() const
Return the field delimiter selected by the user.
int digitalColumn() const
Return the 1-based column index for the digital channel number.
int analogColumn() const
Return the 1-based column index for the analog channel number.
bool digitalOneBased() const
Return true if digital channel numbers in the CSV are 1-based.
bool analogOneBased() const
Return true if analog channel numbers in the CSV are 1-based.
bool digitalKeyOneBased() const
Return true if digital series key suffixes in the data manager are 1-based (e.g. “spikes_1” is the first spike channel).
bool analogKeyOneBased() const
Return true if analog series key suffixes in the data manager are 1-based (e.g. “voltage_1” is the first analog channel).
std::string digitalGroupPrefix() const
Return the digital group prefix entered by the user (e.g. “spikes_”).
std::string analogGroupPrefix() const
Return the analog group prefix entered by the user (e.g. “voltage_”).
SpikeToAnalogPlacementMode placementMode() const
Return the placement mode selected by the user.
std::string filePath() const
Return the absolute path to the CSV file chosen by the user.
bool useBoxGlyph() const
When placement is Overlay, true if user wants digital events as time-axis boxes.

Detailed Description

class SpikeToAnalogConfigDialog;

Configuration dialog for the spike-to-analog pairing loader.

After exec(), use the accessor methods to retrieve the user’s selections.

Public Functions Documentation

function SpikeToAnalogConfigDialog

explicit SpikeToAnalogConfigDialog(
    QWidget * parent =nullptr
)

Construct the dialog.

Parameters:

  • parent Optional Qt parent widget.

function delimiter

SpikeToAnalogCsvDelimiter delimiter() const

Return the field delimiter selected by the user.

function digitalColumn

int digitalColumn() const

Return the 1-based column index for the digital channel number.

function analogColumn

int analogColumn() const

Return the 1-based column index for the analog channel number.

function digitalOneBased

bool digitalOneBased() const

Return true if digital channel numbers in the CSV are 1-based.

function analogOneBased

bool analogOneBased() const

Return true if analog channel numbers in the CSV are 1-based.

function digitalKeyOneBased

bool digitalKeyOneBased() const

Return true if digital series key suffixes in the data manager are 1-based (e.g. “spikes_1” is the first spike channel).

function analogKeyOneBased

bool analogKeyOneBased() const

Return true if analog series key suffixes in the data manager are 1-based (e.g. “voltage_1” is the first analog channel).

function digitalGroupPrefix

std::string digitalGroupPrefix() const

Return the digital group prefix entered by the user (e.g. “spikes_”).

function analogGroupPrefix

std::string analogGroupPrefix() const

Return the analog group prefix entered by the user (e.g. “voltage_”).

function placementMode

SpikeToAnalogPlacementMode placementMode() const

Return the placement mode selected by the user.

function filePath

std::string filePath() const

Return the absolute path to the CSV file chosen by the user.

Return: Empty string if no file was selected.

function useBoxGlyph

bool useBoxGlyph() const

When placement is Overlay, true if user wants digital events as time-axis boxes.


Updated on 2026-11-13 at 20:25:39 +0000