92 wxPanel::Create( parent,
id, pos,
size, style );
97 GetSizer()->SetSizeHints(
this);
146 wxStaticBox* itemStaticBoxSizer2Static =
new wxStaticBox(itemPanel1,
wxID_ANY,
_(
"Optional Features"));
147 wxStaticBoxSizer* itemStaticBoxSizer2 =
new wxStaticBoxSizer(itemStaticBoxSizer2Static, wxVERTICAL);
148 itemPanel1->SetSizer(itemStaticBoxSizer2);
150 wxFlexGridSizer* itemFlexGridSizer3 =
new wxFlexGridSizer(0, 4, 0, 0);
151 itemStaticBoxSizer2->Add(itemFlexGridSizer3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 0);
155 itemFlexGridSizer3->Add(
m_KeepExons, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
159 itemFlexGridSizer3->Add(
m_KeepIntrons, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
161 wxCheckBox* itemCheckBox6 =
new wxCheckBox( itemStaticBoxSizer2->GetStaticBox(),
ID_AD_FEAT_PRERNA,
_(
"Precursor RNAs"), wxDefaultPosition, wxDefaultSize, 0 );
162 itemCheckBox6->SetValue(
false);
163 itemFlexGridSizer3->Add(itemCheckBox6, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
165 wxCheckBox* itemCheckBox7 =
new wxCheckBox( itemStaticBoxSizer2->GetStaticBox(),
ID_AD_FEAT_NCRNA,
_(
"ncRNAs that overlap precursor RNAs"), wxDefaultPosition, wxDefaultSize, 0 );
166 itemCheckBox7->SetValue(
false);
167 itemFlexGridSizer3->Add(itemCheckBox7, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
169 m_KeepMiscRecomb =
new wxCheckBox( itemStaticBoxSizer2->GetStaticBox(),
ID_CHECKBOX2,
_(
"Misc_recomb"), wxDefaultPosition, wxDefaultSize, 0 );
171 itemFlexGridSizer3->Add(
m_KeepMiscRecomb, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);
173 wxCheckBox* itemCheckBox9 =
new wxCheckBox( itemStaticBoxSizer2->GetStaticBox(),
ID_AD_FEAT_UORF,
_(
"uORFs"), wxDefaultPosition, wxDefaultSize, 0 );
174 itemCheckBox9->SetValue(
false);
175 itemFlexGridSizer3->Add(itemCheckBox9, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
177 wxCheckBox* itemCheckBox10 =
new wxCheckBox( itemStaticBoxSizer2->GetStaticBox(),
ID_AD_FEAT_MOBILE_ELEMENT,
_(
"Optional Mobile Element"), wxDefaultPosition, wxDefaultSize, 0 );
178 itemCheckBox10->SetValue(
false);
179 itemFlexGridSizer3->Add(itemCheckBox10, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
183 itemFlexGridSizer3->Add(
m_KeepRepeatRegion, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
185 m_Keep5UTRs =
new wxCheckBox( itemStaticBoxSizer2->GetStaticBox(),
ID_AD_FEAT_5UTR,
_(
"5' UTRs"), wxDefaultPosition, wxDefaultSize, 0 );
187 itemFlexGridSizer3->Add(
m_Keep5UTRs, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
189 m_Keep3UTRs =
new wxCheckBox( itemStaticBoxSizer2->GetStaticBox(),
ID_AD_FEAT_3UTR,
_(
"3' UTRs"), wxDefaultPosition, wxDefaultSize, 0 );
191 itemFlexGridSizer3->Add(
m_Keep3UTRs, 0, wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL|wxALL, 5);
193 wxBoxSizer* itemBoxSizer14 =
new wxBoxSizer(wxVERTICAL);
194 itemFlexGridSizer3->Add(itemBoxSizer14, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 0);
200 wxArrayString m_MiscFeatParseRuleStrings;
201 m_MiscFeatParseRuleStrings.Add(
_(
"Look for Noncoding Products"));
202 m_MiscFeatParseRuleStrings.Add(
_(
"Use comment before first semicolon"));
208 wxBoxSizer* itemBoxSizer17 =
new wxBoxSizer(wxVERTICAL);
209 itemFlexGridSizer3->Add(itemBoxSizer17, 0, wxALIGN_LEFT|wxALIGN_TOP|wxALL, 0);
290 case objects::CAutoDefOptions::eNoncodingProductFeat:
295 case objects::CAutoDefOptions::eCommentFeat:
300 case objects::CAutoDefOptions::eDelete:
324 params.
m_MiscFeatRule = objects::CAutoDefOptions::eNoncodingProductFeat;
EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX, CAdjustFeaturesForGaps::OnKnownUnknownSelected) EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX1
static bool ShowToolTips()
Should we show tooltips?
CAutodefOptFeatPanel()
Constructors.
wxCheckBox * m_RegulatoryFeatures
wxCheckBox * m_KeepMiscRecomb
void CreateControls()
Creates the controls and sizers.
~CAutodefOptFeatPanel()
Destructor.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
bool Create(wxWindow *parent, wxWindowID id=ID_CAUTODEFOPTFEATPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
wxCheckBox * m_KeepIntrons
wxCheckBox * m_KeepRepeatRegion
void PopulateParams(SAutodefParams ¶ms)
wxCheckBox * m_UseFakePromoters
void Init()
Initialises member variables.
wxCheckBox * m_KeepMiscFeats
void OnKeepMiscFeatsClick(wxCommandEvent &event)
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_KEEP_MISC_FEATS
void SetParams(SAutodefParams *params)
@ ID_AD_FEAT_MOBILE_ELEMENT
@ ID_AD_FEAT_MISC_FEAT_PARSE_RULE
@ ID_AD_FEAT_REPEAT_REGION
@ ID_AD_USE_FAKE_PROMOTERS
wxChoice * m_MiscFeatParseRule
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
unsigned int m_MiscFeatRule
bool m_KeepRegulatoryFeatures
#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