Qt Virtual Chart Table (QVCT)
COverlayContainer.hpp
Go to the documentation of this file.
1
// INDENTING (emacs/vi): -*- mode:c++; tab-width:2; c-basic-offset:2; intent-tabs-mode:nil; -*- ex: set tabstop=2 expandtab:
2
3
/*
4
* Qt Virtual Chart Table (QVCT)
5
* Copyright (C) 2012 Cedric Dufour <http://cedric.dufour.name>
6
* Author: Cedric Dufour <http://cedric.dufour.name>
7
*
8
* The Qt Virtual Chart Table (QVCT) is free software:
9
* you can redistribute it and/or modify it under the terms of the GNU General
10
* Public License as published by the Free Software Foundation, Version 3.
11
*
12
* The Qt Virtual Chart Table (QVCT) is distributed in the hope
13
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
14
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15
*
16
* See the GNU General Public License for more details.
17
*/
18
19
#ifndef QVCT_COVERLAYCONTAINER_HPP
20
#define QVCT_COVERLAYCONTAINER_HPP
21
22
// QT
23
#include <QObject>
24
25
// QVCT
26
#include "
overlays/COverlayObject.hpp
"
27
class
COverlayPoint
;
28
29
31
37
class
COverlayContainer
:
public
COverlayObject
38
{
39
// Q_OBJECT // required for 'tr' support
40
41
//------------------------------------------------------------------------------
42
// CONSTRUCTORS / DESTRUCTOR
43
//------------------------------------------------------------------------------
44
45
protected
:
46
COverlayContainer
(
COverlayObject::EType
_eType,
const
QString& _rqsName );
47
virtual
~COverlayContainer
() {};
48
49
50
//------------------------------------------------------------------------------
51
// METHODS
52
//------------------------------------------------------------------------------
53
54
// OTHER
55
public
:
57
virtual
COverlayPoint
*
matchScrPosition
(
const
CChart
* _poChart,
const
QPointF& _rqPointFScrPosition )
const
= 0;
58
59
};
60
61
#endif
// QVCT_COVERLAYCONTAINER_HPP
COverlayObject.hpp
CChart
[UI] Chart (view)
Definition:
CChart.hpp:44
COverlayContainer
Generic overlay container.
Definition:
COverlayContainer.hpp:38
COverlayContainer::~COverlayContainer
virtual ~COverlayContainer()
Definition:
COverlayContainer.hpp:47
COverlayContainer::COverlayContainer
COverlayContainer(COverlayObject::EType _eType, const QString &_rqsName)
Definition:
COverlayContainer.cpp:27
COverlayContainer::matchScrPosition
virtual COverlayPoint * matchScrPosition(const CChart *_poChart, const QPointF &_rqPointFScrPosition) const =0
Returns the overlay container's point that (first) matches the given screen position (0 if none is fo...
COverlayObject
Generic overlay object.
Definition:
COverlayObject.hpp:39
COverlayObject::EType
EType
Overlay object type.
Definition:
COverlayObject.hpp:48
COverlayPoint
Generic overlay point.
Definition:
COverlayPoint.hpp:46
overlays
COverlayContainer.hpp
Generated on Wed May 25 2022 19:46:17 for Qt Virtual Chart Table (QVCT) by
1.9.1