Stimfit
0.13.15
|
Dialog for text import filter settings. More...
#include <smalldlgs.h>
Public Member Functions | |
wxStfTextImportDlg (wxWindow *parent, const wxString &textPreview=wxT("\0"), int hLines_=1, bool isSeries=false, int id=wxID_ANY, wxString title=wxT("Text file import settings"), wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION) | |
Constructor. | |
int | GetHLines () const |
Get the number of header lines. | |
bool | ToSection () const |
Indicates whether columns should be put into section or into channels. | |
bool | FirstIsTime () const |
Indicates whether the first column contains time values. | |
int | GetNColumns () const |
Get the number of columns. | |
double | GetSR () const |
Get the sampling rate. | |
const wxString & | GetYUnits () const |
Get the y units of the first channel. | |
const wxString & | GetYUnitsCh2 () const |
Get the y units of the second channel. | |
const wxString & | GetXUnits () const |
Get the x units. | |
bool | ApplyToAll () const |
Indicates whether the settings apply to all files in a series. | |
stfio::txtImportSettings | GetTxtImport () const |
Get the text import filter settings struct. | |
virtual void | EndModal (int retCode) |
Called upon ending a modal dialog. |
Dialog for text import filter settings.
Definition at line 580 of file smalldlgs.h.
wxStfTextImportDlg::wxStfTextImportDlg | ( | wxWindow * | parent, |
const wxString & | textPreview = wxT("\0") , |
||
int | hLines_ = 1 , |
||
bool | isSeries = false , |
||
int | id = wxID_ANY , |
||
wxString | title = wxT("Text file import settings") , |
||
wxPoint | pos = wxDefaultPosition , |
||
wxSize | size = wxDefaultSize , |
||
int | style = wxCAPTION |
||
) |
Constructor.
parent | Pointer to parent window. |
textPreview | The preview text to be shown. |
hLines_ | The number of header lines that are initially set. |
isSeries | Set this to true for file series so that they can be batch-opened. |
id | Window id. |
title | Dialog title. |
pos | Initial position. |
size | Initial size. |
style | Dialog style. |
bool wxStfTextImportDlg::ApplyToAll | ( | ) | const [inline] |
Indicates whether the settings apply to all files in a series.
Definition at line 680 of file smalldlgs.h.
virtual void wxStfTextImportDlg::EndModal | ( | int | retCode | ) | [virtual] |
Called upon ending a modal dialog.
retCode | The dialog button id that ended the dialog (e.g. wxID_OK) |
bool wxStfTextImportDlg::FirstIsTime | ( | ) | const [inline] |
Indicates whether the first column contains time values.
Definition at line 650 of file smalldlgs.h.
int wxStfTextImportDlg::GetHLines | ( | ) | const [inline] |
Get the number of header lines.
Definition at line 640 of file smalldlgs.h.
int wxStfTextImportDlg::GetNColumns | ( | ) | const [inline] |
Get the number of columns.
Definition at line 655 of file smalldlgs.h.
double wxStfTextImportDlg::GetSR | ( | ) | const [inline] |
Get the text import filter settings struct.
const wxString& wxStfTextImportDlg::GetXUnits | ( | ) | const [inline] |
const wxString& wxStfTextImportDlg::GetYUnits | ( | ) | const [inline] |
Get the y units of the first channel.
Definition at line 665 of file smalldlgs.h.
const wxString& wxStfTextImportDlg::GetYUnitsCh2 | ( | ) | const [inline] |
Get the y units of the second channel.
Definition at line 670 of file smalldlgs.h.
bool wxStfTextImportDlg::ToSection | ( | ) | const [inline] |
Indicates whether columns should be put into section or into channels.
Definition at line 645 of file smalldlgs.h.