Stimfit @PACKAGE_VERSION@
Loading...
Searching...
No Matches

A user-defined dialog for entering floating-point numbers. More...

#include <usrdlg.h>

Inheritance diagram for wxStfUsrDlg:
Collaboration diagram for wxStfUsrDlg:

Public Member Functions

 wxStfUsrDlg (wxWindow *parent, const stf::UserInput &input_, int id=wxID_ANY, wxPoint pos=wxDefaultPosition, wxSize size=wxDefaultSize, int style=wxCAPTION)
 Constructor.
Vector_double readInput () const
 Get the user entries.
virtual void EndModal (int retCode)
 Called upon ending a modal dialog.

Detailed Description

A user-defined dialog for entering floating-point numbers.

Definition at line 39 of file usrdlg.h.

Constructor & Destructor Documentation

◆ wxStfUsrDlg()

wxStfUsrDlg::wxStfUsrDlg ( wxWindow * parent,
const stf::UserInput & input_,
int id = wxID_ANY,
wxPoint pos = wxDefaultPosition,
wxSize size = wxDefaultSize,
int style = wxCAPTION )

Constructor.

Parameters
parentPointer to parent window.
input_A stf::UserInput struct.
idWindow id.
posInitial position.
sizeInitial size.
styleDialog style.

References size.

Member Function Documentation

◆ EndModal()

virtual void wxStfUsrDlg::EndModal ( int retCode)
virtual

Called upon ending a modal dialog.

Parameters
retCodeThe dialog button id that ended the dialog (e.g. wxID_OK)

◆ readInput()

Vector_double wxStfUsrDlg::readInput ( ) const
inline

Get the user entries.

Returns
The user entries as a vector of doubles.

Definition at line 76 of file usrdlg.h.


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