47 #include <wx/bitmap.h>
48 #include <wx/stattext.h>
49 #include <wx/textctrl.h>
50 #include <wx/button.h>
51 #include <wx/checkbox.h>
52 #include <wx/statbox.h>
91 wxPanel::Create( parent,
id, pos,
size, style );
126 wxBoxSizer* itemBoxSizer2 =
new wxBoxSizer(wxVERTICAL);
127 itemPanel1->SetSizer(itemBoxSizer2);
129 wxBoxSizer* itemBoxSizer3 =
new wxBoxSizer(wxHORIZONTAL);
130 itemBoxSizer2->Add(itemBoxSizer3, 0, wxGROW, 5);
132 wxStaticText* itemStaticText4 =
new wxStaticText( itemPanel1, wxID_STATIC,
wxT(
"Filter:"), wxDefaultPosition, wxDefaultSize, 0 );
133 itemBoxSizer3->Add(itemStaticText4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
136 itemBoxSizer3->Add(
m_SearchCtrl, 1, wxALIGN_CENTER_VERTICAL|wxALL, 5);
138 m_ResetBtn =
new wxButton( itemPanel1, wxID_RESET,
wxT(
"Reset"), wxDefaultPosition, wxDefaultSize, 0 );
139 itemBoxSizer3->Add(
m_ResetBtn, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
141 wxBoxSizer* itemBoxSizer7 =
new wxBoxSizer(wxHORIZONTAL);
142 itemBoxSizer2->Add(itemBoxSizer7, 0, wxGROW, 5);
144 wxStaticText* itemStaticText8 =
new wxStaticText( itemPanel1, wxID_STATIC,
wxT(
"Show Jobs:"), wxDefaultPosition, wxDefaultSize, 0 );
145 itemBoxSizer7->Add(itemStaticText8, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
147 wxCheckBox* itemCheckBox9 =
new wxCheckBox( itemPanel1,
ID_SUBMITTED_CHECK,
wxT(
"Submitted"), wxDefaultPosition, wxDefaultSize, 0 );
148 itemCheckBox9->SetValue(
false);
149 itemBoxSizer7->Add(itemCheckBox9, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
151 wxCheckBox* itemCheckBox10 =
new wxCheckBox( itemPanel1,
ID_COMPLETED_CHECK,
wxT(
"Completed"), wxDefaultPosition, wxDefaultSize, 0 );
152 itemCheckBox10->SetValue(
false);
153 itemBoxSizer7->Add(itemCheckBox10, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
155 wxCheckBox* itemCheckBox11 =
new wxCheckBox( itemPanel1,
ID_FAILED_CHECK,
wxT(
"Failed"), wxDefaultPosition, wxDefaultSize, 0 );
156 itemCheckBox11->SetValue(
false);
157 itemBoxSizer7->Add(itemCheckBox11, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
159 wxCheckBox* itemCheckBox12 =
new wxCheckBox( itemPanel1,
ID_RETRIEVED_CHECK,
wxT(
"Retrieved"), wxDefaultPosition, wxDefaultSize, 0 );
160 itemCheckBox12->SetValue(
false);
161 itemBoxSizer7->Add(itemCheckBox12, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
163 wxCheckBox* itemCheckBox13 =
new wxCheckBox( itemPanel1,
ID_EXPIRED_CHECK,
wxT(
"Expired / Invalid"), wxDefaultPosition, wxDefaultSize, 0 );
164 itemCheckBox13->SetValue(
false);
165 itemBoxSizer7->Add(itemCheckBox13, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
169 itemCheckBox9->SetValidator( wxGenericValidator(&
m_Submitted) );
170 itemCheckBox10->SetValidator( wxGenericValidator(&
m_Completed) );
171 itemCheckBox11->SetValidator( wxGenericValidator(&
m_Failed) );
172 itemCheckBox12->SetValidator( wxGenericValidator(&
m_Retrieved) );
173 itemCheckBox13->SetValidator( wxGenericValidator(&
m_Expired) );
228 evt.SetEventObject(
this);
229 GetEventHandler()->ProcessEvent(evt);
236 bool res = wxPanel::TransferDataToWindow();
EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX, CAdjustFeaturesForGaps::OnKnownUnknownSelected) EVT_CHECKBOX(ID_CADJUSTFEATURES_CHECKBOX1
void OnSubmittedCheckClick(wxCommandEvent &event)
wxBitmap GetBitmapResource(const wxString &name)
CNetBlastDMSearchFormPanel()
static bool ShowToolTips()
void OnFilterInputTextUpdated(wxCommandEvent &event)
bool Create(wxWindow *parent, wxWindowID id=ID_CNETBLASTDMSEARCHFORM, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
bool TransferDataToWindow()
wxIcon GetIconResource(const wxString &name)
void OnResetClick(wxCommandEvent &event)
wxTextCtrl * m_SearchCtrl
~CNetBlastDMSearchFormPanel()
#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
wxEVT_COMMAND_MENU_SELECTED