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

Go to the SVN repository for this file.

1 #ifndef GUI_WIDGETS___LOADERS___TEXT_ALIGN_LOAD_PAGE__HPP
2 #define GUI_WIDGETS___LOADERS___TEXT_ALIGN_LOAD_PAGE__HPP
3 
4 /* $Id: text_align_params_panel.hpp 38443 2017-05-10 15:49:30Z 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  * File Description:
32  *
33  */
34 
35 #include <corelib/ncbistd.hpp>
36 #include <gui/gui_export.h>
37 
38 /*!
39  * Includes
40  */
41 
43 
44 #include <wx/panel.h>
45 
46 ////@begin includes
48 #include "wx/valtext.h"
49 #include "wx/valgen.h"
50 ////@end includes
51 
52 /*!
53  * Forward declarations
54  */
55 
56 ////@begin forward declarations
57 ////@end forward declarations
58 
59 /*!
60  * Control identifiers
61  */
62 
63 ////@begin control identifiers
64 #define SYMBOL_CTEXTALIGNPARAMSPANEL_STYLE wxTAB_TRAVERSAL
65 #define SYMBOL_CTEXTALIGNPARAMSPANEL_TITLE _("Text Alignment Format Params Panel")
66 #define SYMBOL_CTEXTALIGNPARAMSPANEL_IDNAME ID_CTEXTALIGNPARAMSPANEL
67 #define SYMBOL_CTEXTALIGNPARAMSPANEL_SIZE wxSize(400, 300)
68 #define SYMBOL_CTEXTALIGNPARAMSPANEL_POSITION wxDefaultPosition
69 ////@end control identifiers
70 
72 
73 /*!
74  * CTextAlignParamsPanel class declaration
75  */
76 
78 {
79  DECLARE_DYNAMIC_CLASS( CTextAlignParamsPanel )
80  DECLARE_EVENT_TABLE()
81 
82 public:
85 
86  bool Create( wxWindow* parent, wxWindowID id = SYMBOL_CTEXTALIGNPARAMSPANEL_IDNAME, const wxPoint& pos = SYMBOL_CTEXTALIGNPARAMSPANEL_POSITION, const wxSize& size = SYMBOL_CTEXTALIGNPARAMSPANEL_SIZE, long style = SYMBOL_CTEXTALIGNPARAMSPANEL_STYLE );
87 
89 
90  void Init();
91 
92  void CreateControls();
93 
94  virtual bool TransferDataToWindow();
95 
96  virtual bool TransferDataFromWindow();
97 
98 ////@begin CTextAlignParamsPanel event handler declarations
99 
100 ////@end CTextAlignParamsPanel event handler declarations
101 
102 ////@begin CTextAlignParamsPanel member function declarations
103 
104  /// Data access
105  CTextAlignParams& GetData() { return m_data; }
106  const CTextAlignParams& GetData() const { return m_data; }
107  void SetData(const CTextAlignParams& 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 CTextAlignParamsPanel member function declarations
115 
116  static bool ShowToolTips();
117 
118 ////@begin CTextAlignParamsPanel member variables
119  /// The data edited by this window
121  /// Control identifiers
122  enum {
123  ID_CTEXTALIGNPARAMSPANEL = 10077,
124  ID_TEXTCTRL14 = 10078,
125  ID_TEXTCTRL15 = 10079,
126  ID_TEXTCTRL16 = 10080,
127  ID_TEXTCTRL17 = 10081,
128  ID_TEXTCTRL18 = 10082,
129  ID_CHOICE7 = 10083
130  };
131 ////@end CTextAlignParamsPanel member variables
132 };
133 
135 
136 #endif // GUI_WIDGETS___LOADERS___TEXT_ALIGN_LOAD_PAGE__HPP
#define ID_TEXTCTRL14
CTextAlignParams m_data
@begin CTextAlignParamsPanel member variables
const CTextAlignParams & GetData() const
CTextAlignParams & GetData()
Data access.
void SetData(const CTextAlignParams &data)
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_CTEXTALIGNPARAMSPANEL_POSITION
#define SYMBOL_CTEXTALIGNPARAMSPANEL_SIZE
#define SYMBOL_CTEXTALIGNPARAMSPANEL_IDNAME
#define SYMBOL_CTEXTALIGNPARAMSPANEL_STYLE
#define ID_TEXTCTRL16
#define ID_TEXTCTRL15
#define ID_TEXTCTRL17
#define ID_TEXTCTRL18
Modified on Fri May 24 14:56:00 2024 by modify_doxy.py rev. 669887