Logo Search packages:      
Sourcecode: kbarcode version File versions  Download package

DrawingRect Class Reference

#include <mycanvasitem.h>

Inheritance diagram for DrawingRect:

List of all members.

Detailed Description

A colored rectangle or ellipse in the LabelEditor.

Definition at line 158 of file mycanvasitem.h.


void colorChanged ()

Public Member Functions

const QColor borderColor () const
int borderStyle () const
int borderWidth () const
QColor color () const
void draw (QPainter &p)
 DrawingRect (const QColor &cl, QCanvas *c)
 DrawingRect (QCanvas *c)
QPixmap getPixmap () const
double getRotation () const
QPixmap getTransformedPixmap ()
bool isCircle () const
void pMove (QPoint p)
void redraw ()
int rtti () const
void setAutoSize (bool b)
void setBorderColor (const QColor &c)
void setBorderStyle (int s)
void setBorderWidth (int w)
void setCircle (bool b)
void setColor (const QColor &c)
void setPicture (QPicture *p, int w, int h)
void setPixmap (QPixmap *p)
void setRot (double r)

Protected Attributes

bool m_autosize
QColor m_color
QPicture picture
QPixmap pix
double rot

Private Member Functions

void draw ()
void init ()

Private Attributes

QColor m_bordercolor
int m_borderstyle
int m_borderwidth
bool m_circle

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index