##// END OF EJS Templates
Separate the initialization of the properties of the graph of the update of the units of the graph....
Separate the initialization of the properties of the graph of the update of the units of the graph. The initialization of the properties is carried out when adding a variable in the graph, the update of the units is carried out when loading the data of this variable

File last commit:

r892:28af007d2663
r1308:41b7c6aab8be
Show More
DragDropTabSwitcher.h
29 lines | 650 B | text/x-c | CLexer
#ifndef SCIQLOP_DRAGDROPTABSWITCHER_H
#define SCIQLOP_DRAGDROPTABSWITCHER_H
#include <Common/spimpl.h>
#include <QLoggingCategory>
#include <QTabBar>
Q_DECLARE_LOGGING_CATEGORY(LOG_DragDropTabSwitcher)
class DragDropTabSwitcher : public QObject {
Q_OBJECT
public:
DragDropTabSwitcher(QObject *parent = nullptr);
void addTabBar(QTabBar *tabBar);
void removeTabBar(QTabBar *tabBar);
protected:
bool eventFilter(QObject *obj, QEvent *event);
private:
class DragDropTabSwitcherPrivate;
spimpl::unique_impl_ptr<DragDropTabSwitcherPrivate> impl;
};
#endif // SCIQLOP_DRAGDROPTABSWITCHER_H