Stimfit 0.12.7
Public Member Functions

Dialog for selecting channels. More...

#include <smalldlgs.h>

Inheritance diagram for wxStfChannelSelDlg:
Inheritance graph
[legend]
Collaboration diagram for wxStfChannelSelDlg:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

Dialog for selecting channels.


Constructor & Destructor Documentation

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.

Parameters:
parentPointer to parent window.
channelNamesA vector containing the channel names.
idWindow id.
titleDialog title.
posInitial position.
sizeInitial size.
styleDialog style.

Member Function Documentation

virtual void wxStfChannelSelDlg::EndModal ( int  retCode) [virtual]

Called upon ending a modal dialog.

Parameters:
retCodeThe dialog button id that ended the dialog (e.g. wxID_OK)
int wxStfChannelSelDlg::GetSelCh1 ( ) const [inline]

Get selection for channel 1.

Returns:
The index of the first (active) channel
int wxStfChannelSelDlg::GetSelCh2 ( ) const [inline]

Get selection for channel 2.

Returns:
The index of the second (reference) channel

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