 |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
Go to the documentation of this file.
9 #ifndef INTERFACES_IHAVETABS_H
10 #define INTERFACES_IHAVETABS_H
173 virtual QObject* ParentMultiTabs () = 0;
185 virtual void Remove () = 0;
197 virtual QToolBar* GetToolBar ()
const = 0;
332 virtual void TabOpenRequested (
const QByteArray& tabClass) = 0;
351 virtual void addNewTab (
const QString& name, QWidget *tabContents) = 0;
366 virtual void removeTab (QWidget *tabContents) = 0;
387 virtual void changeTabName (QWidget *tabContents,
const QString& name) = 0;
406 virtual void changeTabIcon (QWidget *tabContents,
const QIcon& icon) = 0;
432 virtual void statusBarChanged (QWidget *tabContents,
const QString& text) = 0;
446 virtual void raiseTab (QWidget *tabContents) = 0;
449 Q_DECLARE_OPERATORS_FOR_FLAGS (LC::TabFeatures)
451 Q_DECLARE_INTERFACE (
ITabWidget,
"org.Deviant.LeechCraft.ITabWidget/1.0")
QIcon Icon_
The icon for the given tab class.
Q_DECLARE_FLAGS(TabFeatures, LC::TabFeature)
Interface for plugins that have one or more tabs.
QByteArray TabClass_
The tab class ID, which should be globally unique.
@ TFSuggestOpening
The tab is to be suggested in a quick launch area.
QString VisibleName_
Visible name for the given tab class.
@ TFEmpty
No special features.
@ TFSingle
There could be only one instance of this tab.
@ TFOpenableByRequest
This tab could be opened by user request.
The structure describing a single tab class.
@ TFByDefault
The tab should be opened by default.
QList< TabClassInfo > TabClasses_t
@ TFOverridesTabClose
The tab uses the standard tab close shortcut (Ctrl+W).
QString Description_
The description of the given tab class.
TabFeatures Features_
The features of this tab class.
quint16 Priority_
The priority of this tab class.
TabFeature
Defines different behavior features of tab classes.