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

Go to the SVN repository for this file.

1 #ifndef PKG_ALIGNMENT___CLUSTALW_TOOL_PANEL__HPP
2 #define PKG_ALIGNMENT___CLUSTALW_TOOL_PANEL__HPP
3 
4 /* $Id: clustalw_tool_panel.hpp 38391 2017-05-03 13:45:05Z evgeniev $
5  * ===========================================================================
6  *
7  * PUBLIC DOMAIN NOTICE
8  * National Center for Biotechnology Information
9  *
10  * This software/database is a "United States Government Work" under the
11  * terms of the United States Copyright Act. It was written as part of
12  * the author's official duties as a United States Government employee and
13  * thus cannot be copyrighted. This software/database is freely available
14  * to the public for use. The National Library of Medicine and the U.S.
15  * Government have not placed any restriction on its use or reproduction.
16  *
17  * Although all reasonable efforts have been taken to ensure the accuracy
18  * and reliability of the software and data, the NLM and the U.S.
19  * Government do not and cannot warrant the performance or results that
20  * may be obtained by using this software or data. The NLM and the U.S.
21  * Government disclaim all warranties, express or implied, including
22  * warranties of performance, merchantability or fitness for any particular
23  * purpose.
24  *
25  * Please cite the author in any work or product based on this material.
26  *
27  * ===========================================================================
28  *
29  * Authors: Roman Katargin
30  *
31  * File Description:
32  *
33  */
34 
35 /*!
36  * Includes
37  */
38 
39 #include <corelib/ncbiobj.hpp>
40 
44 
45 /*!
46  * Forward declarations
47  */
48 
49 /*!
50  * Control identifiers
51  */
52 
53 ////@begin control identifiers
54 #define SYMBOL_CCLUSTALWTOOLPANEL_STYLE wxTAB_TRAVERSAL
55 #define SYMBOL_CCLUSTALWTOOLPANEL_TITLE _("ClustalW Tool Panel")
56 #define SYMBOL_CCLUSTALWTOOLPANEL_IDNAME ID_CCLUSTALWPANEL
57 #define SYMBOL_CCLUSTALWTOOLPANEL_SIZE wxSize(400, 300)
58 #define SYMBOL_CCLUSTALWTOOLPANEL_POSITION wxDefaultPosition
59 ////@end control identifiers
60 
61 
63 
64 /** @addtogroup GUI_PKG_ALIGNMENT
65  *
66  * @{
67  */
68 
69  /*!
70  * CClustalwToolPanel class declaration
71  */
72 
74 {
75  DECLARE_DYNAMIC_CLASS( CClustalwToolPanel )
76  DECLARE_EVENT_TABLE()
77 
78 public:
80  CClustalwToolPanel( wxWindow* parent, wxWindowID id = SYMBOL_CCLUSTALWTOOLPANEL_IDNAME, const wxPoint& pos = SYMBOL_CCLUSTALWTOOLPANEL_POSITION, const wxSize& size = SYMBOL_CCLUSTALWTOOLPANEL_SIZE, long style = SYMBOL_CCLUSTALWTOOLPANEL_STYLE, bool visible = true );
81 
82  bool Create( wxWindow* parent, wxWindowID id = SYMBOL_CCLUSTALWTOOLPANEL_IDNAME, const wxPoint& pos = SYMBOL_CCLUSTALWTOOLPANEL_POSITION, const wxSize& size = SYMBOL_CCLUSTALWTOOLPANEL_SIZE, long style = SYMBOL_CCLUSTALWTOOLPANEL_STYLE, bool visible = true );
83 
85 
86  void Init();
87 
88  void CreateControls();
89 
90  virtual bool TransferDataFromWindow();
91 
92  /// @name CAlgoToolManagerParamsPanel implementation
93  void RestoreDefaults();
94  /// @}
95 
96  /// @name IRegSettings interface implementation
97  virtual void SetRegistryPath(const string& path);
98  virtual void LoadSettings();
99  virtual void SaveSettings() const;
100  /// @}
101 
102 ////@begin CClustalwToolPanel event handler declarations
103 
104  void OnClustalWPathClick( wxCommandEvent& event );
105 
106 ////@end CClustalwToolPanel event handler declarations
107 
108 ////@begin CClustalwToolPanel member function declarations
109 
111  const CClustalwToolParams& GetData() const { return m_data; }
113 
114  wxBitmap GetBitmapResource( const wxString& name );
115 
116  wxIcon GetIconResource( const wxString& name );
117 ////@end CClustalwToolPanel member function declarations
118 
120 
121  static bool ShowToolTips();
122 
123 ////@begin CClustalwToolPanel member variables
126  enum {
128  ID_PANEL = 10051,
129  ID_CHECKBOX12 = 10053,
130  ID_TEXTCTRL11 = 10052,
131  ID_TEXTCTRL12 = 10055,
132  ID_BITMAPBUTTON1 = 10056
133  };
134 ////@end CClustalwToolPanel member variables
135 };
136 
137 /** @}*/
138 
140 
141 #endif // PKG_ALIGNMENT___CLUSTALW_TOOL_PANEL__HPP
CAlgoToolManagerParamsPanel.
wxIcon GetIconResource(const wxString &name)
CObjectListWidgetSel * m_LocationSel
virtual bool TransferDataFromWindow()
bool Create(wxWindow *parent, wxWindowID id=ID_CCLUSTALWPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL, bool visible=true)
CClustalwToolParams & GetData()
wxBitmap GetBitmapResource(const wxString &name)
virtual void SetRegistryPath(const string &path)
CAlgoToolManagerParamsPanel.
void SetObjects(map< string, TConstScopedObjects > *objects)
void SetData(const CClustalwToolParams &data)
const CClustalwToolParams & GetData() const
virtual void SaveSettings() const
override in derived classes
CClustalwToolParams m_data
void OnClustalWPathClick(wxCommandEvent &event)
void RestoreDefaults()
override in derived classes
#define SYMBOL_CCLUSTALWTOOLPANEL_SIZE
#define SYMBOL_CCLUSTALWTOOLPANEL_IDNAME
#define SYMBOL_CCLUSTALWTOOLPANEL_POSITION
#define SYMBOL_CCLUSTALWTOOLPANEL_STYLE
char data[12]
Definition: iconv.c:80
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
const struct ncbi::grid::netcache::search::fields::SIZE size
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
Modified on Wed Apr 24 14:16:34 2024 by modify_doxy.py rev. 669887