kchart
KDFrameProfileSection Class Reference
#include <KDFrameProfileSection.h>
Detailed Description
Settings for one profile section of one side of the frame.
Definition at line 41 of file KDFrameProfileSection.h.
Public Types | |
enum | Direction { DirPlain, DirRaising, DirSinking } |
enum | Curvature { CvtPlain, CvtConvex, CvtConcave } |
Public Member Functions | |
KDFrameProfileSection (Direction direction, Curvature curvature, int width, QPen pen) | |
KDFrameProfileSection () | |
virtual | ~KDFrameProfileSection () |
Direction | direction () const |
Curvature | curvature () const |
int | width () const |
QPen | pen () const |
Static Public Member Functions | |
static QString | directionToString (Direction dir) |
static Direction | stringToDirection (const QString &string) |
static QString | curvatureToString (Curvature curv) |
static Curvature | stringToCurvature (const QString &string) |
static void | createFrameProfileSectionNode (QDomDocument &document, QDomNode &parent, const QString &elementName, const KDFrameProfileSection *section) |
static bool | readFrameProfileSectionNode (const QDomElement &element, KDFrameProfileSection *section) |
Member Enumeration Documentation
|
Profile Curvature Mode: specifying the shape of a frame profile section.
(curvature setting will be ignored for
Definition at line 114 of file KDFrameProfileSection.h. |
|
Profile Direction Mode: specifying whether a part of a profile looks embossed or engraved in comparison to the next outer part (or to the surrounding area, resp. ).
setSimpleProfile is used to select one of them, see setProfile for an example how to do this.
Definition at line 65 of file KDFrameProfileSection.h. |
Constructor & Destructor Documentation
|
Ctor of KDFrameProfileSection.
Definition at line 160 of file KDFrameProfileSection.h. |
|
Default ctor of FrameProfileSection.
Definition at line 175 of file KDFrameProfileSection.h. |
|
Destructor. Only defined to have it virtual. Definition at line 32 of file KDFrameProfileSection.cpp. |
Member Function Documentation
|
Creates a DOM element node that represents a frame profile section for use in a DOM document.
Definition at line 38 of file KDFrameProfileSection.cpp. |
|
Converts the specified curvature enum to a string representation.
Definition at line 122 of file KDFrameProfileSection.h. |
|
Converts the specified direction enum to a string representation.
Definition at line 73 of file KDFrameProfileSection.h. |
|
Reads data from a DOM element node that represents a frame profile section and fills a KDFrameProfileSection object with the data.
Definition at line 55 of file KDFrameProfileSection.cpp. |
|
Converts the specified string to a curvature enum value.
Definition at line 142 of file KDFrameProfileSection.h. |
|
Converts the specified string to a direction enum value.
Definition at line 93 of file KDFrameProfileSection.h. |
The documentation for this class was generated from the following files: