: m_SubBlock(submit_block), m_CreateMode(create_submit_block)
91wxPanel::Create( parent,
id, pos,
size, style );
96GetSizer()->SetSizeHints(
this);
140wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
141itemPanel1->SetSizer(itemBoxSizer2);
144itemBoxSizer2->AddSpacer(10);
147wxStaticText* itemStaticText3 =
newwxStaticText( itemPanel1, wxID_STATIC,
_(
"When should this submission be released to the public?"), wxDefaultPosition, wxDefaultSize, 0 );
148itemBoxSizer2->Add(itemStaticText3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
150wxBoxSizer* itemBoxSizer4 =
newwxBoxSizer(wxVERTICAL);
151itemBoxSizer2->Add(itemBoxSizer4, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
157 m_HUP=
newwxRadioButton( itemPanel1,
ID_RBTN_SUBPNL2,
_(
"Release on specified date:"), wxDefaultPosition, wxDefaultSize, 0 );
158 m_HUP->SetValue(
false);
159itemBoxSizer4->Add(
m_HUP, 0, wxALIGN_LEFT|wxALL, 5);
163itemBoxSizer2->Add(
m_Reldate, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 0);
165wxStaticText* itemStaticText8 =
newwxStaticText( itemPanel1, wxID_STATIC,
_(
"NOTE: Please inform GenBank when the accession number or any portion of the sequence is published, " 166 "as published data must be released."), wxDefaultPosition, wxDefaultSize, 0 );
167itemStaticText8->Wrap(350);
168itemBoxSizer2->Add(itemStaticText8, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
170wxStaticText* itemStaticText9 =
newwxStaticText( itemPanel1, wxID_STATIC,
_(
"Submission title (Recommended)"), wxDefaultPosition, wxDefaultSize, 0 );
171itemBoxSizer2->Add(itemStaticText9, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
173 m_Title=
newwxTextCtrl( itemPanel1,
ID_TEXTCTRL10, wxEmptyString, wxDefaultPosition, wxSize(360, -1), wxTE_MULTILINE );
174itemBoxSizer2->Add(
m_Title, 0, wxALIGN_CENTER_HORIZONTAL |wxALL, 5);
177wxStaticText* itemStaticText10 =
newwxStaticText(itemPanel1, wxID_STATIC,
_(
"Submission Date"), wxDefaultPosition, wxDefaultSize, 0);
178itemBoxSizer2->Add(itemStaticText10, 0, wxALIGN_CENTER_HORIZONTAL | wxTOP, 5);
183itemBoxSizer2->Add(
m_Submitdate, 0, wxALIGN_CENTER_HORIZONTAL | wxALL, 0);
192 if(!wxPanel::TransferDataToWindow()) {
198 m_HUP->SetValue (
true);
202 m_HUP->SetValue (
false);
209 m_Title->SetValue(wxEmptyString);
220 if(!wxPanel::TransferDataFromWindow()) {
223 if(
m_HUP->GetValue()) {
User-defined methods of the data storage class.
bool TransferDataFromWindow()
bool TransferDataToWindow()
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
virtual bool TransferDataFromWindow()
CSubmitBlockPanel()
Constructors.
void Init()
Initialises member variables.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
wxRadioButton * m_ImmediateRelease
~CSubmitBlockPanel()
Destructor.
static bool ShowToolTips()
Should we show tooltips?
bool Create(wxWindow *parent, wxWindowID id=10077, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 400), long style=wxTAB_TRAVERSAL)
Creation.
void OnImmediateReleaseSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_RBTN_SUBPNL1
CFlexibleDatePanel * m_Submitdate
void CreateControls()
Creates the controls and sizers.
CRef< objects::CSubmit_block > m_SubBlock
void SetData(const objects::CSubmit_block &submit_block)
CFlexibleDatePanel * m_Reldate
virtual bool TransferDataToWindow()
void OnHUPSelected(wxCommandEvent &event)
wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_RBTN_SUBPNL2
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
void SetDate(TDate &value)
Assign a value to Date data member.
const struct ncbi::grid::netcache::search::fields::SIZE size
string ToAsciiStdString(const wxString &input)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4