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

NCBI C++ ToolKit: src/gui/widgets/loaders/vcf_sample_sel_panel.cpp Source File

34 #include <wx/checklst.h> 35 #include <wx/button.h> 36 #include <wx/wupdlock.h> 37 #include <wx/stattext.h> 86 

SetExtraStyle(wxWS_EX_VALIDATE_RECURSIVELY);

87

wxPanel::Create( parent,

id

, pos,

size

, style );

92

GetSizer()->SetSizeHints(

this

);

132

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

133

itemPanel1->SetSizer(itemBoxSizer2);

135

wxStaticText* itemStaticText1 =

new

wxStaticText( itemPanel1, wxID_STATIC,

_

(

"Samples Columns"

), wxDefaultPosition, wxDefaultSize, 0 );

136

itemBoxSizer2->Add(itemStaticText1, 0, wxALIGN_LEFT|wxALL, 5);

138

wxArrayString m_SampleListStrings;

142

wxBoxSizer* itemBoxSizer1 =

new

wxBoxSizer(wxHORIZONTAL);

143

itemBoxSizer2->Add(itemBoxSizer1, 0, wxALIGN_LEFT|wxTOP, 5);

145

wxButton* itemButton2 =

new

wxButton( itemPanel1,

ID_SELECTALLSAMPLES

,

_

(

"Select All"

), wxDefaultPosition, wxDefaultSize, 0 );

146

itemBoxSizer1->Add(itemButton2, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

148

wxButton* itemButton3 =

new

wxButton( itemPanel1,

ID_DESELECTALLSAMPLES

,

_

(

"Deselect All"

), wxDefaultPosition, wxDefaultSize, 0 );

149

itemBoxSizer1->Add(itemButton3, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

159  for

(

const auto

& it : samples) {

176

wxArrayInt checkedItems;

178  return

(checkedItems.size() ==

m_SampleList

->GetCount());

void OnSelectallSamplesClick(wxCommandEvent &event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_SELECTALLSAMPLES

CVcfSampleSelectionPanel()

Constructors.

void SetSamples(const map< unsigned, string > &samples)

wxCheckListBox * m_SampleList

void CreateControls()

Creates the controls and sizers.

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

Creation.

static bool ShowToolTips()

Should we show tooltips?

void GetSelectedSamples(map< unsigned, string > &selected)

wxBitmap GetBitmapResource(const wxString &name)

Retrieves bitmap resources.

~CVcfSampleSelectionPanel()

Destructor.

void Init()

Initialises member variables.

void OnDeselectallSamplesClick(wxCommandEvent &event)

wxEVT_COMMAND_BUTTON_CLICKED event handler for ID_DESELECTALLSAMPLES

wxIcon GetIconResource(const wxString &name)

Retrieves icon resources.

bool AllAreChecked() const

#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

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