Cube GUI Plugin User Guide  (CubeGUI 4.6, revision ff50a50d)
How to develop a Cube GUI Plugin, road map and examples
Public Member Functions | List of all members
cubegui::TabInterface Class Referenceabstract

The TabInterface class is inherited from all widgets, which are placed in the SystemTabWidget, CallTabWidget or SystemTabWidget.

#include <TabInterface.h>

Public Member Functions

virtual QWidget * widget ()=0
 
virtual QString label () const =0
 
virtual void valuesChanged ()
 
virtual void valueModusChanged (ValueModus)
 
virtual QIcon icon () const
 
virtual void setActive (bool)
 
virtual void detachEvent (QMainWindow *, bool)
 

Member Function Documentation

virtual void cubegui::TabInterface::detachEvent ( QMainWindow *  ,
bool   
)
virtual

called, if current Tab gets detached; 1st parameter is the new window, 2nd is true, if it is detached and false if the window is closed

virtual QIcon cubegui::TabInterface::icon ( ) const
virtual

returns the icon which is displayed in the left part of the tab

virtual QString cubegui::TabInterface::label ( ) const
pure virtual

returns the label which is used for the tab widget

virtual void cubegui::TabInterface::setActive ( bool  )
virtual

called if current Tab becomes active or inactive

virtual void cubegui::TabInterface::valueModusChanged ( ValueModus  )
virtual

called, if the value modus combo box has been changed

virtual void cubegui::TabInterface::valuesChanged ( )
virtual

This method is called, if any value of the corresponding TreeWidget has changed.It is only called if the plugin is visible or if it becomes visible and the tree values have been changed in the meantime. A tree value changes, if the selected tree item of a tree left to the current one has changed, the tree structure has changed, if an item is expanded or collapsed or if the value modus has changed...

virtual QWidget* cubegui::TabInterface::widget ( )
pure virtual

returns the widget which will be added as tab


Cube Writer Library    Copyright © 1998–2021 Forschungszentrum Jülich GmbH, Jülich Supercomputing Centre
Copyright © 2009–2015 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming