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

File system explorer-like component. More...

#include <CFileTreeViewGuiComp.h>

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

Public Types

enum  DataRoles { DR_PATH = Qt::UserRole + 1 , DR_ISDIR }
 
typedef iqtgui::TDesignerGuiObserverCompBase< Ui::CFileTreeViewGuiComp, ifile::IFileNameParamBaseClass
 
- Public Types inherited from ibase::TModelObserverCompBaseWrap< ObserverComponent >
typedef ObserverComponent BaseClass
 

Public Member Functions

 CFileTreeViewGuiComp ()
 
- Public Member Functions inherited from imod::CMultiModelDispatcherBase
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.
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Protected Member Functions

virtual void OnComponentCreated () override
 
virtual void OnComponentDestroyed () override
 
virtual void OnGuiCreated () override
 
virtual void UpdateGui (const istd::IChangeable::ChangeSet &changeSet) override
 
virtual void OnModelChanged (int modelId, const istd::IChangeable::ChangeSet &changeSet) override
 Called when some model observed by dispatcher will be changed.
 

Friends

class InternalThread
 

Detailed Description

File system explorer-like component.

Observes a directory which is to be the root of the tree view. Provides on-demand refresh of the view (i.e. via button click).

Definition at line 37 of file CFileTreeViewGuiComp.h.

Member Typedef Documentation

◆ BaseClass

Definition at line 45 of file CFileTreeViewGuiComp.h.

Member Enumeration Documentation

◆ DataRoles

Enumerator
DR_PATH 
DR_ISDIR 

Definition at line 58 of file CFileTreeViewGuiComp.h.

Constructor & Destructor Documentation

◆ CFileTreeViewGuiComp()

ifilegui::CFileTreeViewGuiComp::CFileTreeViewGuiComp ( )

Member Function Documentation

◆ OnComponentCreated()

virtual void ifilegui::CFileTreeViewGuiComp::OnComponentCreated ( )
overrideprotectedvirtual

◆ OnComponentDestroyed()

virtual void ifilegui::CFileTreeViewGuiComp::OnComponentDestroyed ( )
overrideprotectedvirtual

◆ OnGuiCreated()

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

◆ OnModelChanged()

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

Called when some model observed by dispatcher will be changed.

Implements imod::CMultiModelDispatcherBase.

◆ UpdateGui()

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

Friends And Related Symbol Documentation

◆ InternalThread

friend class InternalThread
friend

Definition at line 155 of file CFileTreeViewGuiComp.h.


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