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

NCBI C++ ToolKit: src/gui/packages/pkg_sequence_edit/append_mod_to_org_dlg.cpp Source File

42 #include <wx/button.h> 43 #include <wx/statbox.h> 76

wxWindowID

id

,

const

wxString& caption,

const

wxPoint& pos,

const

wxSize&

size

,

long

style )

80  Create

(parent,

id

, caption, pos,

size

, style);

87 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

88

wxDialog::Create( parent,

id

, caption, pos,

size

, style );

93

GetSizer()->SetSizeHints(

this

);

98

SetSize(wxSize(300, 300));

164

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

165

itemDialog1->SetSizer(itemBoxSizer2);

167

wxArrayString choice_strings;

168

choice_strings.Add(

_

(

"Strain"

));

169

choice_strings.Add(

_

(

"Isolate"

));

174

itemBoxSizer2->Add(

m_Choice

, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

177  m_CheckBox_sp

=

new

wxCheckBox( itemDialog1,

ID_CHECKBOX_SP

,

_

(

"Only append to sp. organisms"

), wxDefaultPosition, wxDefaultSize, 0 );

179

itemBoxSizer2->Add(

m_CheckBox_sp

, 0, wxALIGN_LEFT|wxALL, 5);

181  m_CheckBox_cf

=

new

wxCheckBox( itemDialog1,

ID_CHECKBOX_CF

,

_

(

"Only append to cf. organisms"

), wxDefaultPosition, wxDefaultSize, 0 );

183

itemBoxSizer2->Add(

m_CheckBox_cf

, 0, wxALIGN_LEFT|wxALL, 5);

189  m_CheckBox_nr

=

new

wxCheckBox( itemDialog1,

ID_CHECKBOX_NR

,

_

(

"Only append to nr. organisms"

), wxDefaultPosition, wxDefaultSize, 0 );

191

itemBoxSizer2->Add(

m_CheckBox_nr

, 0, wxALIGN_LEFT|wxALL, 5);

203

itemBoxSizer2->Add(

m_constraint

, 0, wxALIGN_LEFT|wxALL, 5);

205

wxBoxSizer* itemBoxSizer12 =

new

wxBoxSizer(wxHORIZONTAL);

206

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

208

wxButton* itemButton13 =

new

wxButton( itemDialog1, wxID_OK,

_

(

"Accept"

), wxDefaultPosition, wxDefaultSize, 0 );

209

itemBoxSizer12->Add(itemButton13, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

211

wxButton* itemButton14 =

new

wxButton( itemDialog1, wxID_CANCEL,

_

(

"Cancel"

), wxDefaultPosition, wxDefaultSize, 0 );

212

itemBoxSizer12->Add(itemButton14, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

257  bool

isOrgMod = e->second.is_org;

258  string

abbr = e->second.abbr;

259  int

subtype = e->second.subtype;

268  CAppendModToOrg

worker(isOrgMod, subtype, abbr, use_abbr, only_sp, only_cf, only_aff, only_nr, no_taxid,

false

, constraint);

278  if

(item.second.enabled)

291

item.second.field_type,

293

item.second.m_ncRNAClass,

294

item.second.matcher);

297  if

(item.second.enabled2)

305

item.second.field_type2,

306

item.second.subtype2,

307

item.second.m_ncRNAClass2,

308

item.second.matcher2);

324  if

(selection ==

"Genotype"

)

#define ID_CHECKBOX_NO_TAXID

CAppendModToOrgDlg()

Constructors.

void OnChoiceChanged(wxCommandEvent &event)

wxCheckBox * m_CheckBox_abbr

wxCheckBox * m_CheckBox_nr

CTripleConstraintPanel_CSourceFieldNamePanel_Wrapper * m_constraint

map< string, Tchoice_item > m_Types

~CAppendModToOrgDlg()

Destructor.

wxCheckBox * m_CheckBox_sp

CRef< CCmdComposite > GetCommand()

objects::CSeq_entry_Handle m_TopSeqEntry

void CreateControls()

Creates the controls and sizers.

static bool ShowToolTips()

Should we show tooltips?

bool Create(wxWindow *parent, wxWindowID id=12000, const wxString &caption=_("Append Mod To Org"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)

Creation.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

wxCheckBox * m_CheckBox_cf

void Init()

Initialises member variables.

wxCheckBox * m_CheckBox_no_taxid

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

CRef< CEditingActionConstraint > GetConstraint(pair< string, SFieldTypeAndMatcher > &item, int orgmod_subtype)

wxCheckBox * m_CheckBox_aff

CRef< CCmdComposite > GetCommand(objects::CSeq_entry_Handle tse)

pair< string, SFieldTypeAndMatcher > GetItem(CFieldNamePanel::EFieldType field_type)

container_type::iterator iterator

CRef< CEditingActionConstraint > CreateEditingActionConstraint(const string &field, CFieldNamePanel::EFieldType field_type, int subtype, const string &ncRNA_class, const string &const_field, CFieldNamePanel::EFieldType const_field_type, int const_subtype, string &const_ncRNA_class, CRef< CConstraintMatcher >constraint)

#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).

@ eSubtype_collection_date

DD-MMM-YYYY format.

@ eSubtype_nat_host

natural host of this specimen

@ eSubtype_specimen_voucher

@ eSubtype_culture_collection

@ eSubtype_forma_specialis

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