OpenMS
WizardGUILock< TWidgetClass > Class Template Reference

RAII class to switch to certain TabWidget, disable the GUI and go back to the orignal Tab when this class is destroyed. More...

#include <OpenMS/VISUAL/DIALOGS/WizardHelper.h>

Collaboration diagram for WizardGUILock< TWidgetClass >:
[legend]

Public Member Functions

 WizardGUILock (TWidgetClass *stw)
 
 ~WizardGUILock ()
 

Private Attributes

TWidgetClass * stw_
 
QWidgetold_
 
GUIHelpers::GUILock glock_
 

Detailed Description

template<class TWidgetClass>
class OpenMS::Internal::WizardGUILock< TWidgetClass >

RAII class to switch to certain TabWidget, disable the GUI and go back to the orignal Tab when this class is destroyed.

Constructor & Destructor Documentation

◆ WizardGUILock()

WizardGUILock ( TWidgetClass *  stw)
inline

◆ ~WizardGUILock()

Member Data Documentation

◆ glock_

GUIHelpers::GUILock glock_
private

◆ old_

◆ stw_

TWidgetClass* stw_
private