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

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

40 #include <wx/stattext.h> 97 

CSrcModEditPanel::Create( parent,

id

, pos,

size

, style );

102

GetSizer()->SetSizeHints(

this

);

144

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxHORIZONTAL);

145

itemCSrcModEditPanel1->SetSizer(itemBoxSizer2);

147

wxStaticText* itemStaticText3 =

new

wxStaticText( itemCSrcModEditPanel1, wxID_STATIC,

_

(

"Inst"

), wxDefaultPosition, wxDefaultSize, 0 );

148

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

150  m_Inst

=

new

wxTextCtrl( itemCSrcModEditPanel1,

ID_VOUCHER_INST

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

151

itemBoxSizer2->Add(

m_Inst

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);

153

wxStaticText* itemStaticText5 =

new

wxStaticText( itemCSrcModEditPanel1, wxID_STATIC,

_

(

"Coll"

), wxDefaultPosition, wxDefaultSize, 0 );

154

itemBoxSizer2->Add(itemStaticText5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);

156  m_Coll

=

new

wxTextCtrl( itemCSrcModEditPanel1,

ID_VOUCHER_COLL

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

157

itemBoxSizer2->Add(

m_Coll

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);

159

wxStaticText* itemStaticText7 =

new

wxStaticText( itemCSrcModEditPanel1, wxID_STATIC,

_

(

"SpecID/Text"

), wxDefaultPosition, wxDefaultSize, 0 );

160

itemBoxSizer2->Add(itemStaticText7, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);

162  m_ID

=

new

wxTextCtrl( itemCSrcModEditPanel1,

ID_VOUCHER_TEXT

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

163

itemBoxSizer2->Add(

m_ID

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);

216  return

inst +

":"

+ id;

218  return

inst +

":"

+ coll +

":"

+ id;

230  if

(pos == string::npos) {

233

inst =

val

.substr(0, pos);

234  string

remainder =

val

.substr(pos + 1);

236  if

(pos == string::npos) {

239

coll = remainder.substr(0, pos);

240  id

= remainder.substr(pos + 1);

void OnVoucherTextTextUpdated(wxCommandEvent &event)

wxEVT_COMMAND_TEXT_UPDATED event handler for ID_VOUCHER_TEXT

void CreateControls()

Creates the controls and sizers.

virtual void SetValue(const string &val)

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

void OnVoucherCollTextUpdated(wxCommandEvent &event)

wxEVT_COMMAND_TEXT_UPDATED event handler for ID_VOUCHER_COLL

~CVoucherPanel()

Destructor.

virtual string GetValue()

static bool ShowToolTips()

Should we show tooltips?

virtual bool IsWellFormatted(const string &val)

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

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

Creation.

void OnVoucherInstTextUpdated(wxCommandEvent &event)

wxEVT_COMMAND_TEXT_UPDATED event handler for ID_VOUCHER_INST

CVoucherPanel()

Constructors.

void Init()

Initialises member variables.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)

Check if a string is blank (has no text).

static SIZE_TYPE Find(const CTempString str, const CTempString pattern, ECase use_case=eCase, EDirection direction=eForwardSearch, SIZE_TYPE occurrence=0)

Find the pattern in the string.

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

wxString ToWxString(const string &s)

string ToStdString(const wxString &s)


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