fw4spl
InitQtPen.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2017.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #ifndef __FWRENDERQT_DATA_INITQTPEN_HPP__
8 #define __FWRENDERQT_DATA_INITQTPEN_HPP__
9 
10 #include "fwRenderQt/config.hpp"
11 
12 #include <QPen>
13 
14 namespace fwRenderQt
15 {
16 namespace data
17 {
18 
19 class FWRENDERQT_CLASS_API InitQtPen
20 {
21 
22 public:
23 
25  FWRENDERQT_API static void setPenColor(QPen& _pen, std::string _color);
26 
28  FWRENDERQT_API static void setPenColor(QPen& _pen, std::string _color, float _opacity);
29 };
30 
31 } // namespace data
32 } // namespace fwRenderQt
33 
34 #endif // __FWRENDERQT_DATA_INITQTPEN_HPP__
The namespace fwRenderQt contains classes for rendering with Qt.
Definition: Axis.hpp:12