##// END OF EJS Templates
barchart: doc update for hover signals
sauimone -
r980:29373936de0b
parent child
Show More
@@ -68,6 +68,14 QTCOMMERCIALCHART_BEGIN_NAMESPACE
68 68 */
69 69
70 70 /*!
71 \fn void QBarSeries::hovered(QBarSet* barset, bool status)
72
73 The signal is emitted if mouse is hovered on top of series.
74 Parameter \a barset is the pointer of barset, where hover happened.
75 Parameter \a status is true, if mouse entered on top of series, false if mouse left from top of series.
76 */
77
78 /*!
71 79 Constructs empty QBarSeries. Parameter \a categories defines the categories for chart.
72 80 QBarSeries is QObject which is a child of a \a parent.
73 81 */
@@ -77,6 +85,14 QBarSeries::QBarSeries(QBarCategories categories, QObject *parent) :
77 85 }
78 86
79 87 /*!
88 Destructs barseries and owned barsets.
89 */
90 QBarSeries::~QBarSeries()
91 {
92 // NOTE: d_ptr destroyed by QObject
93 }
94
95 /*!
80 96 \internal
81 97 */
82 98 QBarSeries::QBarSeries(QBarSeriesPrivate &d, QObject *parent) :
@@ -84,6 +100,9 QBarSeries::QBarSeries(QBarSeriesPrivate &d, QObject *parent) :
84 100 {
85 101 }
86 102
103 /*!
104 Returns the type of series. Derived classes override this.
105 */
87 106 QSeries::QSeriesType QBarSeries::type() const
88 107 {
89 108 return QSeries::SeriesTypeBar;
@@ -41,6 +41,7 class QTCOMMERCIALCHART_EXPORT QBarSeries : public QSeries
41 41 Q_OBJECT
42 42 public:
43 43 explicit QBarSeries(QBarCategories categories, QObject *parent = 0);
44 virtual ~QBarSeries();
44 45
45 46 QSeries::QSeriesType type() const;
46 47
@@ -45,8 +45,16 QTCOMMERCIALCHART_BEGIN_NAMESPACE
45 45 */
46 46
47 47 /*!
48 \fn void QBarSet::selected()
49 \brief signals that set has been selected
50 */
51
52 /*!
48 53 \fn void QBarSet::hovered(bool status)
49 54 \brief signals that mouse has hovered over the set. If \a status is true, then mouse was entered. If \a status is false, then mouse was left.
55
56 The signal is emitted if mouse is hovered on top of set
57 Parameter \a status is true, if mouse entered on top of series, false if mouse left from top of series.
50 58 */
51 59
52 60 /*!
@@ -58,9 +66,12 QBarSet::QBarSet(QString name, QObject *parent)
58 66 {
59 67 }
60 68
69 /*!
70 Destroys the barset
71 */
61 72 QBarSet::~QBarSet()
62 73 {
63
74 // NOTE: d_ptr destroyed by QObject
64 75 }
65 76
66 77 /*!
@@ -35,7 +35,7 class QTCOMMERCIALCHART_EXPORT QBarSet : public QObject
35 35
36 36 public:
37 37 explicit QBarSet(QString name, QObject *parent = 0);
38 ~QBarSet();
38 virtual ~QBarSet();
39 39
40 40 void setName(QString name);
41 41 QString name() const;
General Comments 0
You need to be logged in to leave comments. Login now