QBarDataItem Class
QBarDataItem クラスは、棒グラフに追加される解決済みデータを格納するためのコンテナを提供します。詳細...
| ヘッダー: | #include <QBarDataItem> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Graphs) target_link_libraries(mytarget PRIVATE Qt6::Graphs) |
| qmake: | QT += graphs |
- 継承されたメンバーを含む、すべてのメンバーの一覧
- QBarDataItemは、Qt Graphs の3D用C++クラスの一部です。
パブリック関数
| QBarDataItem() | |
| QBarDataItem(float value) | |
| QBarDataItem(float value, float angle) | |
| float | rotation() const |
| void | setRotation(float angle) |
| void | setValue(float val) |
| float | value() const |
QBarDataProxy およびQt Graphs C++ 3D クラスも参照してください 。
メンバ関数のドキュメント
[constexpr noexcept default] QBarDataItem::QBarDataItem()
棒グラフのデータ項目を作成します。
[explicit constexpr noexcept] QBarDataItem::QBarDataItem(float value)
値「value 」を持つ棒グラフデータ項目を作成します。
[explicit constexpr noexcept] QBarDataItem::QBarDataItem(float value, float angle)
値がvalue 、角度がangle の棒グラフデータ項目を作成します。
[constexpr noexcept] float QBarDataItem::rotation() const
このデータ項目の回転角度を度単位で返します。
setRotation()も参照してください 。
[constexpr noexcept] void QBarDataItem::setRotation(float angle)
このデータ項目の回転角度angle を度単位で設定します。
rotation()も参照してください 。
[constexpr noexcept] void QBarDataItem::setValue(float val)
このデータ項目に値「val 」を設定します。
value()も参照してください 。
[constexpr noexcept] float QBarDataItem::value() const
このデータ項目の値を返します。
setValue()も参照してください 。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.