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

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

50 #include <wx/bitmap.h> 52 #include <wx/stattext.h> 53 #include <wx/textctrl.h> 91

wxWindowID

id

,

const

wxPoint& pos,

const

wxSize&

size

,

long

style ) :

92

m_Object(0), m_ShowPages(show_pages)

111 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

112

wxPanel::Create( parent,

id

, pos,

size

, style );

117

GetSizer()->SetSizeHints(

this

);

168

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

169

itemPanel1->SetSizer(itemBoxSizer2);

172

itemBoxSizer2->Add(

m_GridSizer

, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

174

wxStaticText* itemStaticText4 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Publisher"

), wxDefaultPosition, wxDefaultSize, 0 );

175  m_GridSizer

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

180

wxStaticText* itemStaticText6 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Address"

), wxDefaultPosition, wxDefaultSize, 0 );

181  m_GridSizer

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

186

wxStaticText* itemStaticText8 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"City"

), wxDefaultPosition, wxDefaultSize, 0 );

187  m_GridSizer

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

192

wxStaticText* itemStaticText10 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"State/Province"

), wxDefaultPosition, wxDefaultSize, 0 );

193  m_GridSizer

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

198

wxStaticText* itemStaticText12 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Zip/Postal Code"

), wxDefaultPosition, wxDefaultSize, 0 );

199  m_GridSizer

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

204

wxStaticText* itemStaticText14 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Country"

), wxDefaultPosition, wxDefaultSize, 0 );

205  m_GridSizer

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

210

wxStaticText* itemStaticText16 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Phone (*)"

), wxDefaultPosition, wxDefaultSize, 0 );

211  m_GridSizer

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

216

wxStaticText* itemStaticText18 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Fax (*)"

), wxDefaultPosition, wxDefaultSize, 0 );

217  m_GridSizer

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

222

wxStaticText* itemStaticText20 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Internet Access"

), wxDefaultPosition, wxDefaultSize, 0 );

223  m_GridSizer

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

228

wxStaticText* itemStaticText22 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Publication Year"

), wxDefaultPosition, wxDefaultSize, 0 );

229  m_GridSizer

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

234

wxStaticText* itemStaticText24 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Copyright Year"

), wxDefaultPosition, wxDefaultSize, 0 );

235  m_GridSizer

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

240

wxStaticText* itemStaticText26 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"(*) Please include country code for non-U.S. phone numbers"

), wxDefaultPosition, wxDefaultSize, 0 );

241

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

248

wxStaticText* pages_label =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Pages"

), wxDefaultPosition, wxDefaultSize, 0 );

249  m_GridSizer

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

251

wxTextCtrl* pages_ctrl =

new

wxTextCtrl( itemPanel1,

ID_TEXTCTRL3

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

252  m_GridSizer

->Add(pages_ctrl, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);

267  if

(pub_affil.

IsStr

()) {

268  string

aff = pub_affil.

GetStr

();

292  if

(pub_affil.

IsStr

()) {

293  string

aff = pub_affil.

GetStr

();

297  if

(!wxPanel::TransferDataToWindow())

315  if

(!wxPanel::TransferDataFromWindow())

352

imprint.ResetPages();

360

imprint.SetPub(edited_imprint.

SetPub

());

User-defined methods of the data storage class.

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

wxTextCtrl * m_StreetCtrl

void PopulatePublisherFields(objects::CImprint &imprint)

wxTextCtrl * m_CpyYearCtrl

wxTextCtrl * m_CountryCtrl

~CPublisherPanel()

Destructor.

CPublisherPanel()

Constructors.

virtual bool TransferDataFromWindow()

wxTextCtrl * m_PubYearCtrl

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

virtual bool TransferDataToWindow()

static bool ShowToolTips()

Should we show tooltips?

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

Creation.

wxFlexGridSizer * m_GridSizer

CRef< CSerialObject > m_EditedImprint

void Init()

Initialises member variables.

void CreateControls()

Creates the controls and sizers.

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 SetAffil(const TAffil &value)

Assign a value to Affil data member.

const TCprt & GetCprt(void) const

Get the Cprt member data.

void SetPages(const TPages &value)

Assign a value to Pages data member.

void SetCprt(TCprt &value)

Assign a value to Cprt data member.

const TPages & GetPages(void) const

Get the Pages member data.

bool IsSetPub(void) const

publisher, required for book Check if a value has been assigned to Pub data member.

bool IsSetPhone(void) const

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

bool IsSetStreet(void) const

street address, not ANSI Check if a value has been assigned to Street data member.

const TStr & GetStr(void) const

Get the variant data.

bool IsSetCity(void) const

Author Affiliation, City Check if a value has been assigned to City data member.

void ResetDate(void)

Reset Date data member.

bool IsSetEmail(void) const

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

void ResetCprt(void)

Reset Cprt data member.

const TPub & GetPub(void) const

Get the Pub member data.

void SetPub(TPub &value)

Assign a value to Pub data member.

bool IsStr(void) const

Check if variant Str is selected.

void SetDate(TDate &value)

Assign a value to Date data member.

bool IsSetFax(void) const

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

bool IsSetDiv(void) const

Author Affiliation, Division Check if a value has been assigned to Div data member.

const TStd & GetStd(void) const

Get the variant data.

bool IsSetDate(void) const

date of publication Check if a value has been assigned to Date data member.

const TDate & GetDate(void) const

Get the Date member data.

bool IsSetCprt(void) const

copyright date, " " " Check if a value has been assigned to Cprt data member.

bool IsStd(void) const

Check if variant Std is selected.

bool IsSetPostal_code(void) const

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

bool IsSetCountry(void) const

Author Affiliation, Country Check if a value has been assigned to Country data member.

bool IsSetPages(void) const

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

bool IsSetAffil(void) const

Author Affiliation, Name Check if a value has been assigned to Affil data member.

TStd & SetStd(void)

Select the variant.

bool IsSetSub(void) const

Author Affiliation, County Sub Check if a value has been assigned to Sub data member.

bool IsSetYear(void) const

full year (including 1900) Check if a value has been assigned to Year data member.

bool IsStd(void) const

Check if variant Std is selected.

TYear GetYear(void) const

Get the Year member data.

const TStd & GetStd(void) const

Get the variant data.

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

#define ID_PUBLISHER_NAME

#define ID_PUBLISHER_PHONE

#define ID_PUBLISHER_STATE

#define ID_PUBLISHER_COUNTRY

#define ID_PUBLISHER_EMAIL

#define ID_PUBLISHER_CODE

#define ID_PUBLISHER_ADDRESS

#define ID_PUBLISHER_CITY


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