open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Public Member Functions | Static Public Member Functions | List of all members
dlg_CSVInput Class Reference

Loads custom csv file with data preview Settings can be adapted and saved under a specified format name. More...

#include <dlg_CSVInput.h>

Inheritance diagram for dlg_CSVInput:
[legend]
Collaboration diagram for dlg_CSVInput:
[legend]

Public Member Functions

 dlg_CSVInput (bool volumeDataAvailable, QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 Create a new dialog, all parameters are optional. More...
 
const iACsvConfiggetConfig () const
 Retrieve the configuration currently set in the dialog. More...
 
void setFileName (QString const &fileName)
 Set the file name input to the one given as parameter. More...
 
void setFormat (QString const &formatName)
 Set the format to be used for loading the file. More...
 
void setPath (QString const &path)
 Set the internal path (used when choosing a csv file) to the one given as parameter. More...
 

Static Public Member Functions

static bool loadFormatFromRegistry (const QString &formatName, iACsvConfig &dest)
 Loads settings from registry for a given format name, into a given config object. More...
 

Detailed Description

Loads custom csv file with data preview Settings can be adapted and saved under a specified format name.

Constructor & Destructor Documentation

◆ dlg_CSVInput()

dlg_CSVInput::dlg_CSVInput ( bool  volumeDataAvailable,
QWidget *  parent = nullptr,
Qt::WindowFlags  f = Qt::WindowFlags() 
)

Create a new dialog, all parameters are optional.

Member Function Documentation

◆ getConfig()

iACsvConfig const & dlg_CSVInput::getConfig ( ) const

Retrieve the configuration currently set in the dialog.

◆ loadFormatFromRegistry()

bool dlg_CSVInput::loadFormatFromRegistry ( const QString &  formatName,
iACsvConfig dest 
)
static

Loads settings from registry for a given format name, into a given config object.

◆ setFileName()

void dlg_CSVInput::setFileName ( QString const &  fileName)

Set the file name input to the one given as parameter.

◆ setFormat()

void dlg_CSVInput::setFormat ( QString const &  formatName)

Set the format to be used for loading the file.

◆ setPath()

void dlg_CSVInput::setPath ( QString const &  path)

Set the internal path (used when choosing a csv file) to the one given as parameter.


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