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

NCBI C++ ToolKit: src/gui/core/filter_dialog.cpp Source File

38 #include <wx/dialog.h> 39 #include <wx/textctrl.h> 41 #include <wx/checkbox.h> 42 #include <wx/stattext.h> 43 #include <wx/statbox.h> 44 #include <wx/bitmap.h> 46 #include <wx/checklst.h> 47 #include <wx/button.h> 79  Create

(parent,

id

, caption, pos,

size

, style);

82 bool CFilterDialog::Create

( wxWindow* parent, wxWindowID

id

,

const

wxString& caption,

const

wxPoint& pos,

const

wxSize&

size

,

long

style )

85 

SetExtraStyle(wxWS_EX_BLOCK_EVENTS);

86

wxDialog::Create( parent,

id

, caption, pos,

size

, style );

91

GetSizer()->SetSizeHints(

this

);

118

wxBoxSizer* itemBoxSizer2 =

new

wxBoxSizer(wxVERTICAL);

119

itemDialog1->SetSizer(itemBoxSizer2);

121

wxArrayString m_ListBoxStrings;

122  m_ListBox

=

new

wxCheckListBox( itemDialog1,

ID_CHECKLISTBOX1

, wxDefaultPosition, wxDefaultSize, m_ListBoxStrings, wxLB_SINGLE );

123

itemBoxSizer2->Add(

m_ListBox

, 0, wxGROW|wxALL, 5);

125

wxFlexGridSizer* itemFlexGridSizer4 =

new

wxFlexGridSizer(0, 2, 0, 0);

126

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

128

wxStaticText* itemStaticText5 =

new

wxStaticText( itemDialog1, wxID_STATIC,

_

(

"Filter Name"

), wxDefaultPosition, wxDefaultSize, 0 );

129

itemFlexGridSizer4->Add(itemStaticText5, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);

131  m_Name

=

new

wxTextCtrl( itemDialog1,

ID_TEXTCTRL4

, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );

133

itemFlexGridSizer4->Add(

m_Name

, 0, wxGROW|wxALIGN_TOP|wxALL, 5);

135

wxStaticText* itemStaticText7 =

new

wxStaticText( itemDialog1, wxID_STATIC,

_

(

"Expression"

), wxDefaultPosition, wxDefaultSize, 0 );

136

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

138  m_Expression

=

new

wxTextCtrl( itemDialog1,

ID_TEXTCTRL5

, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE );

140

itemFlexGridSizer4->Add(

m_Expression

, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);

142

itemFlexGridSizer4->AddGrowableCol(1);

144

wxBoxSizer* itemBoxSizer9 =

new

wxBoxSizer(wxHORIZONTAL);

145

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

147

wxButton* itemButton10 =

new

wxButton( itemDialog1,

ID_BUTTON2

,

_

(

"Clear"

), wxDefaultPosition, wxDefaultSize, 0 );

148

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

150

wxButton* itemButton11 =

new

wxButton( itemDialog1, wxID_CANCEL,

_

(

"Cancel"

), wxDefaultPosition, wxDefaultSize, 0 );

151

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

153

wxButton* itemButton12 =

new

wxButton( itemDialog1, wxID_OK,

_

(

"OK"

), wxDefaultPosition, wxDefaultSize, 0 );

154

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

193  return

wxDialog::TransferDataToWindow();

201  if

(

m_ListBox

->IsChecked((

unsigned

)

i

)) {

205  return

wxDialog::TransferDataFromWindow();

IDMSearchTool::TFilters m_Filters

bool TransferDataToWindow()

void x_SelectionUpdated()

bool Create(wxWindow *parent, wxWindowID id=ID_CFILTERDIALOG, const wxString &caption=_("Filter Selection Dialog"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)

static bool ShowToolTips()

wxBitmap GetBitmapResource(const wxString &name)

void OnChecklistbox1Selected(wxCommandEvent &event)

void OnClearClicked(wxCommandEvent &event)

wxIcon GetIconResource(const wxString &name)

wxTextCtrl * m_Expression

bool TransferDataFromWindow()

wxCheckListBox * m_ListBox

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#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