Stimfit
0.13.15
|
Dialog for selecting channels. More...
#include <smalldlgs.h>
Public Member Functions | |
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. | |
virtual void | EndModal (int retCode) |
Called upon ending a modal dialog. | |
int | GetSelCh1 () const |
Get selection for channel 1. | |
int | GetSelCh2 () const |
Get selection for channel 2. |
Dialog for selecting channels.
Definition at line 68 of file smalldlgs.h.
wxStfChannelSelDlg::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.
parent | Pointer to parent window. |
channelNames | A vector containing the channel names. |
id | Window id. |
title | Dialog title. |
pos | Initial position. |
size | Initial size. |
style | Dialog style. |
virtual void wxStfChannelSelDlg::EndModal | ( | int | retCode | ) | [virtual] |
Called upon ending a modal dialog.
retCode | The dialog button id that ended the dialog (e.g. wxID_OK) |
int wxStfChannelSelDlg::GetSelCh1 | ( | ) | const [inline] |
Get selection for channel 1.
Definition at line 115 of file smalldlgs.h.
int wxStfChannelSelDlg::GetSelCh2 | ( | ) | const [inline] |
Get selection for channel 2.
Definition at line 120 of file smalldlgs.h.