28 #ifndef _SUBMITBLOCKDLG_H_
29 #define _SUBMITBLOCKDLG_H_
45 #include <wx/dialog.h>
46 #include <wx/checkbox.h>
47 #include <wx/textctrl.h>
48 #include <wx/button.h>
55 #include "wx/notebook.h"
74 #define ID_SUBMITBLOCKDLG 10015
75 #define ID_SUBMITBLOCKDLGLISTBOOK 10016
76 #define ID_CLEAR_BTN 10107
77 #define ID_BUTTON15 10066
78 #define ID_BUTTON14 10065
79 #define ID_IMPORT_BTN 10099
80 #define ID_EXPORT_BTN 10100
81 #define SYMBOL_CSUBMITBLOCKDLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
82 #define SYMBOL_CSUBMITBLOCKDLG_TITLE _("Submission Information")
83 #define SYMBOL_CSUBMITBLOCKDLG_IDNAME ID_SUBMITBLOCKDLG
84 #define SYMBOL_CSUBMITBLOCKDLG_SIZE wxSize(400, 300)
85 #define SYMBOL_CSUBMITBLOCKDLG_POSITION wxDefaultPosition
88 #define ID_SUBMITBLOCKDLG_SAME_AUTHORS 10017
89 #define ID_SUBMITBLOCKDLG_SAME_AFFILS 10018
90 #define ID_COPY_SEQ_AUTH_TO_MAN_AUTH 10019
User-defined methods of the data storage class.
static string GetCitGenProblems(CRef< objects::CCit_gen > gen)
wxCheckBox * m_AuthorsSame
CRef< objects::CCit_gen > x_CreateCitGen()
string GetAlternateEmailAddress()
CUnpublishedPanel * m_UnpublishedPanel
CAuthorAffiliationPanel * m_AffilPanel
CRef< objects::CSubmit_block > GetSubmitBlock()
void OnNextBtnClick(wxCommandEvent &event)
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON14
static string GetBlockProblems(CRef< objects::CSubmit_block > block)
bool Create(wxWindow *parent, wxWindowID id=10015, const wxString &caption=_("Submission Information"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
void OnSeparateAuthorsClick(wxCommandEvent &event)
wxCheckBox * m_AffilsSame
CRef< objects::CSubmit_block > m_SubmitBlock
CRef< objects::CCit_gen > m_Gen
wxBoxSizer * m_SameAuthSizer
~CSubmitBlockDlg()
Destructor.
CRef< objects::CCit_gen > GetCitGen()
void OnCopySeqAuthToManAuthClick(wxCommandEvent &event)
CReleaseDatePanel * m_ReleaseDatePanel
void Init()
Initialises member variables.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
wxTextCtrl * m_AlternateEmail
void SetAlternateEmailAddress(string alt_email)
CAuthorNamesPanel * m_SequenceAuthorsPanel
void OnClearBtnClick(wxCommandEvent &event)
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_CLEAR_BTN
CSubmitBlockDlg()
Constructors.
void OnBackBtnClick(wxCommandEvent &event)
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_BUTTON15
wxButton * m_CopySeqAuthToManAuth
void OnExportBtnClick(wxCommandEvent &event)
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_EXPORT_BTN
void SetPageForError(string errors)
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
CAuthorNamesPanel * m_ManAuthorsPanel
void UnselectReleaseDateChoice()
void CreateControls()
Creates the controls and sizers.
CContactPanel * m_ContactPanel
void OnSubmitblockdlgPageChanged(wxNotebookEvent &event)
wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED event handler for ID_SUBMITBLOCKDLGLISTBOOK
static bool ShowToolTips()
Should we show tooltips?
void OnImportBtnClick(wxCommandEvent &event)
wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_IMPORT_BTN
CRef< objects::CSubmit_block > x_CreateBlock()
IWorkbench is the central interface in the application framework.
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::SIZE size
#define SYMBOL_CSUBMITBLOCKDLG_TITLE
#define SYMBOL_CSUBMITBLOCKDLG_SIZE
#define SYMBOL_CSUBMITBLOCKDLG_STYLE
#define SYMBOL_CSUBMITBLOCKDLG_IDNAME
#define SYMBOL_CSUBMITBLOCKDLG_POSITION