OpenMS
|
Widgets that are placed into an EnhancedTabBar must implement this interface. More...
#include <OpenMS/VISUAL/EnhancedTabBarWidgetInterface.h>
Public Member Functions | |
EnhancedTabBarWidgetInterface () | |
C'tor; creates a new ID;. More... | |
virtual | ~EnhancedTabBarWidgetInterface () |
Destructor (emits SignalProvider::aboutToBeDestroyed) More... | |
void | addToTabBar (EnhancedTabBar *const parent, const String &caption, const bool make_active_tab=true) |
Int | getWindowId () const |
get the EnhancedTabBar unique window id More... | |
Static Public Member Functions | |
static Int | getFirstWindowID () |
the first object to be created will get this ID More... | |
Private Attributes | |
Int | window_id_ { -1 } |
SignalProvider | sp_ |
emits the signal that the EnhancedTabBarWidgetInterface is about to be destroyed More... | |
Widgets that are placed into an EnhancedTabBar must implement this interface.
C'tor; creates a new ID;.
|
virtual |
Destructor (emits SignalProvider::aboutToBeDestroyed)
void addToTabBar | ( | EnhancedTabBar *const | parent, |
const String & | caption, | ||
const bool | make_active_tab = true |
||
) |
adds itself to this tabbar and upon destruction removes itself again. Make sure the tabbar still exists when you call this function and this object is destroyed
Referenced by TOPPASBase::showAsWindow_(), and TOPPViewBase::showPlotWidgetInWindow().
|
static |
the first object to be created will get this ID
Referenced by TOPPASBase::addTOPPASFile().
Int getWindowId | ( | ) | const |
get the EnhancedTabBar unique window id
Referenced by TOPPViewBase::addDataFile(), TOPPViewBase::runTOPPTool_(), TOPPViewBase::showPlotWidgetInWindow(), and TOPPASBase::updateTabBar().
|
private |
emits the signal that the EnhancedTabBarWidgetInterface is about to be destroyed
|
private |