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

Go to the SVN repository for this file.

1 #ifndef GUI_WIDGETS___LOADERS___WIG_PARAMS_PANEL__HPP
2 #define GUI_WIDGETS___LOADERS___WIG_PARAMS_PANEL__HPP
3 
4 /* $Id: wig_params_panel.hpp 28586 2013-08-02 19:32:29Z katargir $
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 
32 #include <corelib/ncbistd.hpp>
33 #include <gui/gui_export.h>
34 
35 /*!
36  * Includes
37  */
38 
39 #include <wx/panel.h>
40 
42 
43 /*!
44  * Forward declarations
45  */
46 
47 /*!
48  * Control identifiers
49  */
50 
51 ////@begin control identifiers
52 #define ID_CWIGPARAMSPANEL 10052
53 #define ID_SPINCTRL1 10054
54 #define ID_PANEL10 10016
55 #define SYMBOL_CWIGPARAMSPANEL_STYLE wxTAB_TRAVERSAL
56 #define SYMBOL_CWIGPARAMSPANEL_TITLE _("CWigParamsPanel")
57 #define SYMBOL_CWIGPARAMSPANEL_IDNAME ID_CWIGPARAMSPANEL
58 #define SYMBOL_CWIGPARAMSPANEL_SIZE wxSize(400, 300)
59 #define SYMBOL_CWIGPARAMSPANEL_POSITION wxDefaultPosition
60 ////@end control identifiers
61 
63 
64 class CAssemblySelPanel;
65 
66 /*!
67  * CWigParamsPanel class declaration
68  */
69 
71 {
72  DECLARE_DYNAMIC_CLASS( CWigParamsPanel )
73  DECLARE_EVENT_TABLE()
74 
75 public:
76  /// Constructors
78  CWigParamsPanel( wxWindow* parent, wxWindowID id = SYMBOL_CWIGPARAMSPANEL_IDNAME, const wxPoint& pos = SYMBOL_CWIGPARAMSPANEL_POSITION, const wxSize& size = SYMBOL_CWIGPARAMSPANEL_SIZE, long style = SYMBOL_CWIGPARAMSPANEL_STYLE );
79 
80  /// Creation
81  bool Create( wxWindow* parent, wxWindowID id = SYMBOL_CWIGPARAMSPANEL_IDNAME, const wxPoint& pos = SYMBOL_CWIGPARAMSPANEL_POSITION, const wxSize& size = SYMBOL_CWIGPARAMSPANEL_SIZE, long style = SYMBOL_CWIGPARAMSPANEL_STYLE );
82 
83  /// Destructor
84  ~CWigParamsPanel();
85 
86  /// Initialises member variables
87  void Init();
88 
89  /// Creates the controls and sizers
90  void CreateControls();
91 
92  /// Transfer data to the window
93  virtual bool TransferDataToWindow();
94 
95  /// Transfer data from the window
96  virtual bool TransferDataFromWindow();
97 
98 ////@begin CWigParamsPanel event handler declarations
99 
100 ////@end CWigParamsPanel event handler declarations
101 
102 ////@begin CWigParamsPanel member function declarations
103 
104  /// Data access
105  CWigLoadParams& GetData() { return m_data; }
106  const CWigLoadParams& GetData() const { return m_data; }
107  void SetData(const CWigLoadParams& data) { m_data = data; }
108 
109  /// Retrieves bitmap resources
110  wxBitmap GetBitmapResource( const wxString& name );
111 
112  /// Retrieves icon resources
113  wxIcon GetIconResource( const wxString& name );
114 ////@end CWigParamsPanel member function declarations
115 
116  /// Should we show tooltips?
117  static bool ShowToolTips();
118 
119 ////@begin CWigParamsPanel member variables
121  /// The data edited by this window
123 ////@end CWigParamsPanel member variables
124 };
125 
127 
128 #endif // GUI_WIDGETS___LOADERS___WIG_PARAMS_PANEL__HPP
CAssemblySelPanel * m_AssemblyPanel
void SetData(const CWigLoadParams &data)
CWigLoadParams m_data
The data edited by this window.
const CWigLoadParams & GetData() const
CWigLoadParams & GetData()
Data access.
Include a standard set of the NCBI C++ Toolkit most basic headers.
static void Init(void)
Definition: cursor6.c:76
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
#define NCBI_GUIWIDGETS_LOADERS_EXPORT
Definition: gui_export.h:525
Defines to provide correct exporting from DLLs in Windows.
const struct ncbi::grid::netcache::search::fields::SIZE size
#define SYMBOL_CWIGPARAMSPANEL_POSITION
#define SYMBOL_CWIGPARAMSPANEL_IDNAME
#define SYMBOL_CWIGPARAMSPANEL_STYLE
#define SYMBOL_CWIGPARAMSPANEL_SIZE
Modified on Tue Jul 02 10:35:37 2024 by modify_doxy.py rev. 669887