kivio
KivioLayer Class Reference
List of all members.Detailed Description
Definition at line 44 of file kivio_layer.h.
Public Member Functions | |
| KivioLayer (KivioPage *) | |
| virtual | ~KivioLayer () |
| KivioPage * | page () const |
| virtual DCOPObject * | dcopObject () |
| QPtrList< KivioStencil > * | stencilList () |
| bool | visible () |
| void | setVisible (bool f) |
| bool | connectable () |
| void | setConnectable (bool f) |
| void | setEditable (bool f) |
| bool | editable () |
| void | setPrintable (bool f) |
| bool | printable () |
| QString | name () const |
| void | setName (const QString &n) |
| bool | addStencil (KivioStencil *) |
| bool | removeStencil (KivioStencil *) |
| bool | loadXML (const QDomElement &) |
| void | loadOasis (const QDomElement &layer) |
| QDomElement | saveXML (QDomDocument &) |
| void | saveOasis (KoXmlWriter *layerWriter) |
| KivioStencil * | checkForStencil (KoPoint *, int *, float, bool) |
| void | printContent (KivioPainter &painter, int xdpi=0, int ydpi=0) |
| void | printContent (KivioPainter &painter, KoZoomHandler *zoomHandler) |
| void | paintContent (KivioPainter &painter, const QRect &rect, bool transparent, QPoint p0, KoZoomHandler *zoom) |
| void | paintConnectorTargets (KivioPainter &painter, const QRect &rect, bool transparent, QPoint p0, KoZoomHandler *zoom) |
| void | paintSelectionHandles (KivioPainter &painter, const QRect &rect, bool transparent, QPoint p0, KoZoomHandler *zoom) |
| KivioStencil * | firstStencil () |
| KivioStencil * | nextStencil () |
| KivioStencil * | prevStencil () |
| KivioStencil * | takeStencil () |
| KivioStencil * | currentStencil () |
| KivioStencil * | lastStencil () |
| KivioStencil * | takeStencil (KivioStencil *) |
| KivioConnectorTarget * | connectPointToTarget (KivioConnectorPoint *, float) |
| KoPoint | snapToTarget (const KoPoint &p, double thresh, bool &hit) |
| int | generateStencilIds (int) |
| void | searchForConnections (KivioPage *) |
| void | takeStencilFromList (KivioStencil *pStencil) |
| void | insertStencil (KivioStencil *pStencil) |
Protected Member Functions | |
| KivioStencil * | loadSMLStencil (const QDomElement &) |
| KivioStencil * | loadGroupStencil (const QDomElement &) |
| KivioStencil * | loadPluginStencil (const QDomElement &) |
Protected Attributes | |
| int | m_flags |
| QPtrList< KivioStencil > * | m_pStencilList |
| QPtrList< KivioStencil > * | m_pDeletedStencilList |
| QString | m_name |
| KivioPage * | m_pPage |
| DCOPObject * | m_dcop |
Friends | |
| class | KivioGroupStencil |
Member Function Documentation
| KivioStencil * KivioLayer::loadSMLStencil | ( | const QDomElement & | stencilE | ) | [protected] |
Returns a new stencil of the type described by stencilE.
- Parameters:
-
stencilE The XML element to load from
- Returns:
- A new, loaded stencil.
Definition at line 127 of file kivio_layer.cpp.
| KivioStencil * KivioLayer::loadGroupStencil | ( | const QDomElement & | stencilE | ) | [protected] |
Returns a new stencil of the type described by stencilE.
- Parameters:
-
stencilE The XML element to load from
- Returns:
- A new, loaded stencil.
Definition at line 169 of file kivio_layer.cpp.
| KivioConnectorTarget * KivioLayer::connectPointToTarget | ( | KivioConnectorPoint * | p, | |
| float | thresh | |||
| ) |
Attempts to connect a KivioConnectorPoint to a KivioConnectorTarget of each stencil.
- Parameters:
-
p The point to attempt the connection with thresh The threshold to use
- Returns:
- The KivioConnectorTarget the point connected to
Definition at line 556 of file kivio_layer.cpp.
The documentation for this class was generated from the following files:

