首页 > 慧问 > 频道

AnyChart图表如何设置透明皮肤[AnyChart]

发表于2019-05-10 回复:0 查看:2546  |  
如何设置AnyChart图表透明皮肤,也就是说让整个图表透明,能够看到页面的背景图或者颜色
1个回答
  • 1970-01-01 08:00
    不光Qt4,Qt5也是这样的。QRunnable的定义是: <pre class='brush: csharp'>class Q _CORE _EXPORT QRunnable { int ref; friend class QThreadPool; friend class QThreadPoolPrivate; friend class QThreadPoolThread; if QT _VERSION >= QT _VERSION _CHECK(6, 0, 0) Q _DISABLE _COPY(QRunnable) endif public: virtual void run() = 0; QRunnable() : ref(0) { } virtual ~QRunnable(); bool autoDelete() const { return ref != -1; } void setAutoDelete(bool _autoDelete) { ref = _autoDelete ? 0 : -1; } };</pre> QRunnable不是QObject的子类,所以自身无法使用signal/slot。但是你可以定义其它的辅助类继承QObject来实现。
    1
    回复 举报
回复

登录 慧都网发表评论

扫码咨询


添加微信 立即咨询

电话咨询

客服热线
023-68661681

TOP