kivio
KivioSMLStencil Class Reference
Inheritance diagram for KivioSMLStencil:

Detailed Description
Definition at line 36 of file kivio_sml_stencil.h.
Constructor & Destructor Documentation
KivioSMLStencil::KivioSMLStencil | ( | ) |
Default constructor.
Allocates a new shape list, connector targets, and original connector targets.
Definition at line 55 of file kivio_sml_stencil.cpp.
KivioSMLStencil::~KivioSMLStencil | ( | ) | [virtual] |
Member Function Documentation
KivioShape * KivioSMLStencil::locateShape | ( | const QString & | ) | [protected] |
void KivioSMLStencil::loadConnectorTargetListXML | ( | const QDomElement & | ) | [protected] |
bool KivioSMLStencil::loadXML | ( | const QDomElement & | ) | [virtual] |
Loads a KivioSMLStencil from an XML node.
Reimplemented from KivioStencil.
Definition at line 89 of file kivio_sml_stencil.cpp.
QDomElement KivioSMLStencil::saveXML | ( | QDomDocument & | ) | [virtual] |
Saves this object to an XMLELement.
Reimplemented from KivioStencil.
Definition at line 203 of file kivio_sml_stencil.cpp.
void KivioSMLStencil::paintOutline | ( | KivioIntraStencilData * | ) | [virtual] |
Paint the outline of the stencil.
Reimplemented from KivioStencil.
Definition at line 303 of file kivio_sml_stencil.cpp.
void KivioSMLStencil::paint | ( | KivioIntraStencilData * | ) | [virtual] |
Paints the stencil.
Reimplemented from KivioStencil.
Definition at line 754 of file kivio_sml_stencil.cpp.
void KivioSMLStencil::paintConnectorTargets | ( | KivioIntraStencilData * | ) | [virtual] |
Paints the connector targets of this stencil.
Reimplemented from KivioStencil.
Definition at line 835 of file kivio_sml_stencil.cpp.
KivioStencil * KivioSMLStencil::duplicate | ( | ) | [virtual] |
Duplicates this object.
Duplicates all aspects of this object except for the stencil connected to the targets.
Reimplemented from KivioStencil.
Definition at line 255 of file kivio_sml_stencil.cpp.
QColor KivioSMLStencil::fgColor | ( | ) | [virtual] |
Get the Fg color of a stencil.
Reimplemented from KivioStencil.
Definition at line 1774 of file kivio_sml_stencil.cpp.
QColor KivioSMLStencil::bgColor | ( | ) | [virtual] |
Get the bg color of this stencil.
Reimplemented from KivioStencil.
Definition at line 1789 of file kivio_sml_stencil.cpp.
void KivioSMLStencil::setFGColor | ( | QColor | ) | [virtual] |
Set the fg color of this stencil.
Reimplemented from KivioStencil.
Definition at line 1353 of file kivio_sml_stencil.cpp.
void KivioSMLStencil::setBGColor | ( | QColor | ) | [virtual] |
Set the bg color of this stencil.
Reimplemented from KivioStencil.
Definition at line 1371 of file kivio_sml_stencil.cpp.
void KivioSMLStencil::setLineWidth | ( | double | ) | [virtual] |
Set the line width of this stencil.
Reimplemented from KivioStencil.
Definition at line 1435 of file kivio_sml_stencil.cpp.
double KivioSMLStencil::lineWidth | ( | ) | [virtual] |
Get the line width of this stencil.
Reimplemented from KivioStencil.
Definition at line 1750 of file kivio_sml_stencil.cpp.
void KivioSMLStencil::setTextColor | ( | QColor | ) | [virtual] |
Set the text color of this stencil.
Reimplemented from KivioStencil.
Definition at line 1400 of file kivio_sml_stencil.cpp.
void KivioSMLStencil::setTextFont | ( | const QFont & | ) | [virtual] |
Set the text font of this stencil.
Reimplemented from KivioStencil.
Definition at line 1417 of file kivio_sml_stencil.cpp.
void KivioSMLStencil::setHTextAlign | ( | int | ) | [virtual] |
Sets the horizontal alignemnt of this stencil.
Reimplemented from KivioStencil.
Definition at line 1626 of file kivio_sml_stencil.cpp.
void KivioSMLStencil::setVTextAlign | ( | int | ) | [virtual] |
Set the vertical alignment of this stencil.
Reimplemented from KivioStencil.
Definition at line 1645 of file kivio_sml_stencil.cpp.
int KivioSMLStencil::hTextAlign | ( | ) | [virtual] |
Get the horizontal alignment of this stencil.
Reimplemented from KivioStencil.
Definition at line 1664 of file kivio_sml_stencil.cpp.
int KivioSMLStencil::vTextAlign | ( | ) | [virtual] |
Get the vertical text alignment of this stencil.
Reimplemented from KivioStencil.
Definition at line 1686 of file kivio_sml_stencil.cpp.
QString KivioSMLStencil::text | ( | ) | [virtual] |
Get the text of this stencil.
Reimplemented from KivioStencil.
Definition at line 1708 of file kivio_sml_stencil.cpp.
void KivioSMLStencil::setText | ( | const QString & | ) | [virtual] |
Set the text of this stencil.
Reimplemented from KivioStencil.
Definition at line 1730 of file kivio_sml_stencil.cpp.
QFont KivioSMLStencil::textFont | ( | ) | [virtual] |
Gets the font of this stencil.
Reimplemented from KivioStencil.
Definition at line 1586 of file kivio_sml_stencil.cpp.
KivioCollisionType KivioSMLStencil::checkForCollision | ( | KoPoint * | , | |
double | ||||
) | [virtual] |
Check for a collision in this stencil.
Reimplemented from KivioStencil.
Definition at line 1846 of file kivio_sml_stencil.cpp.
KivioConnectorTarget * KivioSMLStencil::connectToTarget | ( | KivioConnectorPoint * | p, | |
double | threshHold | |||
) | [virtual] |
Attempts to connect a KivioConnectorPoint to this stencil.
This function will attempt to locate a KivioConnectorTarget in this stencil with-in a given threshold. If it finds it, it will connect the point to it, and return the target of the connection.
Reimplemented from KivioStencil.
Definition at line 1466 of file kivio_sml_stencil.cpp.
KivioConnectorTarget * KivioSMLStencil::connectToTarget | ( | KivioConnectorPoint * | p, | |
int | ||||
) | [virtual] |
Connects a KivioConnectorPoint to this stencil via targetID.
This function is called during loads, *ONLY* loads.
Reimplemented from KivioStencil.
Definition at line 1531 of file kivio_sml_stencil.cpp.
void KivioSMLStencil::updateGeometry | ( | ) | [virtual] |
Updates the geometry of this stencil.
This function rearranges the KivioConnectorTargets to reflect that of the width/height/position.
Reimplemented from KivioStencil.
Definition at line 1558 of file kivio_sml_stencil.cpp.
int KivioSMLStencil::generateIds | ( | int | ) | [virtual] |
Generates the ids for anything needed by this stencil.
Reimplemented from KivioStencil.
Definition at line 1814 of file kivio_sml_stencil.cpp.
int KivioSMLStencil::resizeHandlePositions | ( | ) | [virtual] |
Return a set of bits representing what resize handles are available.
Reimplemented from KivioStencil.
Definition at line 1976 of file kivio_sml_stencil.cpp.
QString KivioSMLStencil::getTextBoxName | ( | const KoPoint & | p | ) | [virtual] |
Returns the name of the text box that is at.
- Parameters:
-
p. If there exist no text box at p then it returns QString::null.
Reimplemented from KivioStencil.
Definition at line 2020 of file kivio_sml_stencil.cpp.
bool KivioSMLStencil::hasTextBox | ( | ) | const [virtual] |
Returns true if the stencil has a text box.
Reimplemented from KivioStencil.
Definition at line 2127 of file kivio_sml_stencil.cpp.
The documentation for this class was generated from the following files: