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

Go to the SVN repository for this file.

1 #ifndef GUI_FRAMEWORK___APP_OPTIONS_DLG__HPP
2 #define GUI_FRAMEWORK___APP_OPTIONS_DLG__HPP
3 
4 /* $Id: app_options_dlg.hpp 25477 2012-03-27 14:53:29Z kuznets $
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 /** @addtogroup GUI_FRAMEWORK
36 *
37 * @{
38 */
39 
40 #include <corelib/ncbiobj.hpp>
41 
42 #include <gui/gui_export.h>
43 
45 
46 ////@begin includes
47 #include "wx/notebook.h"
48 #include "wx/statline.h"
49 ////@end includes
50 
51 ////@begin forward declarations
52 ////@end forward declarations
53 
55 
56 ////@begin control identifiers
57 #define SYMBOL_CAPPOPTIONSDLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
58 #define SYMBOL_CAPPOPTIONSDLG_TITLE wxT("App Options")
59 #define SYMBOL_CAPPOPTIONSDLG_IDNAME ID_CAPPOPTIONSDLG
60 #define SYMBOL_CAPPOPTIONSDLG_SIZE wxSize(400, 300)
61 #define SYMBOL_CAPPOPTIONSDLG_POSITION wxDefaultPosition
62 ////@end control identifiers
63 
65 {
66  DECLARE_DYNAMIC_CLASS( CAppOptionsDlg )
67  DECLARE_EVENT_TABLE()
68 
69 public:
71  CAppOptionsDlg( wxWindow* parent,
72  wxWindowID id = SYMBOL_CAPPOPTIONSDLG_IDNAME,
73  const wxString& caption = SYMBOL_CAPPOPTIONSDLG_TITLE,
74  const wxPoint& pos = SYMBOL_CAPPOPTIONSDLG_POSITION,
75  const wxSize& size = SYMBOL_CAPPOPTIONSDLG_SIZE,
76  long style = SYMBOL_CAPPOPTIONSDLG_STYLE );
77 
78  bool Create( wxWindow* parent,
79  wxWindowID id = SYMBOL_CAPPOPTIONSDLG_IDNAME,
80  const wxString& caption = SYMBOL_CAPPOPTIONSDLG_TITLE,
81  const wxPoint& pos = SYMBOL_CAPPOPTIONSDLG_POSITION,
82  const wxSize& size = SYMBOL_CAPPOPTIONSDLG_SIZE,
83  long style = SYMBOL_CAPPOPTIONSDLG_STYLE );
84 
85  ~CAppOptionsDlg();
86 
87  void Init();
88 
89  void CreateControls();
90 
91 ////@begin CAppOptionsDlg event handler declarations
92 
93 ////@end CAppOptionsDlg event handler declarations
94 
95 ////@begin CAppOptionsDlg member function declarations
96 
97  wxBitmap GetBitmapResource( const wxString& name );
98 
99  wxIcon GetIconResource( const wxString& name );
100 ////@end CAppOptionsDlg member function declarations
101 
102  static bool ShowToolTips();
103 
104 ////@begin CAppOptionsDlg member variables
105  enum {
106  ID_CAPPOPTIONSDLG = 10002,
107  ID_NOTEBOOK1 = 10003
108  };
109 ////@end CAppOptionsDlg member variables
110 };
111 
113 
114 /* @} */
115 
116 #endif // GUI_FRAMEWORK___APP_OPTIONS_DLG__HPP
CDialog.
Definition: dialog.hpp:47
static void Init(void)
Definition: cursor6.c:76
#define ID_NOTEBOOK1
Definition: gl_demo_dlg.hpp:40
#define SYMBOL_CAPPOPTIONSDLG_SIZE
#define SYMBOL_CAPPOPTIONSDLG_POSITION
#define SYMBOL_CAPPOPTIONSDLG_IDNAME
#define SYMBOL_CAPPOPTIONSDLG_TITLE
#define SYMBOL_CAPPOPTIONSDLG_STYLE
#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_GUIFRAMEWORK_EXPORT
Definition: gui_export.h:509
Defines to provide correct exporting from DLLs in Windows.
const struct ncbi::grid::netcache::search::fields::SIZE size
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
Modified on Mon Jun 24 05:25:57 2024 by modify_doxy.py rev. 669887