1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#include "dummyobject.h" DummyObject::DummyObject() { } QRect DummyObject::rect() const { return m_rect; } void DummyObject::setRect(const QRect &r) { m_rect = r; } float DummyObject::opacity() const { return m_opacity; } void DummyObject::setOpacity(float o) { m_opacity = o; }