OpenStructure
Public Member Functions | Protected Member Functions
TabbedPanelBar Class Reference

#include <tabbed_panel_bar.hh>

Inherits PanelWidgetContainer.

Public Member Functions

 TabbedPanelBar (PanelBar *parent)
 
 ~TabbedPanelBar ()
 
virtual bool Save (const QString &prefix)
 
virtual bool Restore (const QString &prefix)
 
void WidgetMoved (Widget *widget, int position)
 
QString GetName ()
 
- Public Member Functions inherited from PanelWidgetContainer
 PanelWidgetContainer (PanelBar *parent)
 
virtual void StartDrag ()
 
virtual void EndDrag ()
 
PanelBarGetPanelBar ()
 
- Public Member Functions inherited from Widget
 Widget (QWidget *widget, QWidget *parent=NULL)
 
void SetDestroyOnClose (bool flag)
 
bool DestroyOnClose () const
 
virtual ActionList GetActions ()
 
QWidget * GetInternalWidget ()
 
void SetInternalWidget (QWidget *widget)
 
const QString & GetUniqueID () const
 
void SetUniqueID (const QString &id)
 

Protected Member Functions

void dragEnterEvent (QDragEnterEvent *event)
 
void dropEvent (QDropEvent *event)
 

Detailed Description

tabbed bar

Definition at line 63 of file tabbed_panel_bar.hh.

Constructor & Destructor Documentation

◆ TabbedPanelBar()

TabbedPanelBar ( PanelBar parent)

◆ ~TabbedPanelBar()

Member Function Documentation

◆ dragEnterEvent()

void dragEnterEvent ( QDragEnterEvent *  event)
protected

◆ dropEvent()

void dropEvent ( QDropEvent *  event)
protected

◆ GetName()

QString GetName ( )
virtual

Get readable name This method must return a QString which identifies this WidgetContainer. This String will be visible in the gui to select the view mode of a PanelBar .

Implements PanelWidgetContainer.

◆ Restore()

virtual bool Restore ( const QString &  prefix)
virtual

Implements Widget.

◆ Save()

virtual bool Save ( const QString &  prefix)
virtual

Implements Widget.

◆ WidgetMoved()

void WidgetMoved ( Widget widget,
int  index 
)
virtual

move widget to given position Move the given widget to the index position.

Parameters
widgetwidget to be moved to the position.
indexnew index of the given widget. If the index is out of range add the widget will be added to the front or at the end.

Implements PanelWidgetContainer.


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