12 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
Convenience tab bar implementation.
Definition: EnhancedTabBar.h:36
void closeRequested(int id)
Signal that indicates that the tab with identifier id is requested to be removed (double click or con...
void setTabText(const QString &text)
sets the text of the current tab
void dropEvent(QDropEvent *e) override
int tabAt_(const QPoint &pos)
Returns the QTabBar index of the tab at position pos. If there is no tab at that position -1 is retur...
void removeId(int id)
Remove the tab with identifier id.
void dragEnterEvent(QDragEnterEvent *e) override
void show(int id)
Selects the tab with identifier id.
void currentIdChanged(int id)
Signal that indicates that the current tab changed, giving the id of the Tab.
int addTab(const String &text, int id)
Adds a new tab with the name text and the identifier id.
void contextMenuEvent(QContextMenuEvent *e) override
~EnhancedTabBar() override
Destructor.
EnhancedTabBar(QWidget *parent=nullptr)
Constructor.
void mouseDoubleClickEvent(QMouseEvent *e) override
void dropOnWidget(const QMimeData *data, QWidget *source)
Signal that is emitted, when a drag-and-drop action ends on the unused space on the right side of the...
void dropOnTab(const QMimeData *data, QWidget *source, int id)
Signal that is emitted, when a drag-and-drop action ends on a tab.
void currentChanged_(int id)
Slot that translates the currentChanged(int) signal to currentIdChanged(int)
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22