BALL::VIEW::DemoTutorialDialog Class Reference

#include </home/HPL/anne/BALL/BALL-NMR/source/APPLICATIONS/BALLVIEW/demoTutorialDialog.h>

Inheritance diagram for BALL::VIEW::DemoTutorialDialog:
Inheritance graph
[legend]

List of all members.

Public Slots

void show ()
 Show and raise the dialog.
void showDemo ()
void showTutorial ()
void nextStepClicked ()
 Next Step.
virtual void checkMenu (MainControl &main_control)

Public Member Functions

 DemoTutorialDialog (QWidget *parent=NULL, const char *name=NULL)
 Default Constructor.
virtual ~DemoTutorialDialog ()
 Destructor.
virtual void onNotify (Message *message)
 Message handling method.
virtual void initializeWidget (MainControl &main_control)
void setDemoMode (bool state)

Protected Member Functions

void nextStepDemo_ ()
void nextStepTutorial_ ()
void initDemo_ ()
void initTutorial_ ()
void enableNextStep_ ()
virtual void onNotifyTutorial_ (Message *message)
virtual void onNotifyDemo_ (Message *message)
String getBaseDir_ ()

Private Attributes

std::list< Composite * > composites_
RegularData3Dgrid_
Systemsystem_
String prefix_
bool demo_mode_
Position current_step_
Meshsurface_
QAction * demo_action_
QAction * tutorial_action_

Detailed Description

Dialog for showing a demo and tutorial.

Definition at line 32 of file demoTutorialDialog.h.


Constructor & Destructor Documentation

BALL::VIEW::DemoTutorialDialog::DemoTutorialDialog ( QWidget parent = NULL,
const char *  name = NULL 
)

Default Constructor.

Definition at line 55 of file demoTutorialDialog.C.

BALL::VIEW::DemoTutorialDialog::~DemoTutorialDialog (  )  [virtual]

Destructor.

Definition at line 75 of file demoTutorialDialog.C.


Member Function Documentation

void BALL::VIEW::DemoTutorialDialog::checkMenu ( MainControl main_control  )  [virtual, slot]

Menu checking method. This method is called MainControl::checkMenus before a popup menu is shown. It should be used to update the state of menu entries (e.g. disable or enable entries).

Parameters:
main_control the MainControl object whose menus should be checked

Reimplemented from BALL::VIEW::ModularWidget.

Definition at line 598 of file demoTutorialDialog.C.

void BALL::VIEW::DemoTutorialDialog::enableNextStep_ (  )  [protected]

Definition at line 223 of file demoTutorialDialog.C.

String BALL::VIEW::DemoTutorialDialog::getBaseDir_ (  )  [protected]

Definition at line 103 of file demoTutorialDialog.C.

void BALL::VIEW::DemoTutorialDialog::initDemo_ (  )  [protected]

Definition at line 84 of file demoTutorialDialog.C.

void BALL::VIEW::DemoTutorialDialog::initializeWidget ( MainControl main_control  )  [virtual]

Initialize the widget. This method is called automatically immediately before the main application is started. It should add the widget's menu entries and connections (if required). This method will be called by MainControl::show.

Parameters:
main_control the MainControl object to be initialized with this ModularWidget
See also:
finalizeWidget()

Reimplemented from BALL::VIEW::ModularWidget.

Definition at line 584 of file demoTutorialDialog.C.

void BALL::VIEW::DemoTutorialDialog::initTutorial_ (  )  [protected]

Definition at line 116 of file demoTutorialDialog.C.

void BALL::VIEW::DemoTutorialDialog::nextStepClicked (  )  [slot]

Next Step.

Definition at line 229 of file demoTutorialDialog.C.

void BALL::VIEW::DemoTutorialDialog::nextStepDemo_ (  )  [protected]

Definition at line 271 of file demoTutorialDialog.C.

void BALL::VIEW::DemoTutorialDialog::nextStepTutorial_ (  )  [protected]
void BALL::VIEW::DemoTutorialDialog::onNotify ( Message message  )  [virtual]

Message handling method.

Reimplemented from BALL::VIEW::ConnectionObject.

Definition at line 166 of file demoTutorialDialog.C.

void BALL::VIEW::DemoTutorialDialog::onNotifyDemo_ ( Message message  )  [protected, virtual]

Definition at line 180 of file demoTutorialDialog.C.

void BALL::VIEW::DemoTutorialDialog::onNotifyTutorial_ ( Message message  )  [protected, virtual]

Definition at line 470 of file demoTutorialDialog.C.

void BALL::VIEW::DemoTutorialDialog::setDemoMode ( bool  state  )  [inline]

Definition at line 54 of file demoTutorialDialog.h.

void BALL::VIEW::DemoTutorialDialog::show (  )  [slot]

Show and raise the dialog.

Definition at line 140 of file demoTutorialDialog.C.

void BALL::VIEW::DemoTutorialDialog::showDemo (  )  [slot]

Definition at line 464 of file demoTutorialDialog.C.

void BALL::VIEW::DemoTutorialDialog::showTutorial (  )  [slot]

Definition at line 458 of file demoTutorialDialog.C.


Member Data Documentation

Definition at line 89 of file demoTutorialDialog.h.

Definition at line 95 of file demoTutorialDialog.h.

Definition at line 97 of file demoTutorialDialog.h.

Definition at line 94 of file demoTutorialDialog.h.

Definition at line 90 of file demoTutorialDialog.h.

Definition at line 93 of file demoTutorialDialog.h.

Definition at line 96 of file demoTutorialDialog.h.

Definition at line 91 of file demoTutorialDialog.h.

Definition at line 97 of file demoTutorialDialog.h.

Generated by  doxygen 1.6.3