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

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

42 #include <wx/bitmap.h> 44 #include <wx/stattext.h> 45 #include <wx/textctrl.h> 46 #include "wx/datectrl.h" 87

wxWindowID

id

,

const

wxPoint& pos,

const

wxSize&

size

,

long

style ) :

106 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

107

wxPanel::Create( parent,

id

, pos,

size

, style );

112

GetSizer()->SetSizeHints(

this

);

151

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

152

itemPanel1->SetSizer(itemBoxSizer2);

154

wxFlexGridSizer* itemFlexGridSizer3 =

new

wxFlexGridSizer(0, 2, 0, 0);

155

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

157

wxStaticText* itemStaticText4 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Location"

), wxDefaultPosition, wxDefaultSize, 0 );

158

itemFlexGridSizer3->Add(itemStaticText4, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);

160

wxTextCtrl* itemTextCtrl5 =

new

wxTextCtrl( itemPanel1,

ID_LOCALE_NAME

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

161

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

163

wxStaticText* itemStaticText6 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Address"

), wxDefaultPosition, wxDefaultSize, 0 );

164

itemFlexGridSizer3->Add(itemStaticText6, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);

166

wxTextCtrl* itemTextCtrl7 =

new

wxTextCtrl( itemPanel1,

ID_LOCALE_ADDRESS

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

167

itemFlexGridSizer3->Add(itemTextCtrl7, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);

169

wxStaticText* itemStaticText8 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"City"

), wxDefaultPosition, wxDefaultSize, 0 );

170

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

172

wxTextCtrl* itemTextCtrl9 =

new

wxTextCtrl( itemPanel1,

ID_LOCALE_CITY

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

173

itemFlexGridSizer3->Add(itemTextCtrl9, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);

175

wxStaticText* itemStaticText10 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"State/Province"

), wxDefaultPosition, wxDefaultSize, 0 );

176

itemFlexGridSizer3->Add(itemStaticText10, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);

178

wxTextCtrl* itemTextCtrl11 =

new

wxTextCtrl( itemPanel1,

ID_LOCALE_STATE

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

179

itemFlexGridSizer3->Add(itemTextCtrl11, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);

181

wxStaticText* itemStaticText12 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Country"

), wxDefaultPosition, wxDefaultSize, 0 );

182

itemFlexGridSizer3->Add(itemStaticText12, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);

184

wxTextCtrl* itemTextCtrl13 =

new

wxTextCtrl( itemPanel1,

ID_LOCALE_COUNTRY

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

185

itemFlexGridSizer3->Add(itemTextCtrl13, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);

187

wxStaticText* itemStaticText14 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Proceedings Number \n(i.e., 4th Ann or IV)"

), wxDefaultPosition, wxDefaultSize, 0 );

188

itemFlexGridSizer3->Add(itemStaticText14, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);

190

wxTextCtrl* itemTextCtrl15 =

new

wxTextCtrl( itemPanel1,

ID_LOCALE_PROCNUM

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

191

itemFlexGridSizer3->Add(itemTextCtrl15, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);

193

wxStaticText* itemStaticText16 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Date of Meeting"

), wxDefaultPosition, wxDefaultSize, 0 );

194

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

216  if

(!wxPanel::TransferDataFromWindow()) {

226  if

(!wxPanel::TransferDataToWindow()) {

236  const CMeeting

& meeting =

dynamic_cast<const CMeeting

&

>

(*m_EditedMeeting);

User-defined methods of the data storage class.

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

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

static bool ShowToolTips()

Should we show tooltips?

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

CRef< objects::CMeeting > GetMeeting() const

CLocalePanel()

Constructors.

~CLocalePanel()

Destructor.

void CreateControls()

Creates the controls and sizers.

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

Creation.

virtual bool TransferDataFromWindow()

CRef< CSerialObject > m_EditedMeeting

void Init()

Initialises member variables.

virtual bool TransferDataToWindow()

Base class for all serializable objects.

virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)

Set object to copy of another one.

void Reset(void)

Reset reference object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

void SetPlace(TPlace &value)

Assign a value to Place data member.

void SetDate(TDate &value)

Assign a value to Date data member.

TStd & SetStd(void)

Select the variant.

#define ID_LOCALE_ADDRESS

#define ID_LOCALE_COUNTRY

#define ID_LOCALE_PROCNUM

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


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