##// END OF EJS Templates
Parser refactoring (3)...
Parser refactoring (3) Implements properties reading and properties checking Implementation takes some of the basic parser, which will be deleted at the end

File last commit:

r892:28af007d2663
r987:49134789d5f3
Show More
DragDropTabSwitcher.h
29 lines | 650 B | text/x-c | CLexer
New event filter class to manage the tab switching of a tabBar during a drag&drop
r892 #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