Stimfit  0.13.15
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.

Definition at line 68 of file smalldlgs.h.


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

Definition at line 115 of file smalldlgs.h.

int wxStfChannelSelDlg::GetSelCh2 ( ) const [inline]

Get selection for channel 2.

Returns:
The index of the second (reference) channel

Definition at line 120 of file smalldlgs.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines