QWT 7.0.1
Loading...
Searching...
No Matches
Functions
Qwt Namespace Reference

Some constants for use within Qwt. More...

Functions

QColor plotItemColor (QwtPlotItem *item, const QColor &defaultColor)
 获取item的颜色
 

Detailed Description

Some constants for use within Qwt.

Function Documentation

◆ plotItemColor()

QColor QWT_EXPORT Qwt::plotItemColor ( QwtPlotItem item,
const QColor &  defaultColor 
)

获取item的颜色

Note
此函数使用dynamic_cast
Parameters
item
defaultColor默认颜色,无法获取时返回
Returns