Stimfit  0.13.15
Public Member Functions
wxStfOrderChannelsDlg Class Reference

Dialog for re-ordering channels before saving to file. More...

#include <smalldlgs.h>

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

List of all members.

Public Member Functions

 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.
std::vector< int > GetChannelOrder () const
 Get the new channel order.
virtual void EndModal (int retCode)
 Called upon ending a modal dialog.

Detailed Description

Dialog for re-ordering channels before saving to file.

Definition at line 772 of file smalldlgs.h.


Constructor & Destructor Documentation

wxStfOrderChannelsDlg::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.

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

Member Function Documentation

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

Called upon ending a modal dialog.

Parameters:
retCodeThe dialog button id that ended the dialog (e.g. wxID_OK)
std::vector<int> wxStfOrderChannelsDlg::GetChannelOrder ( ) const [inline]

Get the new channel order.

Returns:
A vector of newly ordered channel indices.

Definition at line 813 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