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

Go to the SVN repository for this file.

1 #ifndef GUI_WIDGETS___LOADERS___JOB_RESULTS_DLG__HPP
2 #define GUI_WIDGETS___LOADERS___JOB_RESULTS_DLG__HPP
3 
4 /* $Id: job_results_dlg.hpp 44093 2019-10-24 20:19:01Z filippov $
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 /*!
37  * Includes
38  */
39 
40 #include <corelib/ncbistd.hpp>
41 #include <gui/gui_export.h>
42 
43 #include <wx/dialog.h>
44 
45 ////@begin includes
46 #include "wx/html/htmlwin.h"
47 ////@end includes
48 
49 /*!
50  * Forward declarations
51  */
52 
53 ////@begin forward declarations
54 ////@end forward declarations
55 
56 /*!
57  * Control identifiers
58  */
59 
60 ////@begin control identifiers
61 #define ID_CJOBRESULTSDLG 10049
62 #define ID_HTMLWINDOW1 10051
63 #define ID_JOB_RESULTS_DLG_EXPORT 10052
64 #define SYMBOL_CJOBRESULTSDLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
65 #define SYMBOL_CJOBRESULTSDLG_TITLE _("Job Results")
66 #define SYMBOL_CJOBRESULTSDLG_IDNAME ID_CJOBRESULTSDLG
67 #define SYMBOL_CJOBRESULTSDLG_SIZE wxSize(400, 300)
68 #define SYMBOL_CJOBRESULTSDLG_POSITION wxDefaultPosition
69 ////@end control identifiers
70 
72 
73 /*!
74  * CJobResultsDlg class declaration
75  */
76 
78 {
79  DECLARE_DYNAMIC_CLASS( CJobResultsDlg )
80  DECLARE_EVENT_TABLE()
81 
82 public:
84  CJobResultsDlg( wxWindow* parent, wxWindowID id = SYMBOL_CJOBRESULTSDLG_IDNAME, const wxString& caption = SYMBOL_CJOBRESULTSDLG_TITLE, const wxPoint& pos = SYMBOL_CJOBRESULTSDLG_POSITION, const wxSize& size = SYMBOL_CJOBRESULTSDLG_SIZE, long style = SYMBOL_CJOBRESULTSDLG_STYLE );
85 
86  bool Create( wxWindow* parent, wxWindowID id = SYMBOL_CJOBRESULTSDLG_IDNAME, const wxString& caption = SYMBOL_CJOBRESULTSDLG_TITLE, const wxPoint& pos = SYMBOL_CJOBRESULTSDLG_POSITION, const wxSize& size = SYMBOL_CJOBRESULTSDLG_SIZE, long style = SYMBOL_CJOBRESULTSDLG_STYLE );
87 
88  ~CJobResultsDlg();
89 
90  void Init();
91 
92  void CreateControls();
93 
94 ////@begin CJobResultsDlg event handler declarations
95  void OnExportClick(wxCommandEvent& event);
96 ////@end CJobResultsDlg event handler declarations
97 
98 ////@begin CJobResultsDlg member function declarations
99 
100  wxString GetHTML() const { return m_HTML ; }
101  void SetHTML(wxString value) { m_HTML = value ; }
102 
103  void SetWorkDir(const wxString& workDir) { m_WorkDir = workDir; }
104  /// Retrieves bitmap resources
105  wxBitmap GetBitmapResource( const wxString& name );
106 
107  /// Retrieves icon resources
108  wxIcon GetIconResource( const wxString& name );
109 ////@end CJobResultsDlg member function declarations
110 
111  static bool ShowToolTips();
112 
113 ////@begin CJobResultsDlg member variables
114 private:
115  wxString m_HTML;
116  wxString m_WorkDir;
117 ////@end CJobResultsDlg member variables
118 };
119 
121 
122 #endif // GUI_WIDGETS___LOADERS___JOB_RESULTS_DLG__HPP
void SetHTML(wxString value)
void SetWorkDir(const wxString &workDir)
wxString GetHTML() const
Include a standard set of the NCBI C++ Toolkit most basic headers.
static void Init(void)
Definition: cursor6.c:76
#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.
#define SYMBOL_CJOBRESULTSDLG_STYLE
#define SYMBOL_CJOBRESULTSDLG_SIZE
#define SYMBOL_CJOBRESULTSDLG_TITLE
#define SYMBOL_CJOBRESULTSDLG_IDNAME
#define SYMBOL_CJOBRESULTSDLG_POSITION
const struct ncbi::grid::netcache::search::fields::SIZE size
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
Modified on Fri Sep 20 14:57:06 2024 by modify_doxy.py rev. 669887