##// END OF EJS Templates
Some WIP refactoring, trying to remove TimeController object...
Some WIP refactoring, trying to remove TimeController object SciQLOP core should be usable OOTB without creating controllers objects. Time range should be given on variable creation not taken from a global object. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r886:28af007d2663
r1345:ce477e992869
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