Changeset View
Changeset View
Standalone View
Standalone View
src/wrtembed/KReportDesignerSection.cpp
Show All 24 Lines | |||||
25 | #include "KReportDesignerItemBase.h" | 25 | #include "KReportDesignerItemBase.h" | ||
26 | #include "KReportUtils.h" | 26 | #include "KReportUtils.h" | ||
27 | #include "KReportPluginInterface.h" | 27 | #include "KReportPluginInterface.h" | ||
28 | #include "KReportPluginManager.h" | 28 | #include "KReportPluginManager.h" | ||
29 | #include "KReportDesignerItemRectBase.h" | 29 | #include "KReportDesignerItemRectBase.h" | ||
30 | #include "KReportDesignerItemLine.h" | 30 | #include "KReportDesignerItemLine.h" | ||
31 | #include "KReportRuler_p.h" | 31 | #include "KReportRuler_p.h" | ||
32 | #include "KReportZoomHandler.h" | 32 | #include "KReportZoomHandler.h" | ||
33 | #include "KReportDpi.h" | 33 | #include "KReportUtils_p.h" | ||
34 | #include "KReportPluginMetaData.h" | 34 | #include "KReportPluginMetaData.h" | ||
35 | #include "kreport_debug.h" | 35 | #include "kreport_debug.h" | ||
36 | 36 | | |||
37 | #include <QLabel> | 37 | #include <QLabel> | ||
38 | #include <QFrame> | 38 | #include <QFrame> | ||
39 | #include <QDomDocument> | 39 | #include <QDomDocument> | ||
40 | #include <QLayout> | 40 | #include <QLayout> | ||
41 | #include <QGridLayout> | 41 | #include <QGridLayout> | ||
▲ Show 20 Lines • Show All 59 Lines • ▼ Show 20 Line(s) | 100 | KReportDesignerSection::KReportDesignerSection(KReportDesigner * rptdes) | |||
101 | : QWidget(rptdes) | 101 | : QWidget(rptdes) | ||
102 | , d(new Private()) | 102 | , d(new Private()) | ||
103 | { | 103 | { | ||
104 | Q_ASSERT(rptdes); | 104 | Q_ASSERT(rptdes); | ||
105 | d->sectionData = new KReportSectionData(this); | 105 | d->sectionData = new KReportSectionData(this); | ||
106 | connect(d->sectionData->propertySet(), SIGNAL(propertyChanged(KPropertySet&,KProperty&)), | 106 | connect(d->sectionData->propertySet(), SIGNAL(propertyChanged(KPropertySet&,KProperty&)), | ||
107 | this, SLOT(slotPropertyChanged(KPropertySet&,KProperty&))); | 107 | this, SLOT(slotPropertyChanged(KPropertySet&,KProperty&))); | ||
108 | 108 | | |||
109 | d->dpiY = KReportDpi::dpiY(); | 109 | d->dpiY = KReportPrivate::dpiY(); | ||
110 | 110 | | |||
111 | d->reportDesigner = rptdes; | 111 | d->reportDesigner = rptdes; | ||
112 | setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); | 112 | setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); | ||
113 | 113 | | |||
114 | QGridLayout * glayout = new QGridLayout(this); | 114 | QGridLayout * glayout = new QGridLayout(this); | ||
115 | glayout->setSpacing(0); | 115 | glayout->setSpacing(0); | ||
116 | glayout->setMargin(0); | 116 | glayout->setMargin(0); | ||
117 | glayout->setColumnStretch(1, 1); | 117 | glayout->setColumnStretch(1, 1); | ||
▲ Show 20 Lines • Show All 310 Lines • Show Last 20 Lines |