Computer Assited Medical Intervention Tool Kit  version 4.1
Public Slots | Public Member Functions | Private Attributes | List of all members
WizardMainWindow Class Reference

The main window of the Wizard. More...

#include <WizardMainWindow.h>

Inherits QMainWindow.

Public Slots

virtual void welcomeHelp ()
 When button Help of WelcomeWindow interface is clicked, the wiki page "New interfaces of Wizard" opens. More...
 

Public Member Functions

void setCentralWidget (QWidget *widget)
 
void setStateInfo (QString info)
 
 WizardMainWindow ()
 Constructor. More...
 
 ~WizardMainWindow ()
 Destructor. More...
 

Private Attributes

int emptyWidgetIndex
 index of the empty widget, used when no state is active More...
 
Ui::WizardMainWindow ui
 
QStackedWidget * widgetStack
 

Detailed Description

The main window of the Wizard.

All state widgets are contained in this window.

Constructor & Destructor Documentation

◆ WizardMainWindow()

WizardMainWindow::WizardMainWindow ( )

Constructor.

References emptyWidgetIndex, ui, welcomeHelp(), and widgetStack.

◆ ~WizardMainWindow()

WizardMainWindow::~WizardMainWindow ( )

Destructor.

Member Function Documentation

◆ setCentralWidget()

void WizardMainWindow::setCentralWidget ( QWidget *  widget)

References widgetStack.

Referenced by WizardState::onEntry().

◆ setStateInfo()

void WizardMainWindow::setStateInfo ( QString  info)

Referenced by WizardState::onEntry().

◆ welcomeHelp

void WizardMainWindow::welcomeHelp ( )
virtualslot

When button Help of WelcomeWindow interface is clicked, the wiki page "New interfaces of Wizard" opens.

Referenced by WizardMainWindow().

Member Data Documentation

◆ emptyWidgetIndex

int WizardMainWindow::emptyWidgetIndex
private

index of the empty widget, used when no state is active

Referenced by WizardMainWindow().

◆ ui

Ui::WizardMainWindow WizardMainWindow::ui
private

Referenced by WizardMainWindow().

◆ widgetStack

QStackedWidget* WizardMainWindow::widgetStack
private

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