19#ifndef TOOLBARSEARCHCTRL_HPP
20#define TOOLBARSEARCHCTRL_HPP
23#include "../../kernel/core/datamanagement/database.hpp"
44 virtual bool selectItem(
const wxString& value)
override;
46 virtual wxArrayString
getCandidates(
const wxString& enteredText)
override;
49 ToolBarSearchCtrl(wxWindow* parent, wxWindowID
id,
const NumeRe::DataBase& db,
NumeReWindow* _mainframe,
NumeReTerminal* _term,
const wxString& hint = wxEmptyString,
const wxString& calltip = wxEmptyString,
const wxString& calltiphighlight = wxEmptyString,
int width = 300,
int extension = 200) :
SearchCtrl(parent, id, wxEmptyString, 0)
60 SetSize(wxSize(width, -1));
61 SetPopupExtents(0, extension+20);
66 sizes.Add(width + extension - 130, 1);
This class is an implementation of a database. It will handle the *.ndb data format an provides an in...
The terminal class for the GUI. It's a specialisation of the GenericTerminal.
This class is the actual NumeRe main frame. The application's logic is implemented here.
Implementation of a generic search control based on a combo box.