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

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

43 #include <wx/stattext.h> 44 #include <wx/checklst.h> 45 #include <wx/radiobox.h> 46 #include <wx/button.h> 83

wxWindowID

id

,

const

wxString& caption,

const

wxPoint& pos,

const

wxSize&

size

,

long

style )

84

: m_Features(feats), m_Featid(&feat_id)

87  Create

(parent,

id

, caption, pos,

size

, style);

98 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

99

wxDialog::Create( parent,

id

, caption, pos,

size

, style );

104

GetSizer()->SetSizeHints(

this

);

147

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

148

itemDialog1->SetSizer(itemBoxSizer2);

150

wxStaticText* itemStaticText3 =

new

wxStaticText( itemDialog1, wxID_STATIC,

_

(

"The deleted feature is cross referenced in:"

), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );

151

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

153

wxArrayString m_FeatListStrings;

154  m_FeatList

=

new

wxCheckListBox( itemDialog1,

ID_CHECKLISTBOX

, wxDefaultPosition, wxDefaultSize, m_FeatListStrings, wxLB_SINGLE );

155

itemBoxSizer2->Add(

m_FeatList

, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

157

wxArrayString m_ModifyStrings;

158

m_ModifyStrings.Add(

_

(

"&Delete"

));

159

m_ModifyStrings.Add(

_

(

"&Delete feature ID XRef to deleted feature"

));

160  m_Modify

=

new

wxRadioBox( itemDialog1,

ID_RADIOBOX

,

_

(

"Modify selected features"

), wxDefaultPosition, wxDefaultSize, m_ModifyStrings, 1, wxRA_SPECIFY_COLS );

162

itemBoxSizer2->Add(

m_Modify

, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

164

wxBoxSizer* itemBoxSizer6 =

new

wxBoxSizer(wxHORIZONTAL);

165

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

167

wxButton* itemButton7 =

new

wxButton( itemDialog1, wxID_OK,

_

(

"OK"

), wxDefaultPosition, wxDefaultSize, 0 );

168

itemBoxSizer6->Add(itemButton7, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

170

wxButton* itemButton8 =

new

wxButton( itemDialog1, wxID_CANCEL,

_

(

"Cancel"

), wxDefaultPosition, wxDefaultSize, 0 );

171

itemBoxSizer6->Add(itemButton8, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

180  const CSeq_feat

& feat = *(*it).GetOriginalSeq_feat();

184  string

feat_descr(subtype);

190  return

wxDialog::TransferDataToWindow();

200  if

(

m_Modify

->GetSelection() == 0) {

203  if

(

m_FeatList

->IsChecked(

static_cast<unsigned int>

(

i

))) {

205  cmd

->AddCommand(*delFeat);

212  if

(

m_FeatList

->IsChecked(

static_cast<unsigned int>

(

i

))) {

217  bool

modified(

false

);

219  if

((*it)->IsSetId() && (*it)->GetId().IsLocal()) {

220  if

(

m_Featid

->Match((*it)->GetId().GetLocal())) {

233  cmd

->AddCommand(*chg_feat);

User-defined methods of the data storage class.

@ eExtreme_Positional

numerical value

wxCheckListBox * m_FeatList

void CreateControls()

Creates the controls and sizers.

bool TransferDataToWindow()

const objects::CFeat_id::TLocal * m_Featid

static bool ShowToolTips()

Should we show tooltips?

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

CRef< CCmdComposite > GetCommand()

~CCrossRefFeatsDlg()

Destructor.

void Init()

Initialises member variables.

CCrossRefFeatsDlg()

Constructors.

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

Creation.

vector< objects::CSeq_feat_Handle > TFeatVec

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

ESubtype GetSubtype(void) const

static CTempString SubtypeValueToName(ESubtype eSubtype)

Turns a ESubtype into its string value which is NOT necessarily related to the identifier of the enum...

namespace ncbi::objects::

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

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

Set object to copy of another one.

TSeqPos GetStart(ESeqLocExtremes ext) const

Return start and stop positions of the seq-loc.

TSeqPos GetStop(ESeqLocExtremes ext) const

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static enable_if< is_arithmetic< TNumeric >::value||is_convertible< TNumeric, Int8 >::value, string >::type NumericToString(TNumeric value, TNumToStringFlags flags=0, int base=10)

Convert numeric value to string.

bool IsSetXref(void) const

cite other relevant features Check if a value has been assigned to Xref data member.

const TLocation & GetLocation(void) const

Get the Location member data.

const TData & GetData(void) const

Get the Data member data.

const TXref & GetXref(void) const

Get the Xref member data.

void ResetXref(void)

Reset Xref data member.

where boath are integers</td > n< td ></td > n</tr > n< tr > n< td > tse</td > n< td > optional</td > n< td > String</td > n< td class=\"description\"> TSE option controls what blob is orig

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

#define ERASE_SEQFEATXREF_ON_SEQFEAT(Itr, Var)

ERASE_SEQFEATXREF_ON_SEQFEAT.

#define EDIT_EACH_SEQFEATXREF_ON_SEQFEAT(Itr, Var)

wxString ToWxString(const string &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