KDWinUtils
Helper library for MFC to Qt migration
|
The KPen class defines a font to be used during painting. More...
#include <kpen.h>
Public Types | |
enum | PenStyle { Solid = 0 , Dash = 1 , Dot = 2 , DashDot = 3 , DashDotDot = 4 , Null = 5 , InsideFrame = 6 , UserStyle = 7 , Alternate = 8 , StyleMask = 0x0000000F } |
Public Member Functions | |
KPen (const CPen &pen) | |
KPen (const QPen &pen) | |
KPen (PenStyle style, int width, const QColor &color) | |
The KPen class defines a font to be used during painting.
This class can replace CPen with the same API, and can be used in the same way as QPen (it's inheriting QPen).
enum KPen::PenStyle |
KPen::KPen | ( | const QPen & | pen | ) |
Constructs a pen based on QPen.
KPen::KPen | ( | PenStyle | style, |
int | width, | ||
const QColor & | color ) |
Constructs a pen based on a style, width and color.
KPen::KPen | ( | const CPen & | pen | ) |
Constructs a pen based on CPen.