28#include <wx/dirctrl.h>
29#include <wx/filename.h>
39 wxStdDialogButtonSizer* m_sdbSizer;
55 const std::string& szGeneral,
56 const std::string& szFile,
57 const std::string& szSection,
59 wxString title = wxT(
"File information"),
60 wxPoint pos = wxDefaultPosition,
73 int m_selChannel1, m_selChannel2;
74 wxStdDialogButtonSizer* m_sdbSizer;
75 wxComboBox *m_comboBoxCh1,*m_comboBoxCh2;
97 const std::vector<wxString>& channelNames=
98 std::vector<wxString>(0),
100 wxString title = wxT(
"Select channels"),
101 wxPoint pos = wxDefaultPosition,
103 int style = wxCAPTION
126 DECLARE_EVENT_TABLE()
130 bool m_useReference, m_hasReference;
132 wxRadioBox* m_radioBox;
133 wxStdDialogButtonSizer* m_sdbSizer;
153 wxString title = wxT(
"Alignment mode"),
154 wxPoint pos = wxDefaultPosition,
156 int style = wxCAPTION
181 DECLARE_EVENT_TABLE()
185 wxRadioBox* m_radioBox;
186 wxStdDialogButtonSizer* m_sdbSizer;
205 wxString title = wxT(
"Filter function"),
206 wxPoint pos = wxDefaultPosition,
208 int style = wxCAPTION
226 DECLARE_EVENT_TABLE()
230 wxRadioBox* m_radioBox;
231 wxStdDialogButtonSizer* m_sdbSizer;
250 wxString title = wxT(
"Choose function"),
251 wxPoint pos = wxDefaultPosition,
253 int style = wxCAPTION
271 DECLARE_EVENT_TABLE()
274 wxStdDialogButtonSizer* m_sdbSizer;
290 wxString title = wxT(
"Fit information"),
291 wxPoint pos = wxDefaultPosition,
293 int style = wxCAPTION
316 DECLARE_EVENT_TABLE()
319 std::vector<BatchOption> batchOptions;
321 wxCheckListBox* m_checkList;
322 wxStdDialogButtonSizer* m_sdbSizer;
334 id_slopethresholdtime,
366 wxString title = wxT(
"Choose values"),
367 wxPoint pos = wxDefaultPosition,
369 int style = wxCAPTION
375 bool PrintBase()
const {
return LookUp(id_base).selection;}
430 bool PrintT50()
const {
return LookUp(id_t50).selection;}
451 bool PrintPSlopes()
const {
return LookUp(id_pslopes).
selection;}
457 bool PrintThr()
const {
return LookUp(id_crossings).selection;}
479 DECLARE_EVENT_TABLE()
482 bool m_gimmicks,m_isFile;
484 wxStdDialogButtonSizer* m_sdbSizer;
486 wxTextCtrl* m_textCtrl;
508 wxPoint pos = wxDefaultPosition,
510 int style = wxCAPTION
533 DECLARE_EVENT_TABLE()
539 wxStdDialogButtonSizer* m_sdbSizer;
541 wxTextCtrl *m_textCtrlCenter, *m_textCtrlWidth;
560 wxString title = wxT(
"Settings for Gaussian function"),
561 wxPoint pos = wxDefaultPosition,
563 int style = wxCAPTION
569 double Width()
const {
return m_width;}
579 double Amp()
const {
return m_amp;}
591 DECLARE_EVENT_TABLE()
605 void disableSenseless();
607 wxStdDialogButtonSizer* m_sdbSizer;
608 wxTextCtrl *m_textCtrlHLines, *m_textCtrlYUnits, *m_textCtrlYUnitsCh2,
609 *m_textCtrlXUnits, *m_textCtrlSR;
610 wxComboBox *m_comboBoxNcolumns,*m_comboBoxFirsttime,*m_comboBoxSecorch;
636 const wxString& textPreview=wxT(
"\0"),
640 wxString title = wxT(
"Text file import settings"),
641 wxPoint pos = wxDefaultPosition,
643 int style = wxCAPTION
703class wxDirPickerCtrl;
710 DECLARE_EVENT_TABLE()
714 std::vector<int> channelOrder;
718 void SwapItems(
long itemId1,
long itemId2);
737 const std::vector<wxString>& channelNames=
738 std::vector<wxString>(0),
740 wxString title = wxT(
"Re-order channels"),
741 wxPoint pos = wxDefaultPosition,
743 int style = wxCAPTION
WORD TSTime TpMarker WORD size
See http://www.wxwidgets.org/manuals/stable/wx_wxcheckbox.html (wxWidgets documentation)
See http://www.wxwidgets.org/manuals/stable/wx_wxcommandevent.html (wxWidgets documentation)
See http://www.wxwidgets.org/manuals/stable/wx_wxdialog.html (wxWidgets documentation)
See http://www.wxwidgets.org/manuals/stable/wx_wxpoint.html (wxWidgets documentation)
See http://www.wxwidgets.org/manuals/stable/wx_wxsize.html (wxWidgets documentation)
See http://www.wxwidgets.org/manuals/stable/wx_wxstring.html (wxWidgets documentation)
See http://www.wxwidgets.org/manuals/stable/wx_wxwindow.html (wxWidgets documentation)
virtual void EndModal(int retCode)
Called upon ending a modal dialog.
wxStfGaussianDlg(wxWindow *parent, int id=wxID_ANY, wxString title=wxT("Settings for Gaussian function"), wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION)
Constructor.
bool selection
Checkbox label.
wxStfFilterSelDlg(wxWindow *parent, int id=wxID_ANY, wxString title=wxT("Filter function"), wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION)
Constructor.
bool ApplyToAll() const
Indicates whether the settings apply to all files in a series.
wxStfOrderChannelsDlg(wxWindow *parent, const std::vector< wxString > &channelNames=std::vector< wxString >(0), int id=wxID_ANY, wxString title=wxT("Re-order channels"), wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION)
Constructor.
bool PrintSlopeThresholdTime() const
Indicates whether the time of slope threshold crossing should be printed in the batch analysis table.
bool PrintPeakThreshold() const
Indicates whether the peak value (from threshold) should be printed in the batch analysis table.
wxStfFitInfoDlg(wxWindow *parent, const wxString &info, int id=wxID_ANY, wxString title=wxT("Fit information"), wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION)
Constructor.
virtual void EndModal(int retCode)
Called upon ending a modal dialog.
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.
virtual void EndModal(int retCode)
Called upon ending a modal dialog.
double GetSR() const
Get the sampling rate.
bool PrintThr() const
Indicates whether a threshold crossing should be printed in the batch analysis table.
virtual void EndModal(int retCode)
Called upon ending a modal dialog.
bool PrintPeakTime() const
Indicates whether the peak value (from threshold) should be printed in the batch analysis table.
stfio::txtImportSettings GetTxtImport() const
Get the text import filter settings struct.
bool PrintFitResults() const
Indicates whether the fit results should be printed in the batch analysis table.
bool PrintThreshold() const
Indicates whether the threshold should be printed in the batch analysis table.
bool PrintRTLoHi() const
Indicates whether the Lo-Hi% rise time should be printed in the batch analysis table.
virtual void EndModal(int retCode)
Called upon ending a modal dialog.
int GetSelCh1() const
Get selection for channel 1.
wxStfAlignDlg(wxWindow *parent, bool hasReference, int id=wxID_ANY, wxString title=wxT("Alignment mode"), wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION)
Constructor.
wxStfBatchDlg(wxWindow *parent, int id=wxID_ANY, wxString title=wxT("Choose values"), wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION)
Constructor.
bool PrintBase() const
Indicates whether the baseline should be printed in the batch analysis table.
int AlignRise() const
Indicates whether the average should be aligned to the steepest rise.
bool PrintPeakBase() const
Indicates whether the peak (from baseline) value should be printed in the batch analysis table.
wxStfTransformDlg(wxWindow *parent, int id=wxID_ANY, wxString title=wxT("Choose function"), wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION)
Constructor.
double Width() const
Get the width of the Gaussian.
bool FirstIsTime() const
Indicates whether the first column contains time values.
wxStfFileInfoDlg(wxWindow *parent, const std::string &szGeneral, const std::string &szFile, const std::string &szSection, int id=wxID_ANY, wxString title=wxT("File information"), wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION)
Constructor.
int GetSelCh2() const
Get selection for channel 2.
bool PrintT50() const
Indicates whether the half amplitude duration should be printed in the batch analysis table.
bool PrintOuterRTLoHi() const
Indicates whether the Lo-Hi% inner rise time should be printed in the batch analysis table.
double Center() const
Get the center of the Gaussian.
bool PrintLatencies() const
Indicates whether the latency should be printed in the batch analysis table.
bool UseReference() const
Indicates whether the reference channel should be used for alignment.
const wxString & GetXUnits() const
Get the x units.
virtual void EndModal(int retCode)
Called upon ending a modal dialog.
bool PrintPeakZero() const
Indicates whether the peak (from 0) value should be printed in the batch analysis table.
bool PrintInnerRTLoHi() const
Indicates whether the Lo-Hi% inner rise time should be printed in the batch analysis table.
BatchOption()
Default constructor.
bool GetGimmicks() const
Indicates whether gimmicks (cursors, results table etc.) sould be printed.
wxStfChannelSelDlg(wxWindow *parent, const std::vector< wxString > &channelNames=std::vector< wxString >(0), int id=wxID_ANY, wxString title=wxT("Select channels"), wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION)
Constructor.
int GetFilterSelect() const
Get the selected filter function.
bool PrintT50SE() const
Indicates whether the start and end time for half amplitude should be printed in the batch analysis t...
double Amp() const
Get the amplitude of the Gaussian.
bool ToSection() const
Indicates whether columns should be put into section or into channels.
bool PrintSlopeTimes() const
Indicates whether the peak value (from threshold) should be printed in the batch analysis table.
virtual void EndModal(int retCode)
Called upon ending a modal dialog.
int index
Checkbox status.
wxStfPreprintDlg(wxWindow *parent, bool isFile=false, int id=wxID_ANY, wxString title=wxT("Settings"), wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION)
Constructor.
int GetHLines() const
Get the number of header lines.
const wxString & GetYUnitsCh2() const
Get the y units of the second channel.
const wxString & GetYUnits() const
Get the y units of the first channel.
bool PrintBaseSD() const
Indicates whether the standard deviation of the baseline should be printed in the batch analysis tabl...
std::vector< int > GetChannelOrder() const
Get the new channel order.
int GetDownSampling() const
Prints every n-th point.
BatchOption(const wxString &lab, bool sel, int id)
int GetFSelect() const
Get the selected transform function.
bool PrintSlopes() const
Indicates whether the maximal slopes should be printed in the batch analysis table.
virtual void EndModal(int retCode)
Called upon ending a modal dialog.
virtual void EndModal(int retCode)
Called upon ending a modal dialog.
int GetNColumns() const
Get the number of columns.
small struct representing a batch dialog option
Text file import filter settings.