30 #ifndef INTERFACES_IHAVETABS_H 31 #define INTERFACES_IHAVETABS_H 194 virtual QObject* ParentMultiTabs () = 0;
206 virtual void Remove () = 0;
218 virtual QToolBar* GetToolBar ()
const = 0;
353 virtual void TabOpenRequested (
const QByteArray& tabClass) = 0;
372 virtual void addNewTab (
const QString& name, QWidget *tabContents) = 0;
387 virtual void removeTab (QWidget *tabContents) = 0;
408 virtual void changeTabName (QWidget *tabContents,
const QString& name) = 0;
427 virtual void changeTabIcon (QWidget *tabContents,
const QIcon& icon) = 0;
453 virtual void statusBarChanged (QWidget *tabContents,
const QString& text) = 0;
467 virtual void raiseTab (QWidget *tabContents) = 0;
470 Q_DECLARE_OPERATORS_FOR_FLAGS (LC::TabFeatures)
472 Q_DECLARE_INTERFACE (
ITabWidget,
"org.Deviant.LeechCraft.ITabWidget/1.0")
QString VisibleName_
Visible name for the given tab class.
There could be only one instance of this tab.
QList< TabClassInfo > TabClasses_t
TabFeatures Features_
The features of this tab class.
QIcon Icon_
The icon for the given tab class.
Interface for plugins that have one or more tabs.
quint16 Priority_
The priority of this tab class.
The structure describing a single tab class.
This tab could be opened by user request.
TabFeature
Defines different behavior features of tab classes.
QByteArray TabClass_
The tab class ID, which should be globally unique.
QString Description_
The description of the given tab class.
The tab should be opened by default.
The tab is to be suggested in a quick launch area.
Q_DECLARE_FLAGS(TabFeatures, LC::TabFeature)
The tab uses the standard tab close shortcut (Ctrl+W).