KReport
KReportScriptHandler.cpp
65KReportScriptHandler::Private::Private() : constants(new KReportScriptConstants), debug(new KReportScriptDebug), draw(new KReportScriptDraw)
73KReportScriptHandler::KReportScriptHandler(const KReportDataSource* reportDataSource, KReportScriptSource* scriptSource, KReportDocument* reportDocument) : d(new Private())
97 //kreportDebug() << "Added" << d->sectionMap[sec]->objectName() << "to report" << d->reportData->name();
149void KReportScriptHandler::slotEnteredSection(KReportSectionData *section, OROPage* cp, QPointF off)
170 msgBox.setText(tr("Cannot evaluate script. Error: %1\n\nDo you want to suppress further messages?\n(messages will be restored next time the report is opened)").arg(d->scriptValue.toString()));
198 w += QLatin1Char('(') + i.key() + QLatin1String(" = '") + i.value().toString() + QLatin1String("') AND ");
Top level report document definition. A KReportDocment defines the design of a document,...
Definition KReportDocument.h:42
Helper giving access to various scripting constants.
Definition KReportScriptConstants.h:31
Helper for the scripting API to display user messages.
Definition KReportScriptDebug.h:29
KReportSectionData is used to store the information about a specific report section.
Definition KReportSectionData.h:45
Represents a single page in a document and may contain zero or more OROPrimitive objects all of which...
Definition KReportRenderObjects.h:168
bool remove(const QString &column, const QVariant &value)
bool isError() const const
void setProperty(const QString &name, const QJSValue &value)
QVariant toVariant() const const
void setDetailedText(const QString &text)
virtual int exec() override
void setDefaultButton(QPushButton *button)
void setStandardButtons(StandardButtons buttons)
void setText(const QString &text)
StandardButton warning(QWidget *parent, const QString &title, const QString &text, StandardButtons buttons, StandardButton defaultButton)
void chop(qsizetype n)
bool isEmpty() const const
QString & replace(QChar before, QChar after, Qt::CaseSensitivity cs)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.