Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Window::FileSearchProvider Class Referencefinal
Inheritance diagram for Antares::Window::FileSearchProvider:
Antares::Component::Spotlight::IProvider

Public Types

using Spotlight = Antares::Component::Spotlight
 The spotlight component (alias)
 
- Public Types inherited from Antares::Component::Spotlight::IProvider
using Ptr = std::shared_ptr<IProvider>
 ptr
 

Constructor & Destructor

 FileSearchProvider ()=default
 Default constructor.
 
 ~FileSearchProvider () override=default
 Destructor.
 
void search (Spotlight::IItem::Vector &out, const Spotlight::SearchToken::Vector &tokens, const Yuni::String &text="") override
 Perform a new search.
 
bool onSelect (Spotlight::IItem::Ptr &) override
 An item has been selected.
 
void onFileSearchAdd (const YString &filename)
 
void onFileSearchClear ()
 

Additional Inherited Members

- Public Member Functions inherited from Antares::Component::Spotlight::IProvider
 IProvider ()
 Default constructor.
 
virtual ~IProvider ()
 Destructor.
 
virtual void search (IItem::Vector &out, const SearchToken::Vector &tokens, const Yuni::String &text="")=0
 Rebuild the result list from a list of tokens.
 
void redoResearch ()
 Redo the research.
 
virtual bool onSelect (IItem::Ptr &item)
 Event: an item has been selected.
 
virtual bool onSelect (const IItem::Vector &items)
 Event: a list of items have been selected (more than one)
 
virtual bool onDoubleClickSelect (IItem::Ptr &item)
 Event: an item has been selected.
 
Spotlightcomponent () const
 Get the pointer of the attached component (can be null)
 
- Protected Attributes inherited from Antares::Component::Spotlight::IProvider
SpotlightpSpotlightComponent
 The parent component (can be null)
 

The documentation for this class was generated from the following files: