Changeset View
Changeset View
Standalone View
Standalone View
src/plugins/web/KReportItemWeb.cpp
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Line(s) | 86 | if (m_rendering) { | |||
---|---|---|---|---|---|
95 | 95 | | |||
96 | QPointF pos = scenePosition(position()); | 96 | QPointF pos = scenePosition(position()); | ||
97 | QSizeF siz = sceneSize(size()); | 97 | QSizeF siz = sceneSize(size()); | ||
98 | 98 | | |||
99 | pos += m_targetOffset; | 99 | pos += m_targetOffset; | ||
100 | 100 | | |||
101 | pic->setPosition(pos); | 101 | pic->setPosition(pos); | ||
102 | pic->setSize(siz); | 102 | pic->setSize(siz); | ||
103 | if (m_targetPage) m_targetPage->addPrimitive(pic, false, true); | 103 | if (m_targetPage) m_targetPage->insertPrimitive(pic); | ||
104 | 104 | | |||
105 | OROPicture *p2 = dynamic_cast<OROPicture*>(pic->clone()); | 105 | OROPicture *p2 = dynamic_cast<OROPicture*>(pic->clone()); | ||
106 | if (p2) { | 106 | if (p2) { | ||
107 | p2->setPosition(scenePosition(position())); | 107 | p2->setPosition(scenePosition(position())); | ||
108 | if (m_targetSection) { | 108 | if (m_targetSection) { | ||
109 | m_targetSection->addPrimitive(p2); | 109 | m_targetSection->addPrimitive(p2); | ||
110 | } | 110 | } | ||
111 | } | 111 | } | ||
Show All 33 Lines |