30 #ifndef INTERFACES_IHAVETABS_H
31 #define INTERFACES_IHAVETABS_H
176 virtual QObject* ParentMultiTabs () = 0;
188 virtual void Remove () = 0;
200 virtual QToolBar* GetToolBar ()
const = 0;
215 return QList<QAction*> ();
238 return QMap<QString, QList<QAction*>> ();
335 virtual void TabOpenRequested (
const QByteArray& tabClass) = 0;
354 virtual void addNewTab (
const QString& name, QWidget *tabContents) = 0;
369 virtual void removeTab (QWidget *tabContents) = 0;
390 virtual void changeTabName (QWidget *tabContents,
const QString& name) = 0;
409 virtual void changeTabIcon (QWidget *tabContents,
const QIcon& icon) = 0;
435 virtual void statusBarChanged (QWidget *tabContents,
const QString& text) = 0;
449 virtual void raiseTab (QWidget *tabContents) = 0;
There could be only one instance of this tab.
QString Description_
The description of the given tab class.
Interface for plugins that have one or more tabs.
Q_DECLARE_INTERFACE(IColorThemeManager,"org.Deviant.LeechCraft.IColorThemeManager/1.0")
QIcon Icon_
The icon for the given tab class.
This tab could be opened by user request.
Q_DECLARE_OPERATORS_FOR_FLAGS(LeechCraft::TabFeatures)
The structure describing a single tab class.
TabFeature
Defines different behavior features of tab classes.
QList< TabClassInfo > TabClasses_t
The tab is to be suggested in a quick launch area.
The tab should be opened by default.
QByteArray TabClass_
The tab class ID, which should be globally unique.
Q_DECLARE_FLAGS(TabFeatures, LeechCraft::TabFeature)
TabFeatures Features_
The features of this tab class.
QString VisibleName_
Visible name for the given tab class.
quint16 Priority_
The priority of this tab class.