#include </home/HPL/anne/BALL/BALL-NMR/source/APPLICATIONS/BALLVIEW/demoTutorialDialog.h>
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_ |
RegularData3D * | grid_ |
System * | system_ |
String | prefix_ |
bool | demo_mode_ |
Position | current_step_ |
Mesh * | surface_ |
QAction * | demo_action_ |
QAction * | tutorial_action_ |
Dialog for showing a demo and tutorial.
Definition at line 32 of file demoTutorialDialog.h.
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.
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).
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.
main_control | the MainControl object to be initialized with this ModularWidget |
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.
std::list<Composite*> BALL::VIEW::DemoTutorialDialog::composites_ [private] |
Definition at line 89 of file demoTutorialDialog.h.
Definition at line 95 of file demoTutorialDialog.h.
QAction* BALL::VIEW::DemoTutorialDialog::demo_action_ [private] |
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.
Mesh* BALL::VIEW::DemoTutorialDialog::surface_ [private] |
Definition at line 96 of file demoTutorialDialog.h.
System* BALL::VIEW::DemoTutorialDialog::system_ [private] |
Definition at line 91 of file demoTutorialDialog.h.
QAction * BALL::VIEW::DemoTutorialDialog::tutorial_action_ [private] |
Definition at line 97 of file demoTutorialDialog.h.