lib
KoBorder Class Reference
#include <KoBorder.h>
Inherits Qt.
Detailed Description
This class represents a border - for anything, like paragraph, or frame.Definition at line 33 of file KoBorder.h.
Public Types | |
| enum | BorderStyle { SOLID = 0, DASH = 1, DOT = 2, DASH_DOT = 3, DASH_DOT_DOT = 4, DOUBLE_LINE = 5 } |
| enum | BorderType { LeftBorder = 0, RightBorder, TopBorder, BottomBorder } |
Public Member Functions | |
| KoBorder (const QColor &c, BorderStyle s, double width) | |
| void | setPenWidth (double _w) |
| void | setStyle (BorderStyle _style) |
| BorderStyle | getStyle () const |
| BorderStyle | style () const |
| double | penWidth () const |
| double | width () const |
| bool | operator== (const KoBorder _brd) const |
| bool | operator!= (const KoBorder _brd) const |
| void | loadFoBorder (const QString &border) |
| void | save (QDomElement &elem) const |
| QString | saveFoBorder () const |
Static Public Member Functions | |
| static KoBorder | loadBorder (const QDomElement &elem) |
| static BorderStyle | getStyle (const QString &style) |
| static QString | getStyle (const BorderStyle &style) |
| static int | zoomWidthX (double ptWidth, KoZoomHandler *zoomHandler, int minborder) |
| static int | zoomWidthY (double ptWidth, KoZoomHandler *zoomHandler, int minborder) |
| static QPen | borderPen (const KoBorder &brd, int width, QColor defaultColor) |
| static void | drawBorders (QPainter &painter, KoZoomHandler *zoomHandler, const QRect &rect, const KoBorder &left, const KoBorder &right, const KoBorder &top, const KoBorder &bottom, int minborder, const QPen &defaultPen, bool drawTopBorder=true, bool drawBottomBorder=true) |
Public Attributes | |
| QColor | color |
Friends | |
| class | KoTextCursor |
The documentation for this class was generated from the following files:

