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

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

33 #include <wx/bitmap.h> 35 #include <wx/textctrl.h> 36 #include <wx/stattext.h> 37 #include <wx/button.h> 39 #include <wx/choice.h> 40 #include <wx/combobox.h> 83 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

84

wxDialog::Create( parent,

id

, caption, pos,

size

, style );

89

GetSizer()->SetSizeHints(

this

);

121

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

122

itemDialog1->SetSizer(itemBoxSizer2);

124

wxBoxSizer* itemBoxSizer3 =

new

wxBoxSizer(wxHORIZONTAL);

125

itemBoxSizer2->Add(itemBoxSizer3, 0, wxALIGN_RIGHT|wxLEFT|wxRIGHT, 5);

127

wxStaticText* itemStaticText4 =

new

wxStaticText( itemDialog1, wxID_STATIC,

_

(

"Track type:"

), wxDefaultPosition, wxDefaultSize, 0 );

128

itemBoxSizer3->Add(itemStaticText4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

130

wxArrayString m_TrackTypeStrings;

131  m_TrackType

=

new

wxChoice( itemDialog1,

ID_CHOICE

, wxDefaultPosition, wxSize(150, -1), m_TrackTypeStrings, 0 );

132

itemBoxSizer3->Add(

m_TrackType

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

135

itemBoxSizer2->Add(

m_SubtypeGroup

, 0, wxALIGN_RIGHT|wxLEFT|wxRIGHT, 5);

137

wxStaticText* itemStaticText7 =

new

wxStaticText( itemDialog1, wxID_STATIC,

_

(

"Feature subtype:"

), wxDefaultPosition, wxDefaultSize, 0 );

139

itemStaticText7->SetToolTip(

_

(

"Feature subtype storage key, such as STS and gene"

));

140  m_SubtypeGroup

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

142

wxArrayString m_SubtypeStrings;

143  m_Subtype

=

new

wxChoice( itemDialog1,

ID_CHOICE1

, wxDefaultPosition, wxSize(150, -1), m_SubtypeStrings, 0 );

145  m_Subtype

->SetToolTip(

_

(

"Feature subtype storage key, such as STS and gene"

));

148

wxBoxSizer* itemBoxSizer9 =

new

wxBoxSizer(wxHORIZONTAL);

149

itemBoxSizer2->Add(itemBoxSizer9, 0, wxALIGN_RIGHT|wxLEFT|wxRIGHT, 5);

151

wxStaticText* itemStaticText10 =

new

wxStaticText( itemDialog1, wxID_STATIC,

_

(

"Track title:"

), wxDefaultPosition, wxDefaultSize, 0 );

153

itemStaticText10->SetToolTip(

_

(

"Track title/name shown on the track title bar. It doesn't need to be unique, but a unique name may help differentiate it from others."

));

154

itemBoxSizer9->Add(itemStaticText10, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

156  m_TrackName

=

new

wxTextCtrl( itemDialog1,

ID_TEXTCTRL

, wxEmptyString, wxDefaultPosition, wxSize(150, -1), 0 );

158  m_TrackName

->SetToolTip(

_

(

"Track title/name shown on the track title bar. It doesn't need to be unique, but a unique name may help differentiate it from others."

));

159

itemBoxSizer9->Add(

m_TrackName

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

161

wxBoxSizer* itemBoxSizer12 =

new

wxBoxSizer(wxHORIZONTAL);

162

itemBoxSizer2->Add(itemBoxSizer12, 0, wxALIGN_RIGHT|wxLEFT|wxRIGHT, 5);

164

wxStaticText* itemStaticText13 =

new

wxStaticText( itemDialog1, wxID_STATIC,

_

(

"Filter:"

), wxDefaultPosition, wxDefaultSize, 0 );

166

itemStaticText13->SetToolTip(

_

(

"Track-specific filter, not all tracks support filters. It is optional."

));

167

itemBoxSizer12->Add(itemStaticText13, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

171  m_TrackFilter

->SetToolTip(

_

(

"Track-specific filter, not all tracks support filters. It is optional."

));

172

itemBoxSizer12->Add(

m_TrackFilter

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

174

wxBoxSizer* itemBoxSizer15 =

new

wxBoxSizer(wxHORIZONTAL);

175

itemBoxSizer2->Add(itemBoxSizer15, 0, wxALIGN_RIGHT|wxLEFT|wxRIGHT, 5);

177

wxStaticText* itemStaticText16 =

new

wxStaticText( itemDialog1, wxID_STATIC,

_

(

"Annotation names:"

), wxDefaultPosition, wxDefaultSize, 0 );

179

itemStaticText16->SetToolTip(

_

(

"Type in specific annotation names or select one of preset categories. More than one annotations separated using any of \",;|\" are acceptable, e.g. NA000000015.1,NA000000026.1"

));

180

itemBoxSizer15->Add(itemStaticText16, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

182

wxArrayString m_AnnotsStrings;

183  m_Annots

=

new

wxComboBox( itemDialog1,

ID_COMBOBOX

, wxEmptyString, wxDefaultPosition, wxSize(150, -1), m_AnnotsStrings, wxCB_DROPDOWN );

185  m_Annots

->SetToolTip(

_

(

"Type in specific annotation names or select one of preset categories. More than one annotations separated using any of \",;|\" are acceptable, e.g. NA000000015.1,NA000000026.1."

));

186

itemBoxSizer15->Add(

m_Annots

, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

188

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

190

wxStdDialogButtonSizer* itemStdDialogButtonSizer19 =

new

wxStdDialogButtonSizer;

192

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

193

wxButton* itemButton20 =

new

wxButton( itemDialog1, wxID_OK,

_

(

"&OK"

), wxDefaultPosition, wxSize(70, 24), 0 );

194

itemButton20->SetDefault();

195

itemStdDialogButtonSizer19->AddButton(itemButton20);

197

wxButton* itemButton21 =

new

wxButton( itemDialog1, wxID_CANCEL,

_

(

"&Cancel"

), wxDefaultPosition, wxSize(70, 24), 0 );

198

itemStdDialogButtonSizer19->AddButton(itemButton21);

200

itemStdDialogButtonSizer19->Realize();

static const CTrackTypeInfo & GetTypeInfo()

CConfigurableItems - a static list of items that can be configured.

static const CTrackTypeInfo & GetTypeInfo()

static const CFeatList * GetFeatList()

const string & GetId() const

wxString GetAnnots() const

wxString GetSubtype() const

void InitTrackTypes(const CTrackConfigManager::TFactoryMap &factories)

wxBitmap GetBitmapResource(const wxString &name)

wxString GetTrackFilter() const

void OnOkClick(wxCommandEvent &event)

wxTextCtrl * m_TrackFilter

void SetTrackName(const wxString &name)

user-defined member functions.

void OnTrackTypeChanged(wxCommandEvent &event)

wxIcon GetIconResource(const wxString &name)

bool CreateX(wxWindow *parent, wxWindowID id=10035, const wxString &caption=_("Graphical view new track settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 100), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)

wxString GetTrackType() const

wxBoxSizer * m_SubtypeGroup

wxString GetTrackName() const

static bool ShowToolTips()

#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

wxString ToWxString(const string &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