|
Stimfit @PACKAGE_VERSION@
|
The application, derived from wxApp. More...
#include <app.h>


Public Member Functions | |
| wxStfApp () | |
| Constructor. | |
| virtual bool | OnInit () |
| Initialise the application. | |
| virtual int | OnExit () |
| Exit the application. | |
| wxStfChildFrame * | CreateChildFrame (wxDocument *doc, wxView *view) |
| Creates a new child frame. | |
| wxStfDoc * | GetActiveDoc () const |
| Retrieves the currently active document. | |
| wxStfView * | GetActiveView () const |
| Retrieves the currently active view. | |
| void | ErrorMsg (const wxString &msg) const |
| Displays a message box when an error has occured. | |
| void | ExceptMsg (const wxString &msg) const |
| Displays a message box when an exception has occured. | |
| void | InfoMsg (const wxString &msg) const |
| Displays a message box with information. | |
| bool | get_directTxtImport () const |
| Indicates whether text files should be imported directly without showing an import settings dialog. | |
| void | set_directTxtImport (bool directTxtImport_) |
| Determines whether text files should be imported directly without showing an import filter settings dialog. | |
| const stfio::txtImportSettings & | GetTxtImport () const |
| Retrieves the text import filter settings. | |
| void | set_txtImportSettings (const stfio::txtImportSettings &txtImport_) |
| Sets the text import filter settings. | |
| const std::vector< stfnum::storedFunc > & | GetFuncLib () const |
| Retrieves the functions that are available for least-squares minimisation. | |
| stfnum::storedFunc * | GetFuncLibPtr (std::size_t at) |
| Retrieves a pointer to a function for least-squares minimisation. | |
| stfnum::storedFunc * | GetLinFuncPtr () |
| Retrieves a pointer to a function for least-squares minimisation. | |
| const std::vector< stf::Extension > & | GetExtensionLib () const |
| Retrieves the user-defined extension functions. | |
| wxStfCursorsDlg * | GetCursorsDialog () const |
| Retrieves the cursor settings dialog. | |
| std::vector< stf::SectionPointer > | GetSectionsWithFits () const |
| Retrieves all sections with fits. | |
| void | wxWriteProfileInt (const wxString &main, const wxString &sub, int value) const |
| Writes an integer value to the configuration. | |
| int | wxGetProfileInt (const wxString &main, const wxString &sub, int default_) const |
| Retrieves an integer value from the configuration. | |
| void | wxWriteProfileString (const wxString &main, const wxString &sub, const wxString &value) const |
| Writes a string to the configuration. | |
| wxString | wxGetProfileString (const wxString &main, const wxString &sub, const wxString &default_) const |
| Retrieves a string from the configuration. | |
| wxStfDoc * | NewChild (const Recording &NewData, const wxStfDoc *Sender, const wxString &title=wxT("\0")) |
| Creates a new child window showing a new document. | |
| void | OnPeakcalcexecMsg (wxStfDoc *actDoc=0) |
| Execute all pending calculations. | |
| void | SetMRActiveDoc (wxStfDoc *pDoc) |
| Sets the currently active document. | |
| void | CleanupDocument (wxStfDoc *pDoc) |
| Destroys the last cursor settings dialog when the last document is closed. | |
| bool | CloseAll () |
| Closes all documents. | |
| bool | OpenFileSeries (const wxArrayString &fNameArray) |
| Opens a series of files. Optionally, files can be put into a single window. | |
| int | GetDocCount () |
| Returns the number of currently opened documents. | |
| void | set_isBars (bool value) |
| Determine whether scale bars or coordinates should be shown. | |
| bool | get_isBars () const |
| Indicates whether scale bars or coordinates are shown. | |
| wxString | GetVersionString () const |
| Get a formatted version string. | |
| void | OnNewfromselected (wxCommandEvent &event) |
| Open a new window showing all selected traces from all open files. | |
| wxDocManager * | GetDocManager () const |
| Access the document manager. | |
| wxStfParentFrame * | GetMainFrame () |
| virtual void | OnInitCmdLine (wxCmdLineParser &parser) |
| virtual bool | OnCmdLineParsed (wxCmdLineParser &parser) |
| bool | OpenFilePy (const wxString &fNameArray) |
| Opens a file in a new window, to be called from Python. | |
| void | OnPythonImport (wxCommandEvent &event) |
| Opens a dialog to import a Python module. | |
The application, derived from wxApp.
This class is used to set and get application-wide properties, implement the windowing system message or event loop, initiate application processing via OnInit, and allow default processing of events not handled by other objects in the application.