ParaView
Public Member Functions | Static Public Member Functions | Protected Slots
pqPersistentMainWindowStateBehavior Class Reference

pqPersistentMainWindowStateBehavior saves and restores the MainWindow state on shutdown and restart. More...

#include <pqPersistentMainWindowStateBehavior.h>

List of all members.

Public Member Functions

 pqPersistentMainWindowStateBehavior (QMainWindow *parent)
 Parent cannot be NULL.
virtual ~pqPersistentMainWindowStateBehavior ()

Static Public Member Functions

static void restoreState (QMainWindow *)
static void saveState (QMainWindow *)

Protected Slots

void saveState ()
void restoreState ()

Detailed Description

pqPersistentMainWindowStateBehavior saves and restores the MainWindow state on shutdown and restart.

Simply instantiate this behavior if you want your main window layout to be persistent.

Definition at line 44 of file pqPersistentMainWindowStateBehavior.h.


Constructor & Destructor Documentation

pqPersistentMainWindowStateBehavior::pqPersistentMainWindowStateBehavior ( QMainWindow *  parent)

Parent cannot be NULL.

virtual pqPersistentMainWindowStateBehavior::~pqPersistentMainWindowStateBehavior ( ) [virtual]

Member Function Documentation

static void pqPersistentMainWindowStateBehavior::restoreState ( QMainWindow *  ) [static]
static void pqPersistentMainWindowStateBehavior::saveState ( QMainWindow *  ) [static]
void pqPersistentMainWindowStateBehavior::saveState ( ) [protected, slot]
void pqPersistentMainWindowStateBehavior::restoreState ( ) [protected, slot]

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