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

Public Types

using Spotlight = Antares::Component::Spotlight
 
using Ptr = std::shared_ptr<FileListProvider>
 
- Public Types inherited from Antares::Component::Spotlight::IProvider
using Ptr = std::shared_ptr<IProvider>
 ptr
 

Public Member Functions

 FileListProvider (StudyLogs &frame)
 
 FileListProvider (const FileListProvider &)=delete
 
FileListProvideroperator= (const FileListProvider &)=delete
 
void search (Spotlight::IItem::Vector &out, const Spotlight::SearchToken::Vector &tokens, const Yuni::String &text="") override
 
bool onSelect (Spotlight::IItem::Ptr &item) override
 
bool onSelect (const Spotlight::IItem::Vector &) override
 
void refreshFileList (bool showAll)
 
- 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)
 

Additional Inherited Members

- 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: