KReport
KReportDesignerSection.cpp
142 connect(d->scene, &KReportDesignerSectionScene::clicked, this, &KReportDesignerSection::slotSceneClicked);
144 connect(d->title, &KReportDesignerSectionTitle::clicked, this, &KReportDesignerSection::slotSceneClicked);
168 if (d->sceneView->designer() && d->sceneView->designer()->propertySet()->property("page-size").value().toString() == QLatin1String("Labels")) {
202 section->setAttribute(QLatin1String("fo:background-color"), d->sectionData->backgroundColor().name());
273 return QSize(d->scene->width() + d->sectionRuler->frameSize().width(), d->title->frameSize().height() + d->sceneView->sizeHint().height() + d->resizeBar->frameSize().height());
293 d->title->setMinimumWidth(d->reportDesigner->pageWidthPx() + d->sectionRuler->frameSize().width());
326 const QRect newSceneRect(0, 0, d->scene->width(), POINT_TO_INCH(d->sectionData->height()) * d->dpiY);
437 painter.setPen(palette().color(cg, current ? QPalette::HighlightedText : QPalette::WindowText));
443 painter.drawText(rect().adjusted(left + pixmap.width() + 4, 0, 0, 0), Qt::AlignLeft | Qt::AlignVCenter, text());
QString iconName() const
QString name() const
void clearModifiedFlags()
QVariant value() const
QByteArray name() const
Base class for rectangular report items used within the designer GUI.
Definition KReportDesignerItemRectBase.h:39
This class is the base to all Report Section's visual representation.
Definition KReportDesignerSection.h:46
void initFromXML(const QDomNode §ion)
Definition KReportDesignerSection.cpp:212
QGraphicsItemList items() const
Return the items in the section Only return top-level items ... ie, items with no parent item because...
Definition KReportDesignerSection.cpp:352
The ReportDesigner is the main widget for designing a report.
Definition KReportDesigner.h:53
static void addMetaProperties(KPropertySet *set, const QString &classString, const QString &iconName)
Adds meta-properties to the property set set for consumption by property editor.
Definition KReportDesigner.cpp:1676
virtual void setUnit(const KReportUnit &u)
Sets unit to a and converts values of position and size property from the old unit to new if needed.
Definition KReportItemBase.cpp:141
An interface for plugins delivering KReport elements.
Definition KReportPluginInterface.h:46
const KReportPluginMetaData * metaData() const
Definition KReportPluginInterface.cpp:55
Manager class for finding and loading available plugins.
Definition KReportPluginManager.h:41
KReportSectionData is used to store the information about a specific report section.
Definition KReportSectionData.h:45
void update(Part *part, const QByteArray &data, qint64 dataSize)
KIOCORE_EXPORT QStringList list(const QString &fileClass)
QWidget * activeWindow()
void setAttribute(const QString &name, const QString &value)
QString tagName() const const
QDomNodeList childNodes() const const
QString nodeName() const const
QDomElement toElement() const const
int count() const const
QDomNode item(int index) const const
void accept()
HLine
virtual void paintEvent(QPaintEvent *) override
QGraphicsItem * parentItem() const const
QGraphicsScene * scene() const const
void setVisible(bool visible)
QList< QGraphicsItem * > items(Qt::SortOrder order) const const
qreal width() const const
void addWidget(QWidget *widget, int fromRow, int fromColumn, int rowSpan, int columnSpan, Qt::Alignment alignment)
void setColumnStretch(int column, int stretch)
void setRowStretch(int row, int stretch)
virtual void setSpacing(int spacing) override
QIcon fromTheme(const QString &name)
virtual void mousePressEvent(QMouseEvent *ev) override
pixmap
text
SetFixedSize
void setSizeConstraint(SizeConstraint)
iterator begin()
iterator end()
qsizetype size() const const
int y() const const
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
virtual bool event(QEvent *e)
QObject * parent() const const
T qobject_cast(QObject *object)
CompositionMode_SourceIn
ColorGroup
Highlight
QPixmap fromImage(QImage &&image, Qt::ImageConversionFlags flags)
QImage toImage() const const
int height() const const
Fixed
QString mid(qsizetype position, qsizetype n) const const
bool startsWith(QChar c, Qt::CaseSensitivity cs) const const
AlignLeft
SizeVerCursor
white
LeftButton
Vertical
typedef WindowFlags
QTextStream & left(QTextStream &stream)
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
T value() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
void setCursor(const QCursor &)
QWidget * focusWidget() const const
QFontMetrics fontMetrics() const const
frameSize
height
void setMinimumHeight(int minh)
palette
QWidget * parentWidget() const const
rect
void setSizePolicy(QSizePolicy)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:26 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:26 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.