Public Types | Public Member Functions | Protected Member Functions | List of all members
iqtdoc::TQtDocumentManagerWrap< Base, Gui > Class Template Reference

Wrapper for general functionality of a Qt based document workspace. More...

#include <TQtDocumentManagerWrap.h>

Inheritance diagram for iqtdoc::TQtDocumentManagerWrap< Base, Gui >:

Public Types

typedef Base BaseClass
 
typedef BaseClass::Ids Ids
 

Public Member Functions

virtual void OnRestoreSettings (const QSettings &settings)
 
virtual void OnSaveSettings (QSettings &settings) const
 
virtual QString GetSaveFilePath (const QByteArray &documentTypeId, const istd::IChangeable *dataObjectPtr, const QString &currentFilePath) const
 

Protected Member Functions

QStringList CreateFileDialogFilters (const QByteArray *documentTypeIdPtr, const istd::IChangeable *dataObjectPtr, int flags) const
 Creates the filter for the file selection dialog. More...
 
void UpdateLastDirectory (const QString &filePath) const
 
virtual QStringList GetOpenFilePathesFromDialog (const QByteArray *documentTypeIdPtr) const
 

Detailed Description

template<class Base, class Gui>
class iqtdoc::TQtDocumentManagerWrap< Base, Gui >

Wrapper for general functionality of a Qt based document workspace.

Definition at line 27 of file TQtDocumentManagerWrap.h.

Member Typedef Documentation

template<class Base, class Gui>
typedef Base iqtdoc::TQtDocumentManagerWrap< Base, Gui >::BaseClass

Definition at line 30 of file TQtDocumentManagerWrap.h.

template<class Base, class Gui>
typedef BaseClass::Ids iqtdoc::TQtDocumentManagerWrap< Base, Gui >::Ids

Definition at line 31 of file TQtDocumentManagerWrap.h.

Member Function Documentation

template<class Base , class Gui >
QStringList iqtdoc::TQtDocumentManagerWrap< Base, Gui >::CreateFileDialogFilters ( const QByteArray *  documentTypeIdPtr,
const istd::IChangeable dataObjectPtr,
int  flags 
) const
protected

Creates the filter for the file selection dialog.

Parameters
documentTypeIdPtroptional ID of document type if only filter for single document type should be created.

Definition at line 111 of file TQtDocumentManagerWrap.h.

References ifilegui::CFileDialogLoaderComp::AppendLoaderFilterList(), NULL, and ifile::IFileTypeInfo::QF_SAVE.

template<class Base , class Gui >
QStringList iqtdoc::TQtDocumentManagerWrap< Base, Gui >::GetOpenFilePathesFromDialog ( const QByteArray *  documentTypeIdPtr) const
protectedvirtual
template<class Base , class Gui >
QString iqtdoc::TQtDocumentManagerWrap< Base, Gui >::GetSaveFilePath ( const QByteArray &  documentTypeId,
const istd::IChangeable dataObjectPtr,
const QString &  currentFilePath 
) const
virtual
template<class Base , class Gui >
void iqtdoc::TQtDocumentManagerWrap< Base, Gui >::OnRestoreSettings ( const QSettings &  settings)
virtual
template<class Base , class Gui >
void iqtdoc::TQtDocumentManagerWrap< Base, Gui >::OnSaveSettings ( QSettings &  settings) const
virtual

Reimplemented in iqtdoc::CMultiDocumentWorkspaceGuiComp.

Definition at line 73 of file TQtDocumentManagerWrap.h.

template<class Base , class Gui >
void iqtdoc::TQtDocumentManagerWrap< Base, Gui >::UpdateLastDirectory ( const QString &  filePath) const
protected

Definition at line 145 of file TQtDocumentManagerWrap.h.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy