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

NCBI C++ ToolKit: src/gui/packages/pkg_alignment/ngalign_panel.cpp Source File

38 #include <wx/stattext.h> 39 #include <wx/statbox.h> 40 #include <wx/choice.h> 41 #include <wx/msgdlg.h> 43 #include "wx/bitmap.h" 49 #include "wx/imaglist.h" 80

SetExtraStyle(wxWS_EX_VALIDATE_RECURSIVELY);

88

GetSizer()->SetSizeHints(

this

);

114

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

115

itemCAlgoToolManagerParamsPanel1->SetSizer(itemBoxSizer2);

117

wxStaticBox* itemStaticBoxSizer3Static =

new

wxStaticBox(itemCAlgoToolManagerParamsPanel1,

wxID_ANY

,

_

(

"Query Sequences"

));

118

wxStaticBoxSizer* itemStaticBoxSizer3 =

new

wxStaticBoxSizer(itemStaticBoxSizer3Static, wxVERTICAL);

119

itemBoxSizer2->Add(itemStaticBoxSizer3, 1, wxGROW|wxALL, 5);

124

wxStaticBox* itemStaticBoxSizer5Static =

new

wxStaticBox(itemCAlgoToolManagerParamsPanel1,

wxID_ANY

,

_

(

"Subject Sequence"

));

125

wxStaticBoxSizer* itemStaticBoxSizer5 =

new

wxStaticBoxSizer(itemStaticBoxSizer5Static, wxVERTICAL);

126

itemBoxSizer2->Add(itemStaticBoxSizer5, 1, wxGROW|wxALL, 5);

164  const CSeq_loc

* seqLoc =

dynamic_cast<const CSeq_loc

*

>

(

i

.object.GetPointer());

175

}

NCBI_CATCH

(

"CNGAlignPanel get Seq-loc length."

);

187

min_row = max_row = 0;

193  int

min_length = 0, max_length = 0;

199

min_length = max_length = length;

202  for

(

int row

= 1;

row

< nr_rows; ++

row

) {

204  if

(length <= min_length) {

208  if

(length >= max_length) {

224  int

min_row = 0, max_row = 0;

228  m_QueryListCtrl

->SetItemState(min_row, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);

229  m_SubjectListCtrl

->SetItemState(max_row, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED);

237  if

(!CAlgoToolManagerParamsPanel::TransferDataFromWindow())

243  if

( que_sel.empty() ){

245  wxT

(

"Please select Query sequences."

),

wxT

(

"Error"

),

246

wxOK | wxICON_ERROR,

this 253  if

( sub_sel.empty() ){

255  wxT

(

"Please select Subject sequence."

),

wxT

(

"Error"

),

256

wxOK | wxICON_ERROR,

this 268

(

wxT

(

"This tool gives unpredictable results with sequences\nfrom different projects.\n\nPlease move all sequences to the same project\nand try again."

),

wxT

(

"Error"

),

269

wxOK | wxICON_ERROR,

this

static string MakeKey(const string &section, const string &key, const string &delim=CGuiRegistry::kDecimalDot)

create a key from a section and a subkey

CRegistryWriteView GetWriteView(const string &section)

get a read-write view at a particular level.

static CGuiRegistry & GetInstance()

access the application-wide singleton

CRegistryReadView GetReadView(const string &section) const

get a read-only view at a particular level.

CObjectList Data structure representing a list of CObjects with associated Scopes and other optional ...

void Init(TConstScopedObjects &objects)

initializers

void SetInteger(int col, int row, int val)

int AddColumn(EColumnType type, const string &name, int col=-1)

int GetInteger(int col, int row) const

int GetNumColumns() const

access to columns (attribute, indexes)

class CRegistryReadView provides a nested hierarchical view at a particular key.

void LoadTableSettings(const CRegistryReadView &view, bool byName=false)

void SaveTableSettings(CRegistryWriteView &view, bool saveSorting=true) const

unsigned int TSeqPos

Type for sequence locations and lengths.

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#define NCBI_CATCH(message)

Catch CExceptions as well This macro is deprecated - use *_X or *_XX variant instead of it.

bool Create(wxWindow *parent, wxWindowID id=ID_CNGALIGNPANEL)

static bool ShowToolTips()

void SetObjects(TConstScopedObjects *objects)

virtual void RestoreDefaults()

override in derived classes

virtual void SaveSettings() const

override in derived classes

SConstScopedObject & SetSubject()

virtual bool TransferDataFromWindow()

TConstScopedObjects & SetQueries()

wxIcon GetIconResource(const wxString &name)

CObjectListWidget * m_QueryListCtrl

CObjectListWidget * m_SubjectListCtrl

wxBitmap GetBitmapResource(const wxString &name)

virtual void LoadSettings()

vector< SConstScopedObject > TConstScopedObjects

TRange GetTotalRange(void) const

TSeqPos GetBioseqLength(void) const

void Reset(void)

Reset reference object.

TObjectType * Release(void)

Release a reference to the object and return a pointer to the object.

position_type GetLength(void) const

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

bool IsWhole(void) const

Check if variant Whole is selected.

unsigned int

A callback function used to compare two keys in a database.

USING_SCOPE(ncbi::objects)

static const char * kTable2Tag

static CObjectList * s_CreateObjList(TConstScopedObjects &objects)

static void s_GetMinMaxRows(const CObjectList &objList, int &min_row, int &max_row)

static const char * kTable1Tag

#define SYMBOL_CNGALIGNPANEL_STYLE

#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