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

NCBI C++ ToolKit: src/gui/widgets/seq_graphic/wx_marker_info_panel.cpp Source File

35 #include <wx/stattext.h> 36 #include <wx/button.h> 48

DEFINE_EVENT_TYPE(wxEVT_COMMAND_REMOVE_MARKER)

62

: m_EventHandler(

NULL

)

70  size_t

marker_pos, wxWindow* parent,

71

wxEvtHandler* eventHandler, wxWindowID

id

,

72  const

wxPoint& pos,

const

wxSize&

size

,

long

style )

73

: m_EventHandler(eventHandler)

74

, m_MarkerId(marker_id)

75

, m_MarkerLabel(marker_label)

76

, m_MarkerPos(marker_pos)

83  const

wxPoint& pos,

const

wxSize&

size

,

long

style )

86 

wxPanel::Create( parent,

id

, pos,

size

, style );

113

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

114

itemPanel1->SetSizer(itemBoxSizer2);

116

wxPanel* itemPanel3 =

new

wxPanel( itemPanel1,

ID_PANEL

, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );

117

itemPanel3->SetBackgroundColour(wxColour(193, 193, 193));

118

itemBoxSizer2->Add(itemPanel3, 0, wxGROW, 5);

120

wxBoxSizer* itemBoxSizer4 =

new

wxBoxSizer(wxHORIZONTAL);

121

itemPanel3->SetSizer(itemBoxSizer4);

123  m_MarkerName

=

new

wxStaticText( itemPanel3, wxID_STATIC,

_

(

"Marker1"

), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT );

124

itemBoxSizer4->Add(

m_MarkerName

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

126

itemBoxSizer4->Add(5, 5, 1, wxGROW, 5);

128

wxButton* itemButton7 =

new

wxButton( itemPanel3,

RemoveButton

,

_

(

"Remove"

), wxDefaultPosition, wxDefaultSize, 0 );

129

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

138

itemBoxSizer2->Add(5, 10, 0, wxGROW|wxLEFT|wxRIGHT, 5);

161  size_t

curr_rows = (size_t)

table

->GetRowsCount();

166  if

(curr_rows > rows_needed) {

167  table

->DeleteRows(rows_needed, curr_rows - rows_needed);

168

}

else if

(curr_rows < rows_needed) {

169  table

->AppendRows(rows_needed - curr_rows);

171  for

(

size_t row

= 0;

row

< rows_needed; ++

row

) {

176  string

seq = coord_vec[

row

].m_Seq;

178  for

(

int i

= 0;

i

< 2; ++

i

) {

179  size_t

tag_start = seq.find_first_of(

"<"

);

180  if

(tag_start != string::npos) {

181  size_t

tag_stop = seq.find_first_of(

">"

, tag_start);

182  if

(tag_stop != string::npos) {

183

seq.replace(tag_start, tag_stop - tag_start + 1,

i

== 0 ?

"["

:

"]"

);

void SetMarkerId(const string &str)

static bool ShowToolTips()

wxIcon GetIconResource(const wxString &name)

void UpdateMarker(const SMarkerInfo &marker_info)

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

void OnRemoveButtonClick(wxCommandEvent &event)

wxEvtHandler * m_EventHandler

void x_UpdateMarkerLabel()

wxBitmap GetBitmapResource(const wxString &name)

string GetMarkerId() const

wxGrid * m_MarkerInfoGrid

wxStaticText * m_MarkerName

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,...

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

static string & ReplaceInPlace(string &src, const string &search, const string &replace, SIZE_TYPE start_pos=0, SIZE_TYPE max_replace=0, SIZE_TYPE *num_replace=0)

Replace occurrences of a substring within a string.

static const char label[]

unsigned int

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

<!DOCTYPE HTML >< html > n< header > n< title > PubSeq Gateway Help Page</title > n< style > n table

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

#define row(bind, expected)

SMarkerCoordVec m_CoordVec

vector< SMarkerCoord > SMarkerCoordVec

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