diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2017-04-05 16:51:12 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2017-04-07 07:00:11 +0000 |
commit | ddc020d6078572b8b5d17b6523acf70bd35b0518 (patch) | |
tree | ebfb42a4ed53067c82464f2d906dc422a1049b7a /src/datavisualization/data/qbardataitem.cpp | |
parent | 6725566ff329c2ec94b7f7acd017221587f7cd8d (diff) |
Doc: Edit data item docs for grammar and style
Change-Id: Ic93eb2648bdff84e88acdf7941ddd85cc6d874ca
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/datavisualization/data/qbardataitem.cpp')
-rw-r--r-- | src/datavisualization/data/qbardataitem.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/datavisualization/data/qbardataitem.cpp b/src/datavisualization/data/qbardataitem.cpp index a5f13fb2..5827cf42 100644 --- a/src/datavisualization/data/qbardataitem.cpp +++ b/src/datavisualization/data/qbardataitem.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2016 The Qt Company Ltd. +** Copyright (C) 2017 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Data Visualization module of the Qt Toolkit. @@ -37,14 +37,14 @@ QT_BEGIN_NAMESPACE_DATAVISUALIZATION * \brief The QBarDataItem class provides a container for resolved data to be added to bar graphs. * \since QtDataVisualization 1.0 * - * A QBarDataItem holds data for a single rendered bar in a graph. - * Bar data proxies parse data into QBarDataItem instances for visualizing. + * A bar data item holds the data for a single rendered bar in a graph. + * Bar data proxies parse data into QBarDataItem instances for visualization. * * \sa QBarDataProxy, {Qt Data Visualization C++ Classes} */ /*! - * Constructs QBarDataItem. + * Constructs a bar data item. */ QBarDataItem::QBarDataItem() : d_ptr(0), // private data doesn't exist by default (optimization) @@ -54,7 +54,7 @@ QBarDataItem::QBarDataItem() } /*! - * Constructs QBarDataItem with \a value. + * Constructs a bar data item with the value \a value. */ QBarDataItem::QBarDataItem(float value) : d_ptr(0), @@ -64,7 +64,7 @@ QBarDataItem::QBarDataItem(float value) } /*! - * Constructs QBarDataItem with \a value and \a angle + * Constructs a bar data item with the value \a value and angle \a angle. */ QBarDataItem::QBarDataItem(float value, float angle) : d_ptr(0), @@ -82,7 +82,7 @@ QBarDataItem::QBarDataItem(const QBarDataItem &other) } /*! - * Destroys QBarDataItem. + * Deletes a bar data item. */ QBarDataItem::~QBarDataItem() { @@ -105,22 +105,22 @@ QBarDataItem &QBarDataItem::operator=(const QBarDataItem &other) /*! * \fn void QBarDataItem::setValue(float val) - * Sets value \a val to this data item. + * Sets the value \a val to this data item. */ /*! * \fn float QBarDataItem::value() const - * \return value of this data item. + * Returns the value of this data item. */ /*! * \fn void QBarDataItem::setRotation(float angle) - * Sets rotation \a angle in degrees for this data item. + * Sets the rotation angle \a angle in degrees for this data item. */ /*! * \fn float QBarDataItem::rotation() const - * \return rotation angle in degrees for this data item. + * Returns the rotation angle in degrees for this data item. */ /*! |