KReportLabelElement

Search for usage in LXR

KReportLabelElement Class Reference

#include <KReportLabelElement.shared.h>

Inheritance diagram for KReportLabelElement:

Public Member Functions

 KReportLabelElement (const QString &text)
 

Public Attributes

Qt::Alignment alignment
 
KReportLineStyle borderStyle
 
QFont font
 
QString text
 
- Public Attributes inherited from KReportElement
QColor backgroundColor
 
qreal backgroundOpacity
 
QColor foregroundColor
 
QString name
 
QRectF rect
 
qreal z
 

Detailed Description

The KReportLabelElement class represents a label element of a report design.

Warning
This API is currently private.

Definition at line 32 of file KReportLabelElement.shared.h.

Constructor & Destructor Documentation

◆ KReportLabelElement()

KReportLabelElement::KReportLabelElement ( const QString & text)
inlineexplicit

Constructs a label with text text.

Definition at line 68 of file KReportLabelElement.shared.h.

Member Data Documentation

◆ alignment

Qt::Alignment KReportLabelElement::alignment

@getter

Returns
element's text alignment. Default value is Qt::AlignLeft|Qt::AlignVCenter. @setter Sets the element's text alignment to alignment.

Definition at line 57 of file KReportLabelElement.shared.h.

◆ borderStyle

KReportLineStyle KReportLabelElement::borderStyle

@getter

Returns
element's border style. @setter Sets the element's border style to borderStyle.

Definition at line 65 of file KReportLabelElement.shared.h.

◆ font

QFont KReportLabelElement::font

@getter

Returns
element's font. @setter Sets the element's font to font.

Definition at line 49 of file KReportLabelElement.shared.h.

◆ text

QString KReportLabelElement::text

@getter

Returns
element's name. @setter Sets the element's name to name.

Definition at line 41 of file KReportLabelElement.shared.h.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:21:31 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.