Public Slots |
| void | setVisible (bool) |
| | Sets whether or not to display the watermark.
|
Protected Slots |
| virtual void | drawWatermark (QPainter *) |
| | Called in response to aboutToDraw signal of map lens area.
|
Protected Member Functions |
| void | paintEvent (QPaintEvent *event) |
| | Draws image.
|
| virtual QPoint | origin () const |
| | Calculate origin of watermark by position and parent.
|
Constructor & Destructor Documentation
| virtual DtTMWatermark::~DtTMWatermark |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual bool DtTMWatermark::init |
( |
const QString & |
image, |
|
|
int |
position, |
|
|
const QPoint & |
originOverride, |
|
|
double |
scaleFactor |
|
) |
| |
|
virtual |
| virtual void DtTMWatermark::setPosition |
( |
int |
| ) |
|
|
virtual |
| int DtTMWatermark::position |
( |
| ) |
const |
|
inline |
| virtual bool DtTMWatermark::setImage |
( |
const QString & |
image | ) |
|
|
virtual |
Sets the watermark image. Returns true if set successfully.
| const QString & DtTMWatermark::image |
( |
| ) |
const |
|
inline |
| virtual void DtTMWatermark::setOriginOverride |
( |
const QPoint & |
| ) |
|
|
virtual |
| const QPoint & DtTMWatermark::originOverride |
( |
| ) |
const |
|
inline |
| virtual void DtTMWatermark::setScaleFactor |
( |
double |
| ) |
|
|
virtual |
| double DtTMWatermark::scaleFactor |
( |
| ) |
const |
|
inline |
| bool DtTMWatermark::visible |
( |
| ) |
const |
|
inline |
| void DtTMWatermark::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protected |
| virtual QPoint DtTMWatermark::origin |
( |
| ) |
const |
|
protectedvirtual |
Calculate origin of watermark by position and parent.
| void DtTMWatermark::setVisible |
( |
bool |
b | ) |
|
|
inlineslot |
| virtual void DtTMWatermark::drawWatermark |
( |
QPainter * |
| ) |
|
|
protectedvirtualslot |
Called in response to aboutToDraw signal of map lens area.
| void DtTMWatermark::visibilityChanged |
( |
| ) |
|
|
signal |
Member Data Documentation
| QString DtTMWatermark::myWatermark |
|
protected |
| QPixmap DtTMWatermark::myWatermarkImage |
|
protected |
| int DtTMWatermark::myPosition |
|
protected |
| QPoint DtTMWatermark::myOriginOverride |
|
protected |
| double DtTMWatermark::myScaleFactor |
|
protected |
| bool DtTMWatermark::myVisible |
|
protected |
The documentation for this class was generated from the following file: