Public Types | Protected Member Functions | List of all members
iqtgui::TRestorableGuiWrap< Gui > Class Template Referenceabstract

A wrapper for saving/restoring of GUI component states in the application settings. More...

#include <TRestorableGuiWrap.h>

Inheritance diagram for iqtgui::TRestorableGuiWrap< Gui >:

Public Types

typedef Gui BaseClass
 

Protected Member Functions

virtual void OnRestoreSettings (const QSettings &settings)=0
 
virtual void OnSaveSettings (QSettings &settings) const =0
 
virtual bool CreateGui (QWidget *parentPtr)
 
virtual bool DestroyGui ()
 

Detailed Description

template<class Gui>
class iqtgui::TRestorableGuiWrap< Gui >

A wrapper for saving/restoring of GUI component states in the application settings.

Definition at line 18 of file TRestorableGuiWrap.h.

Member Typedef Documentation

template<class Gui>
typedef Gui iqtgui::TRestorableGuiWrap< Gui >::BaseClass

Definition at line 21 of file TRestorableGuiWrap.h.

Member Function Documentation

template<class Gui >
bool iqtgui::TRestorableGuiWrap< Gui >::CreateGui ( QWidget *  parentPtr)
protectedvirtual

Definition at line 44 of file TRestorableGuiWrap.h.

template<class Gui >
bool iqtgui::TRestorableGuiWrap< Gui >::DestroyGui ( )
protectedvirtual

Definition at line 57 of file TRestorableGuiWrap.h.

template<class Gui>
virtual void iqtgui::TRestorableGuiWrap< Gui >::OnRestoreSettings ( const QSettings &  settings)
protectedpure virtual
template<class Gui>
virtual void iqtgui::TRestorableGuiWrap< Gui >::OnSaveSettings ( QSettings &  settings) const
protectedpure virtual

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy