|
|
|
@ -29,6 +29,7 @@
@@ -29,6 +29,7 @@
|
|
|
|
|
#ifndef ADVANCEDSETTINGS_H |
|
|
|
|
#define ADVANCEDSETTINGS_H |
|
|
|
|
|
|
|
|
|
#include <QEvent> |
|
|
|
|
#include <QLabel> |
|
|
|
|
#include <QSpinBox> |
|
|
|
|
#include <QCheckBox> |
|
|
|
@ -37,6 +38,22 @@
@@ -37,6 +38,22 @@
|
|
|
|
|
#include <QTableWidget> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class WheelEventEater: public QObject |
|
|
|
|
{ |
|
|
|
|
Q_OBJECT |
|
|
|
|
|
|
|
|
|
private: |
|
|
|
|
bool eventFilter(QObject *obj, QEvent *event) |
|
|
|
|
{ |
|
|
|
|
switch (event->type()) { |
|
|
|
|
case QEvent::Wheel: |
|
|
|
|
return true; |
|
|
|
|
default: |
|
|
|
|
return QObject::eventFilter(obj, event); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
class AdvancedSettings: public QTableWidget |
|
|
|
|
{ |
|
|
|
|
Q_OBJECT |
|
|
|
|