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

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

80  Create

(parent,

id

, caption, pos,

size

, style);

88 bool CncRNASubPanel::Create

( wxWindow* parent, wxWindowID

id

,

const

wxString& caption,

const

wxPoint& pos,

const

wxSize&

size

,

long

style )

91 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

92

wxPanel::Create( parent,

id

, pos,

size

, style );

97

GetSizer()->SetSizeHints(

this

);

139

wxFlexGridSizer* itemFlexGridSizer2 =

new

wxFlexGridSizer(0, 2, 0, 0);

140

itemPanel1->SetSizer(itemFlexGridSizer2);

142

wxStaticText* itemStaticText3 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Class"

), wxDefaultPosition, wxDefaultSize, 0 );

143

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

145

wxBoxSizer* itemBoxSizer4 =

new

wxBoxSizer(wxHORIZONTAL);

146

itemFlexGridSizer2->Add(itemBoxSizer4, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL|

wxFIXED_MINSIZE

, 5);

148

wxArrayString m_ClassCtrlStrings;

149  m_ClassCtrl

=

new

wxChoice( itemPanel1,

ID_CHOICE5

, wxDefaultPosition, wxDefaultSize, m_ClassCtrlStrings, 0 );

150

itemBoxSizer4->Add(

m_ClassCtrl

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

156

wxStaticText* itemStaticText7 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Product"

), wxDefaultPosition, wxDefaultSize, 0 );

157

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

160

itemFlexGridSizer2->Add(

m_ProductCtrl

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

165  ITERATE

(vector<string>, it, class_vals) {

174  if

(!wxPanel::TransferDataToWindow()) {

178  if

(

m_Gen

->IsSetClass()) {

179  bool

need_other =

false

;

180  bool

extra_val =

false

;

203  if

(

m_Gen

->IsSetProduct()) {

214  if

(!wxPanel::TransferDataFromWindow()) {

226  m_Gen

->ResetClass();

228  m_Gen

->SetClass(ncrnaclass);

233  m_Gen

->ResetProduct();

235  m_Gen

->SetProduct(product);

User-defined methods of the data storage class.

static vector< string > GetncRNAClassList()

~CncRNASubPanel()

Destructor.

void OnChoice5Selected(wxCommandEvent &event)

wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CHOICE5

void CreateControls()

Creates the controls and sizers.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

bool Create(wxWindow *parent, wxWindowID id=ID_CNCRNASUBPANEL, const wxString &caption=_("ncRNA SubPanel"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)

Creation.

wxTextCtrl * m_ProductCtrl

CRef< objects::CRNA_gen > m_Gen

virtual bool TransferDataToWindow()

void Init()

Initialises member variables.

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

virtual bool TransferDataFromWindow()

wxTextCtrl * m_OtherClass

static bool ShowToolTips()

Should we show tooltips?

CncRNASubPanel()

Constructors.

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#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 bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)

Case-insensitive equality of a substring with another string.

static bool Equal(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)

Test for equality of a substring with another 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