vtkKWTheme Class Reference

a theme superclass More...

#include <vtkKWTheme.h>

Inheritance diagram for vtkKWTheme:
Inheritance graph
[legend]
Collaboration diagram for vtkKWTheme:
Collaboration graph
[legend]

List of all members.

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 vtkKWThemeNew ()
static int IsTypeOf (const char *type)
static vtkKWThemeSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkKWTheme ()
 ~vtkKWTheme ()

Protected Attributes

vtkKWOptionDataBaseBackupOptionDataBase



virtual void Install ()
virtual void Uninstall ()
virtual void BackupCurrentOptionDataBase ()
virtual void RestorePreviousOptionDataBase ()

Detailed Description

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.

Thanks:
This work is part of the National Alliance for Medical Image Computing (NAMIC), funded by the National Institutes of Health through the NIH Roadmap for Medical Research, Grant U54 EB005149. Information on the National Centers for Biomedical Computing can be obtained from http://nihroadmap.nih.gov/bioinformatics.
See also:
vtkKWOptionDataBase

Definition at line 40 of file vtkKWTheme.h.


Member Typedef Documentation

Reimplemented from vtkKWObject.

Definition at line 45 of file vtkKWTheme.h.


Constructor & Destructor Documentation

vtkKWTheme::vtkKWTheme (  )  [protected]
vtkKWTheme::~vtkKWTheme (  )  [protected]

Member Function Documentation

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.


Member Data Documentation

Definition at line 69 of file vtkKWTheme.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Apr 27 02:38:19 2010 for KWWidgets by  doxygen 1.6.1