7 #include "fwRenderQt/data/InitQtPen.hpp" 9 #include <fwCore/base.hpp> 20 QColor color(QString::fromStdString(_color));
28 _pen.setColor(Qt::GlobalColor(Qt::black));
30 _pen.setCosmetic(
true);
39 QColor color = _pen.color();
40 color.setAlphaF( _opacity );
41 _pen.setColor( color );
static FWRENDERQT_API void setPenColor(QPen &_pen, std::string _color)
Set a pen a color.
The namespace fwRenderQt contains classes for rendering with Qt.