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

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

37 #include <wx/bitmap.h> 77  Create

(parent,

id

, caption, pos,

size

, style);

83 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS|wxDIALOG_EX_CONTEXTHELP);

84

wxDialog::Create( parent,

id

, caption, pos,

size

, style );

89

GetSizer()->SetSizeHints(

this

);

117

wxFlexGridSizer* itemFlexGridSizer2 =

new

wxFlexGridSizer(2, 2, 0, 0);

118

itemDialog1->SetSizer(itemFlexGridSizer2);

120

wxArrayString m_AnnotBrowserStrings;

121  m_AnnotBrowser

=

new

wxListBox( itemDialog1,

ID_LISTBOX1

, wxDefaultPosition, wxSize(250, 320), m_AnnotBrowserStrings, wxLB_SINGLE );

122

itemFlexGridSizer2->Add(

m_AnnotBrowser

, 0, wxGROW|wxGROW|wxALL, 5);

124

wxStaticBox* itemStaticBoxSizer4Static =

new

wxStaticBox(itemDialog1,

wxID_ANY

,

_

(

"Options"

));

125

wxStaticBoxSizer* itemStaticBoxSizer4 =

new

wxStaticBoxSizer(itemStaticBoxSizer4Static, wxVERTICAL);

126

itemFlexGridSizer2->Add(itemStaticBoxSizer4, 0, wxGROW|wxALIGN_TOP|wxALL, 5);

128  m_SmearAln

=

new

wxCheckBox( itemDialog1,

ID_CHECKBOX1

,

_

(

"Smear Alignments"

), wxDefaultPosition, wxDefaultSize, 0 );

130

itemStaticBoxSizer4->Add(

m_SmearAln

, 0, wxALIGN_LEFT|wxALL, 5);

132  m_ShowLabel

=

new

wxCheckBox( itemDialog1,

ID_CHECKBOX2

,

_

(

"Show Labels"

), wxDefaultPosition, wxDefaultSize, 0 );

134

itemStaticBoxSizer4->Add(

m_ShowLabel

, 0, wxALIGN_LEFT|wxALL, 5);

139

wxColourPickerCtrl* itemColourPickerCtrl8 =

new

wxColourPickerCtrl( itemDialog1,

ID_COLOURPICKERCTRL

);

142

wxStaticText* itemStaticText9 =

new

wxStaticText( itemDialog1, wxID_STATIC,

_

(

"Annotation Background Color"

), wxDefaultPosition, wxDefaultSize, 0 );

145

itemFlexGridSizer2->Add(5, 5, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);

147

wxStdDialogButtonSizer* itemStdDialogButtonSizer11 =

new

wxStdDialogButtonSizer;

149

itemFlexGridSizer2->Add(itemStdDialogButtonSizer11, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);

150

wxButton* itemButton12 =

new

wxButton( itemDialog1, wxID_OK,

_

(

"&OK"

), wxDefaultPosition, wxDefaultSize, 0 );

151

itemButton12->SetDefault();

152

itemStdDialogButtonSizer11->AddButton(itemButton12);

154

wxButton* itemButton13 =

new

wxButton( itemDialog1, wxID_CANCEL,

_

(

"&Cancel"

), wxDefaultPosition, wxDefaultSize, 0 );

155

itemStdDialogButtonSizer11->AddButton(itemButton13);

157

itemStdDialogButtonSizer11->Realize();

159

itemFlexGridSizer2->AddGrowableRow(0);

160

itemFlexGridSizer2->AddGrowableCol(0);

187  if

(sel_idx == wxNOT_FOUND) {

194

name.swap(the_state);

205  return

am_it->second;

216  for

( ; align_iter; ++align_iter) {

266

CAnnotWriteConfig::CAnnotConfigSettings settings;

268  if

(TransferDataFromWindow()) {

280

CAnnotWriteConfig::CAnnotConfigSettings settings;

EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX, CAdjustFeaturesForGaps::OnKnownUnknownSelected) EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX1

void OnSmearAlnClicked(wxCommandEvent &event)

void x_InitAnnotList(const objects::CBioseq_Handle &bsh)

void x_LoadWidgetValues()

wxBoxSizer * m_AnnotColorPicker

void x_SaveWidgetValues()

wxIcon GetIconResource(const wxString &name)

wxListBox * m_AnnotBrowser

wxBitmap GetBitmapResource(const wxString &name)

CRgbaColor m_AnnotBgColor

bool x_GetSelectedAnnotName(string &name)

bool Create(wxWindow *parent, wxWindowID id=10013, const wxString &caption=_("Annotation Rendering Options"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)

void x_AnnotBrowserSelectionChanged()

void OnOkClick(wxCommandEvent &event)

CRef< objects::CSeq_annot > x_FindAnnot(const string &label)

static bool ShowToolTips()

CAnnotWriteConfig m_AnnotConfig

void SetBioseq(const objects::CBioseq_Handle &bsh)

void OnAnnotBrowserSelected(wxCommandEvent &event)

container_type::iterator iterator

const_iterator end() const

const_iterator find(const key_type &key) const

iterator_bool insert(const value_type &val)

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

static objects::SAnnotSelector GetAnnotSelector(TAnnotFlags flags=0)

request an annotation selector for a given type

static void GetLabel(const CObject &obj, string *label, ELabelType type=eDefault)

CConstRef< CSeq_annot > GetCompleteSeq_annot(void) const

Complete and return const reference to the current seq-annot.

const CSeq_annot_Handle & GetAnnot(void) const

Get handle to the seq-annot.

CSeq_align_Handle GetSeq_align_Handle(void) const

Get original alignment handle.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static const char label[]

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

#define ID_COLOURPICKERCTRL

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