Maki
Formally verified low-code orchestration
Loading...
Searching...
No Matches
editor_tab_bar.h
1#pragma once
2
3#include <QMouseEvent>
4#include <QTabBar>
5
6namespace maki
7{
8class EditorTabBar final : public QTabBar
9{
10 Q_OBJECT
11public:
12 explicit EditorTabBar(QWidget* parent = nullptr);
13
14protected:
15 void mousePressEvent(QMouseEvent* event) override;
16 void mouseMoveEvent(QMouseEvent* event) override;
17
18private:
19 QPoint mPressPosition;
20 int mPressIndex = -1;
21
22 QPixmap createDragPreview(int index) const;
23};
24} // namespace maki
Contains UI helper widgets and layout grouping utilities used by MAKI.
Definition macros.h:9