35 #ifndef OPENMS_VISUAL_ENHANCEDTABBAR_H
36 #define OPENMS_VISUAL_ENHANCEDTABBAR_H
38 #include <OpenMS/config.h>
41 #include <QtGui/QTabBar>
72 int addTab(
const String & text,
int id);
75 void setCurrentId(
int id);
79 void removeId(
int id);
83 void currentIdChanged(
int id);
86 void aboutToCloseId(
int id);
89 void dropOnTab(
const QMimeData * data,
QWidget * source,
int id);
92 void dropOnWidget(
const QMimeData * data,
QWidget * source);
97 void mouseDoubleClickEvent(QMouseEvent * e);
98 void contextMenuEvent(QContextMenuEvent * e);
99 void dragEnterEvent(QDragEnterEvent * e);
100 void dropEvent(QDropEvent * e);
104 int tabAt_(
const QPoint & pos);
108 void currentChanged_(
int id);
112 #endif // OPENMS_VISUAL_ENHANCEDTABBAR_H
A more convenient string class.
Definition: String.h:56
Convenience tab bar implementation.
Definition: EnhancedTabBar.h:60