A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/submitblockpanel_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/widgets/edit/submitblockpanel.cpp Source File

41 #include <wx/choice.h> 77

: m_SubBlock(submit_block), m_CreateMode(create_submit_block)

91 

wxPanel::Create( parent,

id

, pos,

size

, style );

96

GetSizer()->SetSizeHints(

this

);

140

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

141

itemPanel1->SetSizer(itemBoxSizer2);

144

itemBoxSizer2->AddSpacer(10);

147

wxStaticText* itemStaticText3 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"When should this submission be released to the public?"

), wxDefaultPosition, wxDefaultSize, 0 );

148

itemBoxSizer2->Add(itemStaticText3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

150

wxBoxSizer* itemBoxSizer4 =

new

wxBoxSizer(wxVERTICAL);

151

itemBoxSizer2->Add(itemBoxSizer4, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

157  m_HUP

=

new

wxRadioButton( itemPanel1,

ID_RBTN_SUBPNL2

,

_

(

"Release on specified date:"

), wxDefaultPosition, wxDefaultSize, 0 );

158  m_HUP

->SetValue(

false

);

159

itemBoxSizer4->Add(

m_HUP

, 0, wxALIGN_LEFT|wxALL, 5);

163

itemBoxSizer2->Add(

m_Reldate

, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 0);

165

wxStaticText* itemStaticText8 =

new

wxStaticText( 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 );

167

itemStaticText8->Wrap(350);

168

itemBoxSizer2->Add(itemStaticText8, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

170

wxStaticText* itemStaticText9 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Submission title (Recommended)"

), wxDefaultPosition, wxDefaultSize, 0 );

171

itemBoxSizer2->Add(itemStaticText9, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

173  m_Title

=

new

wxTextCtrl( itemPanel1,

ID_TEXTCTRL10

, wxEmptyString, wxDefaultPosition, wxSize(360, -1), wxTE_MULTILINE );

174

itemBoxSizer2->Add(

m_Title

, 0, wxALIGN_CENTER_HORIZONTAL |wxALL, 5);

177

wxStaticText* itemStaticText10 =

new

wxStaticText(itemPanel1, wxID_STATIC,

_

(

"Submission Date"

), wxDefaultPosition, wxDefaultSize, 0);

178

itemBoxSizer2->Add(itemStaticText10, 0, wxALIGN_CENTER_HORIZONTAL | wxTOP, 5);

183

itemBoxSizer2->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