(parent,
id, caption, pos,
size, style);
83SetExtraStyle(wxWS_EX_BLOCK_EVENTS|wxDIALOG_EX_CONTEXTHELP);
84wxDialog::Create( parent,
id, caption, pos,
size, style );
89GetSizer()->SetSizeHints(
this);
117wxFlexGridSizer* itemFlexGridSizer2 =
newwxFlexGridSizer(2, 2, 0, 0);
118itemDialog1->SetSizer(itemFlexGridSizer2);
120wxArrayString m_AnnotBrowserStrings;
121 m_AnnotBrowser=
newwxListBox( itemDialog1,
ID_LISTBOX1, wxDefaultPosition, wxSize(250, 320), m_AnnotBrowserStrings, wxLB_SINGLE );
122itemFlexGridSizer2->Add(
m_AnnotBrowser, 0, wxGROW|wxGROW|wxALL, 5);
124wxStaticBox* itemStaticBoxSizer4Static =
newwxStaticBox(itemDialog1,
wxID_ANY,
_(
"Options"));
125wxStaticBoxSizer* itemStaticBoxSizer4 =
newwxStaticBoxSizer(itemStaticBoxSizer4Static, wxVERTICAL);
126itemFlexGridSizer2->Add(itemStaticBoxSizer4, 0, wxGROW|wxALIGN_TOP|wxALL, 5);
128 m_SmearAln=
newwxCheckBox( itemDialog1,
ID_CHECKBOX1,
_(
"Smear Alignments"), wxDefaultPosition, wxDefaultSize, 0 );
130itemStaticBoxSizer4->Add(
m_SmearAln, 0, wxALIGN_LEFT|wxALL, 5);
132 m_ShowLabel=
newwxCheckBox( itemDialog1,
ID_CHECKBOX2,
_(
"Show Labels"), wxDefaultPosition, wxDefaultSize, 0 );
134itemStaticBoxSizer4->Add(
m_ShowLabel, 0, wxALIGN_LEFT|wxALL, 5);
139wxColourPickerCtrl* itemColourPickerCtrl8 =
newwxColourPickerCtrl( itemDialog1,
ID_COLOURPICKERCTRL);
142wxStaticText* itemStaticText9 =
newwxStaticText( itemDialog1, wxID_STATIC,
_(
"Annotation Background Color"), wxDefaultPosition, wxDefaultSize, 0 );
145itemFlexGridSizer2->Add(5, 5, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);
147wxStdDialogButtonSizer* itemStdDialogButtonSizer11 =
newwxStdDialogButtonSizer;
149itemFlexGridSizer2->Add(itemStdDialogButtonSizer11, 0, wxALIGN_RIGHT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
150wxButton* itemButton12 =
newwxButton( itemDialog1, wxID_OK,
_(
"&OK"), wxDefaultPosition, wxDefaultSize, 0 );
151itemButton12->SetDefault();
152itemStdDialogButtonSizer11->AddButton(itemButton12);
154wxButton* itemButton13 =
newwxButton( itemDialog1, wxID_CANCEL,
_(
"&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
155itemStdDialogButtonSizer11->AddButton(itemButton13);
157itemStdDialogButtonSizer11->Realize();
159itemFlexGridSizer2->AddGrowableRow(0);
160itemFlexGridSizer2->AddGrowableCol(0);
187 if(sel_idx == wxNOT_FOUND) {
194name.swap(the_state);
205 returnam_it->second;
216 for( ; align_iter; ++align_iter) {
266CAnnotWriteConfig::CAnnotConfigSettings settings;
268 if(TransferDataFromWindow()) {
280CAnnotWriteConfig::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