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;
260 virtual void removeTab () = 0;
377 virtual void TabOpenRequested (
const QByteArray& tabClass) = 0;
380 Q_DECLARE_OPERATORS_FOR_FLAGS (LC::TabFeatures)
382 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).