Changeset View
Changeset View
Standalone View
Standalone View
src/wrtembed/KReportDesignerSectionDetail.cpp
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | 46 | KReportDesignerSectionDetail::KReportDesignerSectionDetail(KReportDesigner * rptdes) | |||
---|---|---|---|---|---|
48 | , d(new Private()) | 48 | , d(new Private()) | ||
49 | { | 49 | { | ||
50 | Q_ASSERT(rptdes); | 50 | Q_ASSERT(rptdes); | ||
51 | setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); | 51 | setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); | ||
52 | d->vboxlayout = new QVBoxLayout(this); | 52 | d->vboxlayout = new QVBoxLayout(this); | ||
53 | d->vboxlayout->setSpacing(0); | 53 | d->vboxlayout->setSpacing(0); | ||
54 | d->vboxlayout->setMargin(0); | 54 | d->vboxlayout->setMargin(0); | ||
55 | d->reportDesigner = rptdes; | 55 | d->reportDesigner = rptdes; | ||
56 | d->detail = new KReportDesignerSection(rptdes /*, this*/); | 56 | d->detail = d->reportDesigner->createSection(); | ||
57 | d->vboxlayout->addWidget(d->detail); | 57 | d->vboxlayout->addWidget(d->detail); | ||
58 | 58 | | |||
59 | this->setLayout(d->vboxlayout); | 59 | this->setLayout(d->vboxlayout); | ||
60 | } | 60 | } | ||
61 | 61 | | |||
62 | KReportDesignerSectionDetail::~KReportDesignerSectionDetail() | 62 | KReportDesignerSectionDetail::~KReportDesignerSectionDetail() | ||
63 | { | 63 | { | ||
64 | delete d; | 64 | delete d; | ||
▲ Show 20 Lines • Show All 168 Lines • Show Last 20 Lines |