83 SetExtraStyle(wxWS_EX_BLOCK_EVENTS);
84 wxDialog::Create( parent,
id, caption, pos,
size, style );
89 GetSizer()->SetSizeHints(
this);
132 wxBoxSizer* itemBoxSizer2 =
new wxBoxSizer(wxVERTICAL);
133 itemDialog1->SetSizer(itemBoxSizer2);
135 wxStaticBox* itemStaticBoxSizer3Static =
new wxStaticBox(itemDialog1,
wxID_ANY,
_(
"Static"));
136 wxStaticBoxSizer* itemStaticBoxSizer3 =
new wxStaticBoxSizer(itemStaticBoxSizer3Static, wxVERTICAL);
137 itemBoxSizer2->Add(itemStaticBoxSizer3, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 5);
139 wxBoxSizer* itemBoxSizer4 =
new wxBoxSizer(wxHORIZONTAL);
140 itemStaticBoxSizer3->Add(itemBoxSizer4, 1, wxALIGN_CENTER_HORIZONTAL, 5);
142 wxStaticText* itemStaticText5 =
new wxStaticText( itemDialog1, wxID_STATIC,
_(
"Merging Window:"), wxDefaultPosition, wxDefaultSize, 0 );
143 itemBoxSizer4->Add(itemStaticText5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
146 itemBoxSizer4->Add(
m_ThreshText, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5);
150 itemStaticBoxSizer3->Add(
m_ShowIndels, 0, wxALIGN_LEFT|wxALL, 5);
152 wxStdDialogButtonSizer* itemStdDialogButtonSizer8 =
new wxStdDialogButtonSizer;
154 itemBoxSizer2->Add(itemStdDialogButtonSizer8, 0, wxALIGN_RIGHT|wxALL, 5);
155 wxButton* itemButton9 =
new wxButton( itemDialog1, wxID_OK,
_(
"&OK"), wxDefaultPosition, wxDefaultSize, 0 );
156 itemStdDialogButtonSizer8->AddButton(itemButton9);
158 wxButton* itemButton10 =
new wxButton( itemDialog1, wxID_CANCEL,
_(
"&Cancel"), wxDefaultPosition, wxDefaultSize, 0 );
159 itemStdDialogButtonSizer8->AddButton(itemButton10);
161 itemStdDialogButtonSizer8->Realize();
164 m_ThreshText->SetValidator( wxTextValidator(wxFILTER_NUMERIC) );
209 return static_cast<int>(rv);
static bool ShowToolTips()
Should we show tooltips?
void CreateControls()
Creates the controls and sizers.
~CAlnSpanSettingsDlg()
Destructor.
void Init()
Initialises member variables.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void SetThreshold(int th)
CAlnSpanSettingsDlg()
Constructors.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
wxTextCtrl * m_ThreshText
wxCheckBox * m_ShowIndels
bool Create(wxWindow *parent, wxWindowID id=ID_CALNSPANSETTINGSDLG, const wxString &caption=_("Alignment span settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
bool GetShowIndels() const
void SetShowIndels(bool indel)
<!DOCTYPE HTML >< html > n< header > n< title > PubSeq Gateway Help Page</title > n< style > n th
static void text(MDB_val *v)
const struct ncbi::grid::netcache::search::fields::SIZE size