NCBI C++ ToolKit
loadentrez_seq_dlg.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef _LOADENTREZ_SEQ_DLG_H_
2 #define _LOADENTREZ_SEQ_DLG_H_
3 /* $Id: loadentrez_seq_dlg.hpp 35961 2016-07-19 20:41:20Z asztalos $
4  * ===========================================================================
5  *
6  * PUBLIC DOMAIN NOTICE
7  * National Center for Biotechnology Information
8  *
9  * This software/database is a "United States Government Work" under the
10  * terms of the United States Copyright Act. It was written as part of
11  * the author's official duties as a United States Government employee and
12  * thus cannot be copyrighted. This software/database is freely available
13  * to the public for use. The National Library of Medicine and the U.S.
14  * Government have not placed any restriction on its use or reproduction.
15  *
16  * Although all reasonable efforts have been taken to ensure the accuracy
17  * and reliability of the software and data, the NLM and the U.S.
18  * Government do not and cannot warrant the performance or results that
19  * may be obtained by using this software or data. The NLM and the U.S.
20  * Government disclaim all warranties, express or implied, including
21  * warranties of performance, merchantability or fitness for any particular
22  * purpose.
23  *
24  * Please cite the author in any work or product based on this material.
25  *
26  * ===========================================================================
27  *
28  * Authors: Andrea Asztalos
29  */
30 // Generated by DialogBlocks (unregistered), 19/02/2015 14:08:09
31 
32 #include <corelib/ncbistd.hpp>
33 #include <wx/dialog.h>
34 
35 class wxTextCtrl;
36 
39  class CSeq_id;
41 /*!
42  * Control identifiers
43  */
44 
45 ////@begin control identifiers
46 #define SYMBOL_CLOADSEQFROMENTREZ_DLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
47 #define SYMBOL_CLOADSEQFROMENTREZ_DLG_TITLE _("Download From Entrez")
48 #define SYMBOL_CLOADSEQFROMENTREZ_DLG_IDNAME ID_CLOADSEQFROMENTREZ_DLG
49 #define SYMBOL_CLOADSEQFROMENTREZ_DLG_SIZE wxSize(400, 300)
50 #define SYMBOL_CLOADSEQFROMENTREZ_DLG_POSITION wxDefaultPosition
51 ////@end control identifiers
52 
53 
54 /*!
55  * CLoadSeqFromEntrez_dlg class declaration
56  */
57 
58 class CLoadSeqFromEntrez_dlg: public wxDialog
59 {
60  DECLARE_DYNAMIC_CLASS( CLoadSeqFromEntrez_dlg )
61  DECLARE_EVENT_TABLE()
62 
63 public:
64  /// Constructors
66  CLoadSeqFromEntrez_dlg( wxWindow* parent,
67  wxWindowID id = SYMBOL_CLOADSEQFROMENTREZ_DLG_IDNAME,
68  const wxString& caption = SYMBOL_CLOADSEQFROMENTREZ_DLG_TITLE,
69  const wxPoint& pos = SYMBOL_CLOADSEQFROMENTREZ_DLG_POSITION,
72 
73  /// Creation
74  bool Create( wxWindow* parent,
75  wxWindowID id = SYMBOL_CLOADSEQFROMENTREZ_DLG_IDNAME,
76  const wxString& caption = SYMBOL_CLOADSEQFROMENTREZ_DLG_TITLE,
77  const wxPoint& pos = SYMBOL_CLOADSEQFROMENTREZ_DLG_POSITION,
80 
81  /// Destructor
83 
84  /// Initialises member variables
85  void Init();
86 
87  /// Creates the controls and sizers
88  void CreateControls();
89 
90 ////@begin CLoadSeqFromEntrez_dlg event handler declarations
91 
92  /// wxEVT_UPDATE_UI event handler for wxID_OK
93  void OnTextChange( wxUpdateUIEvent& event );
94 
95  void OnTextCtrlEnter( wxCommandEvent& event );
96 ////@end CLoadSeqFromEntrez_dlg event handler declarations
97 
98 ////@begin CLoadSeqFromEntrez_dlg member function declarations
99  string GetData() const;
100 
101  /// Retrieves bitmap resources
102  wxBitmap GetBitmapResource( const wxString& name );
103 
104  /// Retrieves icon resources
105  wxIcon GetIconResource( const wxString& name );
106 ////@end CLoadSeqFromEntrez_dlg member function declarations
107 
108  /// Should we show tooltips?
109  static bool ShowToolTips();
110 private:
111 ////@begin CLoadSeqFromEntrez_dlg member variables
112  wxTextCtrl* m_Text;
113  /// Control identifiers
114  enum {
116  ID_LDTEXT = 10441
117  };
118 ////@end CLoadSeqFromEntrez_dlg member variables
119 };
120 
122 
123 #endif
124  // _LOADENTREZ_SEQ_DLG_H_
void Init()
Initialises member variables.
void OnTextChange(wxUpdateUIEvent &event)
wxEVT_UPDATE_UI event handler for wxID_OK
bool Create(wxWindow *parent, wxWindowID id=ID_CLOADSEQFROMENTREZ_DLG, const wxString &caption=_("Download From Entrez"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
static bool ShowToolTips()
Should we show tooltips?
void OnTextCtrlEnter(wxCommandEvent &event)
CLoadSeqFromEntrez_dlg()
Constructors.
void CreateControls()
Creates the controls and sizers.
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define END_SCOPE(ns)
End the previously defined scope.
Definition: ncbistl.hpp:75
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
#define BEGIN_SCOPE(ns)
Define a new scope.
Definition: ncbistl.hpp:72
#define SYMBOL_CLOADSEQFROMENTREZ_DLG_SIZE
#define SYMBOL_CLOADSEQFROMENTREZ_DLG_TITLE
#define SYMBOL_CLOADSEQFROMENTREZ_DLG_STYLE
#define SYMBOL_CLOADSEQFROMENTREZ_DLG_POSITION
#define SYMBOL_CLOADSEQFROMENTREZ_DLG_IDNAME
const struct ncbi::grid::netcache::search::fields::SIZE size
Modified on Sat Feb 24 07:46:11 2024 by modify_doxy.py rev. 669887