OpenMS  2.6.0
Public Member Functions | Private Attributes | List of all members
GUILock Class 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/SwathTabWidget.h>

Collaboration diagram for GUILock:
[legend]

Public Member Functions

 GUILock (SwathTabWidget *stw)
 
 ~GUILock ()
 

Private Attributes

SwathTabWidgetstw_
 
QWidgetold_
 
bool was_enabled_
 

Detailed Description

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

◆ GUILock()

GUILock ( SwathTabWidget stw)

◆ ~GUILock()

~GUILock ( )

Member Data Documentation

◆ old_

QWidget* old_
private

◆ stw_

SwathTabWidget* stw_
private

◆ was_enabled_

bool was_enabled_
private