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/submitter__panel__depr_8cpp_source.html below:

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

42 #include <wx/textctrl.h> 43 #include <wx/choice.h> 44 #include <wx/button.h> 91 

wxPanel::Create( parent,

id

, pos,

size

, style );

96

GetSizer()->SetSizeHints(

this

);

143

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

144

itemPanel1->SetSizer(itemBoxSizer2);

146

wxFlexGridSizer* itemFlexGridSizer1 =

new

wxFlexGridSizer(0, 2, 0, 0);

147

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

149

itemFlexGridSizer1->Add(5, 5, 0, wxALIGN_CENTER_HORIZONTAL | wxALIGN_CENTER_VERTICAL | wxALL, 5);

151

wxFlexGridSizer* itemFlexGridSizer2 =

new

wxFlexGridSizer(2, 4, 0, 0);

152

itemFlexGridSizer1->Add(itemFlexGridSizer2, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

154

wxStaticText* itemStaticText4 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"First Name"

), wxDefaultPosition, wxDefaultSize, 0 );

155

itemFlexGridSizer2->Add(itemStaticText4, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

157

wxStaticText* itemStaticText5 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"M.I."

), wxDefaultPosition, wxDefaultSize, 0 );

158

itemFlexGridSizer2->Add(itemStaticText5, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

160

wxStaticText* itemStaticText6 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Last Name"

), wxDefaultPosition, wxDefaultSize, 0 );

161

itemFlexGridSizer2->Add(itemStaticText6, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

163

wxStaticText* itemStaticText7 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Suffix"

), wxDefaultPosition, wxDefaultSize, 0 );

164

itemFlexGridSizer2->Add(itemStaticText7, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

167

itemFlexGridSizer2->Add(

m_First

, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 0);

169  m_MI

=

new

wxTextCtrl( itemPanel1,

ID_TXT_SUBMITTER2

, wxEmptyString, wxDefaultPosition, wxSize(50, -1), 0 );

170

itemFlexGridSizer2->Add(

m_MI

, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 0);

173

itemFlexGridSizer2->Add(

m_Last

, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 0);

175

wxArrayString m_SuffixStrings;

176

m_SuffixStrings.Add(wxEmptyString);

177

m_SuffixStrings.Add(

_

(

"Jr."

));

178

m_SuffixStrings.Add(

_

(

"Sr."

));

179

m_SuffixStrings.Add(

_

(

"II"

));

180

m_SuffixStrings.Add(

_

(

"III"

));

181

m_SuffixStrings.Add(

_

(

"IV"

));

182

m_SuffixStrings.Add(

_

(

"V"

));

183

m_SuffixStrings.Add(

_

(

"VI"

));

185

itemFlexGridSizer2->Add(

m_Suffix

, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 0);

187

wxStaticText* itemStaticText8 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Email (primary)"

), wxDefaultPosition, wxDefaultSize, 0 );

188

itemFlexGridSizer1->Add(itemStaticText8, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);

191

itemFlexGridSizer1->Add(

m_EmailPrimary

, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);

193

wxStaticText* itemStaticText9 =

new

wxStaticText(itemPanel1, wxID_STATIC,

_

(

"Email (secondary)"

), wxDefaultPosition, wxDefaultSize, 0);

194

itemFlexGridSizer1->Add(itemStaticText9, 0, wxALIGN_RIGHT | wxALIGN_CENTER_VERTICAL | wxALL, 5);

197

itemFlexGridSizer1->Add(

m_EmailSecondary

, 0, wxGROW | wxALIGN_CENTER_VERTICAL | wxALL, 5);

205  if

(!wxPanel::TransferDataToWindow()) {

211

&&

m_Contact

->GetContact().GetName().IsName()) {

224  m_MI

->SetValue(middle_init);

229

vector<string> emails;

231  if

(!emails.empty()) {

234  if

(emails.size() > 1) {

244  if

(!wxPanel::TransferDataFromWindow()) {

249

macro::CMacroFunction_AuthorFix::s_BuildName(

261  if

(!email.empty()) {

266  if

(!email.empty()) {

@Name_std.hpp User-defined methods of the data storage class.

static string s_ParseInitialsFromName(const objects::CName_std &name)

~CSubmitterPanel_Depr()

Destructor.

static bool ShowToolTips()

Should we show tooltips?

CRef< objects::CContact_info > m_Contact

void Init()

Initialises member variables.

CSubmitterPanel_Depr()

Constructors.

virtual bool TransferDataToWindow()

void SetFocusOnFirstEmail()

virtual bool TransferDataFromWindow()

void CreateControls()

Creates the controls and sizers.

wxTextCtrl * m_EmailSecondary

wxTextCtrl * m_EmailPrimary

void SetFocusOnLastName()

void SetData(const objects::CContact_info &contact)

void SetFocusOnFirstName()

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

bool Create(wxWindow *parent, wxWindowID id=ID_CSubmitterPanel_Depr, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)

Creation.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static list< string > & Split(const CTempString str, const CTempString delim, list< string > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL)

Split a string using specified delimiters.

bool IsSetSuffix(void) const

Jr, Sr, III Check if a value has been assigned to Suffix data member.

bool IsSetInitials(void) const

first + middle initials Check if a value has been assigned to Initials data member.

bool IsSetLast(void) const

Check if a value has been assigned to Last data member.

const TSuffix & GetSuffix(void) const

Get the Suffix member data.

const TFirst & GetFirst(void) const

Get the First member data.

const TLast & GetLast(void) const

Get the Last member data.

bool IsSetFirst(void) const

Check if a value has been assigned to First data member.

const struct ncbi::grid::netcache::search::fields::SIZE size

wxString ToWxString(const string &s)

string ToStdString(const wxString &s)

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