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

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

40 #include <wx/stattext.h> 93 

wxPanel::Create( parent,

id

, pos,

size

, style );

98

GetSizer()->SetSizeHints(

this

);

145

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

146

itemPanel1->SetSizer(itemBoxSizer2);

148

wxBoxSizer* itemBoxSizer3 =

new

wxBoxSizer(wxHORIZONTAL);

149

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

153

itemBoxSizer3->Add(

m_Partial5

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

157

itemBoxSizer3->Add(

m_Partial3

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

159

wxArrayString m_StrandStrings;

160

m_StrandStrings.Add(

_

(

"&Plus"

));

161

m_StrandStrings.Add(

_

(

"&Minus"

));

162  m_Strand

=

new

wxRadioBox( itemPanel1,

ID_BULKLOC_RBOX

,

_

(

"Strand"

), wxDefaultPosition, wxDefaultSize, m_StrandStrings, 1, wxRA_SPECIFY_ROWS );

164

itemBoxSizer2->Add(

m_Strand

, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

166

wxBoxSizer* itemBoxSizer7 =

new

wxBoxSizer(wxHORIZONTAL);

167

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

169

wxBoxSizer* itemBoxSizer8 =

new

wxBoxSizer(wxVERTICAL);

170

itemBoxSizer7->Add(itemBoxSizer8, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

172  m_WholeSeq

=

new

wxRadioButton( itemPanel1,

ID_BULKLOC_RBTN1

,

_

(

"Use Whole Sequence Interval"

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

174

itemBoxSizer8->Add(

m_WholeSeq

, 0, wxALIGN_LEFT|wxALL, 5);

178

itemBoxSizer8->Add(

m_Coordinates

, 0, wxALIGN_LEFT|wxALL, 5);

180

wxBoxSizer* itemBoxSizer11 =

new

wxBoxSizer(wxVERTICAL);

181

itemBoxSizer7->Add(itemBoxSizer11, 0, wxALIGN_CENTER_VERTICAL|wxALL, 0);

183

itemBoxSizer11->Add(5, 15, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

185

wxBoxSizer* itemBoxSizer13 =

new

wxBoxSizer(wxHORIZONTAL);

186

itemBoxSizer11->Add(itemBoxSizer13, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 0);

188

wxStaticText* itemStaticText14 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"From"

), wxDefaultPosition, wxDefaultSize, 0 );

189

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

193

itemBoxSizer13->Add(

m_From

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

195

wxStaticText* itemStaticText16 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"To"

), wxDefaultPosition, wxDefaultSize, 0 );

196

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

199  m_To

->Enable(

false

);

200

itemBoxSizer13->Add(

m_To

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

202  m_AddToExisting

=

new

wxCheckBox( itemPanel1,

ID_BULKLOC_CHCKBOX3

,

_

(

"Also add to sequences that already have a feature like this"

), wxDefaultPosition, wxDefaultSize, 0 );

204

itemBoxSizer2->Add(

m_AddToExisting

, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);

253  m_To

->Enable(

false

);

264  m_To

->Enable(

true

);

291  catch

(

const

exception& e) {

314  catch

(

const

exception& e) {

342  if

(

m_Strand

->GetSelection() == 1) {

348  else if

(fuzz &&

abs

(to - from) <= 1)

352  if

(

m_Strand

->GetSelection() == 1) {

362

loc->

SetInt

().SetFrom(from);

363

loc->

SetInt

().SetTo(to);

365  if

(

m_Strand

->GetSelection() == 1) {

@ eExtreme_Biological

5' and 3'

USING_SCOPE(ncbi::objects)

TSeqPos GetLength(void) const

~CBulkLocationPanel()

Destructor.

wxRadioButton * m_Coordinates

CRef< objects::CSeq_loc > GetLocForBioseq(const objects::CBioseq &bioseq)

CBulkLocationPanel()

Constructors.

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

wxRadioButton * m_WholeSeq

void Init()

Initialises member variables.

static bool ShowToolTips()

Should we show tooltips?

void OnBulklocRbtn2Selected(wxCommandEvent &event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_BULKLOC_RBTN2

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

void CreateControls()

Creates the controls and sizers.

wxCheckBox * m_AddToExisting

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

Creation.

void OnBulklocRbtn1Selected(wxCommandEvent &event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_BULKLOC_RBTN1

void swap(NCBI_NS_NCBI::pair_base_member< T1, T2 > &pair1, NCBI_NS_NCBI::pair_base_member< T1, T2 > &pair2)

#define LOG_POST(message)

This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...

void Error(CExceptionArgs_Base &args)

const string & GetMsg(void) const

Get message string.

virtual const char * what(void) const noexcept

Standard report (includes full backlog).

CConstRef< CSeq_id > GetSeqId(void) const

void SetPartialStart(bool val, ESeqLocExtremes ext)

set / remove e_Lim fuzz on start or stop (lt/gt - indicating partial interval)

void SetPartialStop(bool val, ESeqLocExtremes ext)

const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)

If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...

@ eGetId_Best

return the "best" gi (uses FindBestScore(), with CSeq_id::CalculateScore() as the score function

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static int StringToInt(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to int.

static bool EndsWith(const CTempString str, const CTempString end, ECase use_case=eCase)

Check if a string ends with a specified suffix value.

static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)

Check if a string is blank (has no text).

static bool StartsWith(const CTempString str, const CTempString start, ECase use_case=eCase)

Check if a string starts with a specified prefix value.

static void TrimSuffixInPlace(string &str, const CTempString suffix, ECase use_case=eCase)

Trim suffix from a string (in-place)

static void TrimPrefixInPlace(string &str, const CTempString prefix, ECase use_case=eCase)

Trim prefix from a string (in-place)

@ eLim_tr

space to right of position

void SetPoint(TPoint value)

Assign a value to Point data member.

void SetId(TId &value)

Assign a value to Id data member.

void SetStrand(TStrand value)

Assign a value to Strand data member.

void SetFuzz(TFuzz &value)

Assign a value to Fuzz data member.

constexpr bool empty(list< Ts... >) noexcept

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

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