File: TextImportDialog.h

package info (click to toggle)
gentle 1.9+cvs20100605+dfsg1-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,224 kB
  • ctags: 6,214
  • sloc: cpp: 41,569; ansic: 3,978; sh: 1,420; makefile: 243
file content (34 lines) | stat: -rwxr-xr-x 865 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/** \file
	\brief Contains the TextImportDialog class
*/
#ifndef _TEXTIMPORTDIALOG_H_
#define _TEXTIMPORTDIALOG_H_

#include "main.h"

class TVector ;
class TVectorItem ;
class MyFrame ;
class TStorage ;

/**	\brief The dialog where one can enter a sequence manually
*/
class TextImportDialog : public wxDialog
    {
    public :
    TextImportDialog(wxWindow *parent, const wxString& title ) ; ///< Constructor
    ~TextImportDialog () ; ///< Destructor

    void OnOK ( wxCommandEvent &ev ) ; ///< OK button event handler
    void OnCancel ( wxCommandEvent &ev ) ; ///< Cancel button event handler
    void OnCharHook(wxKeyEvent& event) ; ///< Keys event handler

    wxTextCtrl *name , *sequence ;
    wxChoice *type ; ///< Sequence type dropdown box
    wxString sName , sSequence ;

    DECLARE_EVENT_TABLE()
    } ;

#endif