VAPOR3 3.9.4
VHBoxWidget.h
Go to the documentation of this file.
1#pragma once
2
3#include <QFrame>
4#include <QHBoxLayout>
5
6#include <string>
7
8#include "VLineItem.h"
9
15
16class VHBoxWidget : public QFrame {
17 Q_OBJECT
18
19public:
20 // virtual QSize sizeHint() const;
21
22protected:
24
25private:
26 static const int _LEFT_MARGIN;
27 static const int _TOP_MARGIN;
28 static const int _RIGHT_MARGIN;
29 static const int _BOTTOM_MARGIN;
30};
31
32// Helper object for disabling the mouse scroll-wheel on a given widget.
33//
34
35#include <QObject>
36
37class MouseWheelWidgetAdjustmentGuard : public QObject {
38public:
39 explicit MouseWheelWidgetAdjustmentGuard(QObject *parent);
40
41protected:
42 bool eventFilter(QObject *o, QEvent *e) override;
43};
bool eventFilter(QObject *o, QEvent *e) override
MouseWheelWidgetAdjustmentGuard(QObject *parent)