Qt Virtual Chart Table (QVCT)
COverlayItem.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_COVERLAYITEM_HPP
20 #define QVCT_COVERLAYITEM_HPP
21 
22 // QT
23 #include <QObject>
24 
25 // QVCT
27 
28 
30 
37 {
38 
39  //------------------------------------------------------------------------------
40  // FIELDS
41  //------------------------------------------------------------------------------
42 
43 protected:
45 
47 
48 
49  //------------------------------------------------------------------------------
50  // CONSTRUCTORS / DESTRUCTOR
51  //------------------------------------------------------------------------------
52 
53 protected:
54  COverlayItem( COverlayObject::EType _eType, const QString& _rqsName );
55  virtual ~COverlayItem() {};
56 
57 
58  //------------------------------------------------------------------------------
59  // METHODS
60  //------------------------------------------------------------------------------
61 
62  // SETTERS
63 public:
65  void setMultiSelected( bool _bMultiSelected ) { bMultiSelected = _bMultiSelected; };
66 
67  // GETTERS
68 public:
70  bool isMultiSelected() const { return bMultiSelected; };
71 
72 };
73 
74 #endif // QVCT_COVERLAYITEM_HPP
Generic overlay item.
virtual ~COverlayItem()
bool bMultiSelected
Item's selection status.
COverlayItem(COverlayObject::EType _eType, const QString &_rqsName)
void setMultiSelected(bool _bMultiSelected)
Sets this item's selection status.
bool isMultiSelected() const
Returns this item's selection status.
Generic overlay object.
EType
Overlay object type.