KReport
KReportDesigner.h
86 @param source Pointer to KReportScriptSource instance, ownership is NOT transferred as it may be an application window
172 @brief Calculate the width of the page in pixels given the paper size, orientation, dpi and margin
207 void sectionContextMenuEvent(KReportDesignerSectionScene *scene, QGraphicsSceneContextMenuEvent * event);
245 @brief Returns a list of actions that represent the entities that can be inserted into the report.
The central detail section which contains the bulk of the report.
Definition KReportDesignerSectionDetail.h:38
This class is the base to all Report Section's visual representation.
Definition KReportDesignerSection.h:46
void sectionMouseReleaseEvent(KReportDesignerSectionView *v, QMouseEvent *e)
Handle the mouse release event for a report section.
Definition KReportDesigner.cpp:1103
KReportDataSource * reportDataSource() const
Return a pointer to the reports data.
Definition KReportDesigner.cpp:756
KReportDesignerSectionDetail * detailSection() const
Return a pointer to the detail section.
Definition KReportDesigner.cpp:761
KReportUnit pageUnit() const
Return the current unit assigned to the report.
Definition KReportDesigner.cpp:1044
QList< QAction * > designerActions()
Populates the toolbar with actions that can be applied to the report Actions are created as children ...
Definition KReportDesigner.cpp:1506
QString suggestEntityName(const QString &name) const
Return a unique name that can be used by the entity.
Definition KReportDesigner.cpp:1351
bool isEntityNameUnique(const QString &name, KReportItemBase *ignore=nullptr) const
Checks if the supplied name is unique among all entities.
Definition KReportDesigner.cpp:1394
bool isModified() const
Return true if the design has been modified.
Definition KReportDesigner.cpp:771
int pageWidthPx() const
Calculate the width of the page in pixels given the paper size, orientation, dpi and margin.
Definition KReportDesigner.cpp:971
void setDataSource(KReportDataSource *source)
Sets the report data The report data interface contains functions to retrieve data and information ab...
Definition KReportDesigner.cpp:533
void setReportTitle(const QString &title)
Sets the title of the reportData.
Definition KReportDesigner.cpp:738
void sectionContextMenuEvent(KReportDesignerSectionScene *scene, QGraphicsSceneContextMenuEvent *event)
Handle the context menu event for a report section.
Definition KReportDesigner.cpp:1058
void insertSection(KReportSectionData::Type type)
Create a new section and insert it into the report.
Definition KReportDesigner.cpp:657
static QList< QAction * > itemActions(QActionGroup *group=nullptr)
Returns a list of actions that represent the entities that can be inserted into the report.
Definition KReportDesigner.cpp:1470
void setGridOptions(bool visible, int divisions)
Sets the parameters for the display of the background gridpoints.
Definition KReportDesigner.cpp:1049
void setModified(bool modified)
Sets the modified status, defaulting to true for modified.
Definition KReportDesigner.cpp:776
qreal getSelectionPressY() const
Definition KReportDesigner.cpp:1642
qreal getSelectionPressX() const
Definition KReportDesigner.cpp:1637
KReportDesignerSection * section(KReportSectionData::Type type) const
Return a pointer to the section specified.
Definition KReportDesigner.cpp:554
KReportDesigner(QWidget *parent=nullptr)
Constructor that create a blank designer.
Definition KReportDesigner.cpp:403
void changeSet(KPropertySet *set)
Sets the property set for the currently selected item.
Definition KReportDesigner.cpp:1178
qreal countSelectionHeight() const
Definition KReportDesigner.cpp:1621
KPropertySet * selectedItemPropertySet() const
Return the property set for the curently selected item.
Definition KReportDesigner.cpp:751
void removeSection(KReportSectionData::Type type)
Deletes the section specified.
Definition KReportDesigner.cpp:605
QDomElement document() const
Return an XML description of the report.
Definition KReportDesigner.cpp:421
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
qreal countSelectionWidth() const
Definition KReportDesigner.cpp:1629
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
virtual bool event(QEvent *event) override
virtual void resizeEvent(QResizeEvent *event)
sizeHint
visible
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.