KReport
20#ifndef SECTIONEDITOR_H
21#define SECTIONEDITOR_H
26#include <ui_KReportSectionEditor.h>
32class KReportSectionEditor :
public QDialog
37 explicit KReportSectionEditor(KReportDesigner*
parent =
nullptr);
38 ~KReportSectionEditor()
override;
41 void cbReportHeader_toggled(
bool yes);
42 void cbReportFooter_toggled(
bool yes);
43 void cbHeadFirst_toggled(
bool yes);
44 void cbHeadLast_toggled(
bool yes);
45 void cbHeadEven_toggled(
bool yes);
46 void cbHeadOdd_toggled(
bool yes);
47 void cbFootFirst_toggled(
bool yes);
48 void cbFootLast_toggled(
bool yes);
49 void cbFootEven_toggled(
bool yes);
50 void cbFootOdd_toggled(
bool yes);
51 void cbHeadAny_toggled(
bool yes);
52 void cbFootAny_toggled(
bool yes);
54 void btnAdd_clicked();
55 void btnEdit_clicked();
56 void btnRemove_clicked();
57 void btnMoveUp_clicked();
58 void brnMoveDown_clicked();
60 void updateButtonsForItem(QListWidgetItem *currentItem);
61 void updateButtonsForRow(
int row);
64 bool editDetailGroup(KReportDesignerSectionDetailGroup *rsdg);
65 void updateAddButton();
67 QString columnName(
const QString &column)
const;
68 QSet<QString> groupingColumns()
const;
71 Ui::SectionEditor m_ui;
72 QPushButton *m_btnAdd;
73 QPushButton *m_btnEdit;
74 QPushButton *m_btnRemove;
75 QPushButton *m_btnMoveUp;
76 QPushButton *m_btnMoveDown;
78 KReportDesigner *m_reportDesigner;
79 KReportDesignerSectionDetail *m_reportSectionDetail;
A section group allows a header and footer to be used for a particular report field.
The central detail section which contains the bulk of the report.
The ReportDesigner is the main widget for designing a report.
QObject * parent() const const
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
KDE's Doxygen guidelines are available online.