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

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

34 #include <wx/stattext.h> 35 #include <wx/button.h> 38 #include <wx/scrolwin.h> 49

DEFINE_EVENT_TYPE(wxEVT_COMMAND_REMOVE_ALL_MARKERS)

50

DEFINE_EVENT_TYPE(wxEVT_COMMAND_MARKER_INFO_CLOSE)

74

wxWindowID

id

,

const

wxString& caption,

75  const

wxPoint& pos,

const

wxSize&

size

,

long

style )

76

: m_EventHandler(eventHandler)

79  Create

(parent,

id

, caption, pos,

size

, style);

83  const

wxString& caption,

const

wxPoint& pos,

84  const

wxSize&

size

,

long

style )

87 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

88

wxDialog::Create( parent,

id

, caption, pos,

size

, style );

115

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

116

itemDialog1->SetSizer(itemBoxSizer2);

118

wxBoxSizer* itemBoxSizer3 =

new

wxBoxSizer(wxVERTICAL);

119

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

121

wxBoxSizer* itemBoxSizer4 =

new

wxBoxSizer(wxHORIZONTAL);

122

itemBoxSizer3->Add(itemBoxSizer4, 0, wxGROW, 5);

124

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

126

wxButton* itemButton6 =

new

wxButton( itemDialog1,

RemoveAllButton

,

_

(

"Remove all markers"

), wxDefaultPosition, wxDefaultSize, 0 );

127

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

129

wxStaticLine* itemStaticLine7 =

new

wxStaticLine( itemDialog1, wxID_STATIC, wxDefaultPosition, wxSize(600, -1), wxLI_HORIZONTAL );

130

itemBoxSizer3->Add(itemStaticLine7, 0, wxGROW|wxLEFT|wxRIGHT|wxBOTTOM, 5);

133

itemBoxSizer2->Add(

m_TopPanel

, 1, wxGROW|wxALL, 5);

140

wxBoxSizer* itemBoxSizer10 =

new

wxBoxSizer(wxHORIZONTAL);

141

itemBoxSizer2->Add(itemBoxSizer10, 0, wxALIGN_RIGHT|wxALL, 5);

143

wxButton* itemButton11 =

new

wxButton( itemDialog1, wxID_CANCEL,

_

(

"Close"

), wxDefaultPosition, wxDefaultSize, 0 );

144

itemBoxSizer10->Add(itemButton11, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

152  if

(info_vec.empty()) {

157

list<CwxMarkerInfoPanel*>::iterator panel_iter =

m_MarkerPanels

.begin();

162  if

((*panel_iter)->GetMarkerId() == marker_info.

m_Id

) {

170  if

(panel ==

NULL

) {

199 #ifdef __WXOSX_COCOA__ 201

wxWindow* pp = GetParent();

203  f

=

dynamic_cast<

wxFrame*

>

(pp);

204

pp = pp->GetParent();

215  return

wxWindow::Show(show);

void OnRemoveAllButtonClick(wxCommandEvent &event)

bool Create(wxWindow *parent, wxWindowID id=10045, const wxString &caption=_("Marker Info"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(680, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)

wxBoxSizer * m_PanelSizer

void x_Send(CSeqMarkerEvent &event)

void OnCancelClick(wxCommandEvent &event)

list< CwxMarkerInfoPanel * > m_MarkerPanels

wxScrolledWindow * m_TopPanel

wxIcon GetIconResource(const wxString &name)

static bool ShowToolTips()

wxEvtHandler * m_EventHandler

vector< SMarkerInfo > SMarkerInfoVec

virtual bool Show(bool show=true)

void OnCloseWindow(wxCloseEvent &event)

wxBitmap GetBitmapResource(const wxString &name)

void UpdateMarker(const SMarkerInfoVec &info_vec)

void UpdateMarker(const SMarkerInfo &marker_info)

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

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.

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

#define ID_SCROLLEDWINDOW

void RemoveChildWindow(wxFrame *parent, wxWindow *child)

For OSX Cocoa, removes child window connection (for layering) to parent.

wxString ToWxString(const string &s)

void AddChildWindowAbove(wxFrame *parent, wxWindow *child)

For OSX Cocoa, puts child window in front of (visually) parent.


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