FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
seer/src/QZoomChartView.h at main · CKLinuxProject/seer · GitHub
CKLinuxProject
/
seer
Public
forked from
epasveer/seer
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
seer
/
src
/
QZoomChartView.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
33 lines (25 loc) · 1.19 KB
Breadcrumbs
seer
/
src
/
QZoomChartView.h
Copy path
File metadata and controls
33 lines (25 loc) · 1.19 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
pragma
once
#
include
<
QtCharts/QChartView
>
#
include
<
QtWidgets/QRubberBand
>
#
include
<
QtCore/QPointF
>
using
namespace
QtCharts
;
class
QZoomChartView
:
public
QChartView
{
public:
QZoomChartView
(QWidget* parent =
0
);
QZoomChartView
(QtCharts::QChart* chart, QWidget* parent =
0
);
public slots:
void
printView
();
protected:
bool
viewportEvent
(QEvent* event);
void
mousePressEvent
(QMouseEvent* event);
void
mouseMoveEvent
(QMouseEvent* event);
void
mouseReleaseEvent
(QMouseEvent* event);
void
wheelEvent
(QWheelEvent* event);
void
keyPressEvent
(QKeyEvent* event);
void
enterEvent
(QEvent* event);
void
leaveEvent
(QEvent* event);
private:
bool
_isDragging;
QPointF _lastMousePos;
Qt::KeyboardModifiers _keyboardModifiers;
};
Back
|
FazBrowse Home
|
New Git URL