a theme superclass More...
#include <vtkKWTheme.h>


Public Types | |
| typedef vtkKWObject | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
| static vtkKWTheme * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkKWTheme * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
| vtkKWTheme () | |
| ~vtkKWTheme () | |
Protected Attributes | |
| vtkKWOptionDataBase * | BackupOptionDataBase |
|
| |
| virtual void | Install () |
| virtual void | Uninstall () |
| virtual void | BackupCurrentOptionDataBase () |
| virtual void | RestorePreviousOptionDataBase () |
a theme superclass
This class provides very simple/basic theming capabilities; it can be used to setup an application-wide "theme" or "brand" by overriding the default look&feel of the KWWidgets objects. It mainly revolves around adding entries to the application's option database (vtkKWOptionDataBase). Check the Examples/Cxx/Theme for more details.
Definition at line 40 of file vtkKWTheme.h.
| typedef vtkKWObject vtkKWTheme::Superclass |
Reimplemented from vtkKWObject.
Definition at line 45 of file vtkKWTheme.h.
| vtkKWTheme::vtkKWTheme | ( | ) | [protected] |
| vtkKWTheme::~vtkKWTheme | ( | ) | [protected] |
| static vtkKWTheme* vtkKWTheme::New | ( | ) | [static] |
Reimplemented from vtkKWObject.
| virtual const char* vtkKWTheme::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkKWObject.
| static int vtkKWTheme::IsTypeOf | ( | const char * | type | ) | [static] |
Reimplemented from vtkKWObject.
| virtual int vtkKWTheme::IsA | ( | const char * | type | ) | [virtual] |
Reimplemented from vtkKWObject.
| static vtkKWTheme* vtkKWTheme::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkKWObject.
| void vtkKWTheme::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkKWObject.
| virtual void vtkKWTheme::Install | ( | ) | [virtual] |
Ask the theme to install/uninstall itself. Subclasses should make sure to call the same superclass methods before setting up their own options so that the application's option database is backup'ed/restored correctly.
| virtual void vtkKWTheme::Uninstall | ( | ) | [virtual] |
Ask the theme to install/uninstall itself. Subclasses should make sure to call the same superclass methods before setting up their own options so that the application's option database is backup'ed/restored correctly.
| virtual void vtkKWTheme::BackupCurrentOptionDataBase | ( | ) | [protected, virtual] |
Backup the current option-database, and restore it
| virtual void vtkKWTheme::RestorePreviousOptionDataBase | ( | ) | [protected, virtual] |
Ask the theme to install/uninstall itself. Subclasses should make sure to call the same superclass methods before setting up their own options so that the application's option database is backup'ed/restored correctly.
vtkKWOptionDataBase* vtkKWTheme::BackupOptionDataBase [protected] |
Definition at line 69 of file vtkKWTheme.h.
1.6.1