KTutorial  0.5.1
Public Slots | Public Member Functions
ktutorial::view::TutorialManagerDialog Class Reference

A dialog to show the available tutorials and start them. More...

#include <TutorialManagerDialog.h>

List of all members.

Public Slots

void finish ()
 Receive notification that the tutorial being executed has finished.

Public Member Functions

 TutorialManagerDialog (TutorialManager *tutorialManager, QWidget *parent=0)
 Creates and shows a new TutorialManagerDialog.
virtual ~TutorialManagerDialog ()
 Destroys this TutorialManagerDialog.

Detailed Description

A dialog to show the available tutorials and start them.

The tutorials are shown in a plain list containing their names. When a tutorial is selected, its description is shown in a field designed for this purpose.

The dialog contains a user defined and a close button. The user defined button is a start button, enabled when a tutorial is selected. Once a tutorial is started, the dialog is hidden until it is notified that it has finished.

Definition at line 51 of file TutorialManagerDialog.h.


Constructor & Destructor Documentation

ktutorial::view::TutorialManagerDialog::TutorialManagerDialog ( TutorialManager tutorialManager,
QWidget *  parent = 0 
) [explicit]

Creates and shows a new TutorialManagerDialog.

Parameters:
tutorialManagerThe TutorialManager to use.
parentThe parent widget of this dialog, defaults to null.

Definition at line 32 of file TutorialManagerDialog.cpp.

References finish().


Member Function Documentation

Receive notification that the tutorial being executed has finished.

It just shows again the dialog.

Definition at line 70 of file TutorialManagerDialog.cpp.

Referenced by TutorialManagerDialog().


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