|
DAWorkbench 0.0.1
DAWorkbench API
|
针对坐标轴QwtScaleWidget的StandardItem类 更多...
#include <DAStandardItemPlotScale.h>
Public 类型 | |
| enum | { Type = QStandardItem::UserType + 2 } |
| enum | ItemType { PlotScaleText , PlotScaleVisible , PlotScaleProperty } |
| 指定这个item的类型 更多... | |
Public 成员函数 | |
| DAStandardItemPlotScale (QwtPlot *plot, QwtAxisId axisid, ItemType plotScaleType) | |
| QVariant | data (int role=Qt::UserRole+1) const override |
| QVariant | handleItemTextType (int role) const |
| 处理文字显示 | |
| QVariant | handleItemVisibleType (int role) const |
| QVariant | handleScalePropertyType (int role) const |
| int | type () const override |
| QwtPlot * | plot () const |
| QwtAxisId | axisId () const |
| ItemType | itemType () const |
| bool | isValid () const |
| QString | axisScaleTypeString (const QwtPlot *plot, QwtAxisId axisId) |
静态 Public 成员函数 | |
| static QString | axisIdToText (QwtAxisId id) |
针对坐标轴QwtScaleWidget的StandardItem类
| QVariant DA::DAStandardItemPlotScale::handleItemTextType | ( | int | role | ) | const |
处理文字显示
| role |