Changeset View
Changeset View
Standalone View
Standalone View
src/widgets/3dview/bedproperties.cpp
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 34 | QTimer::singleShot(0, [ = ] { | |||
---|---|---|---|---|---|
45 | } | 45 | } | ||
46 | 46 | | |||
47 | updateBedSize(viewer->bedSize()); | 47 | updateBedSize(viewer->bedSize()); | ||
48 | connect(viewer, &Viewer3D::bedSizeChanged, | 48 | connect(viewer, &Viewer3D::bedSizeChanged, | ||
49 | this, &BedProperties::updateBedSize); | 49 | this, &BedProperties::updateBedSize); | ||
50 | }); | 50 | }); | ||
51 | } | 51 | } | ||
52 | 52 | | |||
53 | BedProperties::~BedProperties() | | |||
54 | { | | |||
55 | } | | |||
56 | | ||||
57 | int BedProperties::width() const | 53 | int BedProperties::width() const | ||
58 | { | 54 | { | ||
59 | return m_width; | 55 | return m_width; | ||
60 | } | 56 | } | ||
61 | 57 | | |||
62 | int BedProperties::depth() const | 58 | int BedProperties::depth() const | ||
63 | { | 59 | { | ||
64 | return m_depth; | 60 | return m_depth; | ||
Show All 14 Lines |