ACF $AcfVersion:0$
Public Types | Public Member Functions | Protected Member Functions | List of all members
ifilegui::CFileSystemExplorerGuiComp Class Reference

UI component for visualization of file system contents. More...

#include <CFileSystemExplorerGuiComp.h>

Inheritance diagram for ifilegui::CFileSystemExplorerGuiComp:
iqtgui::TDesignerGuiObserverCompBase< Ui::CFileSystemExplorerGuiComp, ifile::IFileNameParam > imod::CMultiModelDispatcherBase ibase::TModelObserverCompBaseWrap< ObserverComponent > istd::IPolymorphic

Public Types

typedef iqtgui::TDesignerGuiObserverCompBase< Ui::CFileSystemExplorerGuiComp, ifile::IFileNameParamBaseClass
 
- Public Types inherited from ibase::TModelObserverCompBaseWrap< ObserverComponent >
typedef ObserverComponent BaseClass
 

Public Member Functions

 CFileSystemExplorerGuiComp ()
 

Protected Member Functions

QStringList GetDefaultFilters () const
 Get default list of filters.
 
void InvalidateFileSystemModel (const QString &currentFilePath)
 
void UpdateFileRoot ()
 
virtual void UpdateGui (const istd::IChangeable::ChangeSet &changeSet) override
 
virtual void OnGuiCreated () override
 
virtual void OnModelChanged (int modelId, const istd::IChangeable::ChangeSet &changeSet) override
 Called when some model observed by dispatcher will be changed.
 
- Protected Member Functions inherited from ibase::TModelObserverCompBaseWrap< ObserverComponent >
virtual void OnComponentCreated () override
 
virtual void OnComponentDestroyed () override
 
bool RegisterModel (IModel *modelPtr, int modelId=0, const istd::IChangeable::ChangeSet &relevantFlags=istd::IChangeable::GetAllChanges())
 Register the data model to be observed.
 
void UnregisterModel (int modelId=0)
 Unregister the data model object.
 
void UnregisterAllModels ()
 Unregister all observed data objects.
 
template<class Object >
Object * GetObjectAt (int modelId) const
 Get concrete object instance of the obsered model.
 
- Protected Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Detailed Description

UI component for visualization of file system contents.

CFileSystemExplorerGuiComp is implemented as an observer of IFileNameParam. Connected to model, this component will show the file system item, provided by the data model. Model data will be changed, if the user selects a supported file item in the file system view.

Definition at line 44 of file CFileSystemExplorerGuiComp.h.

Member Typedef Documentation

◆ BaseClass

Definition at line 51 of file CFileSystemExplorerGuiComp.h.

Constructor & Destructor Documentation

◆ CFileSystemExplorerGuiComp()

ifilegui::CFileSystemExplorerGuiComp::CFileSystemExplorerGuiComp ( )

Member Function Documentation

◆ GetDefaultFilters()

QStringList ifilegui::CFileSystemExplorerGuiComp::GetDefaultFilters ( ) const
protected

Get default list of filters.

This list will be created using component parameters.

◆ InvalidateFileSystemModel()

void ifilegui::CFileSystemExplorerGuiComp::InvalidateFileSystemModel ( const QString &  currentFilePath)
protected

◆ OnGuiCreated()

virtual void ifilegui::CFileSystemExplorerGuiComp::OnGuiCreated ( )
overrideprotectedvirtual

◆ OnModelChanged()

virtual void ifilegui::CFileSystemExplorerGuiComp::OnModelChanged ( int  modelId,
const istd::IChangeable::ChangeSet changeSet 
)
overrideprotectedvirtual

Called when some model observed by dispatcher will be changed.

Implements imod::CMultiModelDispatcherBase.

◆ UpdateFileRoot()

void ifilegui::CFileSystemExplorerGuiComp::UpdateFileRoot ( )
protected

◆ UpdateGui()

virtual void ifilegui::CFileSystemExplorerGuiComp::UpdateGui ( const istd::IChangeable::ChangeSet changeSet)
overrideprotectedvirtual

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