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

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

76

wxWindowID

id

,

const

wxPoint& pos,

const

wxSize&

size

,

long

style )

95 

CQualListItemPanel::Create( parent,

id

, pos,

size

, style );

100

GetSizer()->SetSizeHints(

this

);

144

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

145

itemCQualListItemPanel1->SetSizer(itemBoxSizer2);

148

itemBoxSizer2->Add(

m_LabelSizer

, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

150

wxStaticText* itemStaticText4 =

new

wxStaticText( itemCQualListItemPanel1, wxID_STATIC,

_

(

"AA"

), wxDefaultPosition, wxSize(40, -1), 0 );

151  m_LabelSizer

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

153

wxStaticText* itemStaticText5 =

new

wxStaticText( itemCQualListItemPanel1, wxID_STATIC,

_

(

"Amino Acid"

), wxDefaultPosition, wxSize(100, -1), 0 );

154  m_LabelSizer

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

156

wxStaticText* itemStaticText6 =

new

wxStaticText( itemCQualListItemPanel1, wxID_STATIC, wxEmptyString, wxDefaultPosition, wxSize(30, -1), 0 );

157  m_LabelSizer

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

160

itemBoxSizer2->Add(

m_ScrolledWindow

, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

162  m_Sizer

=

new

wxFlexGridSizer(0, 2, 0, 0);

180  m_Sizer

->Add(

row

, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 0);

181  row

->TransferDataToWindow();

184  wxT

(

"Delete"

),

wxT

(

""

), wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE );

185  m_Sizer

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

209  bool

need_last_blank =

true

;

211

wxSizerItemList& itemList =

m_Sizer

->GetChildren();

212

wxSizerItemList::iterator ctrl_it = itemList.begin();

216  for

(CCdregion::TCode_break::iterator x = cds.

SetCode_break

().begin();

220  while

(transl_except ==

NULL

&& ctrl_it != itemList.end()) {

226  if

(transl_except ==

NULL

) {

237

need_last_blank =

false

;

239

need_last_blank =

true

;

243  if

(need_last_blank) {

246  while

(transl_except ==

NULL

&& ctrl_it != itemList.end()) {

252  if

(transl_except ==

NULL

) {

263  while

(itemList.size() > ctrl_pos) {

264  m_Sizer

->GetItem(ctrl_pos)->DeleteWindows();

265  m_Sizer

->Remove(

static_cast<int>

(ctrl_pos));

268  int

win_height, win_width;

278  int

display_rows = 12;

284  if

(!wxPanel::TransferDataToWindow())

293  if

(!wxPanel::TransferDataFromWindow()) {

299

wxSizerItemList::iterator node =

m_Sizer

->GetChildren().begin();

300  while

(node !=

m_Sizer

->GetChildren().end()) {

303  row

->TransferDataFromWindow();

316

cds.ResetCode_break();

319  for

(CCdregion::TCode_break::iterator x = edit_cds.

SetCode_break

().begin();

324

code_break->

Assign

(**x);

325

cds.SetCode_break().push_back(code_break);

339

wxSizerItemList& itemList =

m_Sizer

->GetChildren();

340  auto

num_items = itemList.size();

341  if

(num_items > 1 && wnd == (itemList[num_items - 2])->GetWindow()) {

390  for

(wxSizerItemList::iterator it = itemList.begin(); it != itemList.end(); ++it) {

391

wxWindow* child = (**it).GetWindow();

392  if

(child && child == wnd)

408

wxWindow* wnd = (wxWindow*)event.GetEventObject();

414

wxSizerItemList& itemList =

m_Sizer

->GetChildren();

420

CCdregion::TCode_break::iterator x = edit_cds.

SetCode_break

().begin();

static CRef< CScope > m_Scope

static bool s_IsEmpty(CRef< CCode_break > code_break)

~CCDSExceptionPanel()

Destructor.

wxScrolledWindow * m_ScrolledWindow

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

virtual bool TransferDataFromWindow()

objects::CScope * m_Scope

void Init()

Initialises member variables.

static bool ShowToolTips()

Should we show tooltips?

wxBoxSizer * m_LabelSizer

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

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

Creation.

CCDSExceptionPanel()

Constructors.

CRef< objects::CSeq_feat > m_EditedFeat

wxFlexGridSizer * m_Sizer

int x_FindRow(wxWindow *wnd, wxSizerItemList &itemList)

void CreateControls()

Creates the controls and sizers.

virtual void OnChildChange(wxWindow *wnd)

void x_AddRow(CRef< objects::CCode_break > code_break)

void SetExceptions(objects::CCdregion &cds)

virtual bool TransferDataToWindow()

void OnDelete(wxHyperlinkEvent &event)

virtual void x_AdjustForControl(CQualListItemPanel *panel, wxHyperlinkCtrl *itemHyperlinkCtrl)

ESubtype GetSubtype(void) const

namespace ncbi::objects::

void SetCodeBreak(CRef< objects::CCode_break > code_break)

virtual bool TransferDataToWindow()

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

Set object to copy of another one.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

E_Choice Which(void) const

Which variant is currently selected.

const TLoc & GetLoc(void) const

Get the Loc member data.

void ResetCode_break(void)

Reset Code_break data member.

const TData & GetData(void) const

Get the Data member data.

TCode_break & SetCode_break(void)

Assign a value to Code_break data member.

bool IsSetAa(void) const

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

const TAa & GetAa(void) const

Get the Aa member data.

bool IsSetLoc(void) const

location of exception Check if a value has been assigned to Loc data member.

bool IsSetCode_break(void) const

individual exceptions Check if a value has been assigned to Code_break data member.

@ e_not_set

No variant selected.

E_Choice Which(void) const

Which variant is currently selected.

@ e_not_set

No variant selected.

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

#define row(bind, expected)


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