Changeset View
Changeset View
Standalone View
Standalone View
examples/DesignerWidget.cpp
Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Line(s) | 105 | if (action->objectName() == itemId) { | |||
---|---|---|---|---|---|
106 | action->setChecked(false); | 106 | action->setChecked(false); | ||
107 | } | 107 | } | ||
108 | } | 108 | } | ||
109 | } | 109 | } | ||
110 | 110 | | |||
111 | void ReportDesignerWidget::slotDesignerPropertySetChanged() | 111 | void ReportDesignerWidget::slotDesignerPropertySetChanged() | ||
112 | { | 112 | { | ||
113 | if (m_propertyEditor) { | 113 | if (m_propertyEditor) { | ||
114 | m_propertyEditor->changeSet(m_reportDesigner->itemPropertySet()); | 114 | m_propertyEditor->changeSet(m_reportDesigner->selectedItemPropertySet()); | ||
115 | } | 115 | } | ||
116 | } | 116 | } | ||
117 | 117 | | |||
118 | void ReportDesignerWidget::designDirty() | 118 | void ReportDesignerWidget::designDirty() | ||
119 | { | 119 | { | ||
120 | emit designChanged(m_reportDesigner->document()); | 120 | emit designChanged(m_reportDesigner->document()); | ||
121 | } | 121 | } | ||
122 | 122 | | |||
123 | QDomElement ReportDesignerWidget::document() const | 123 | QDomElement ReportDesignerWidget::document() const | ||
124 | { | 124 | { | ||
125 | return m_reportDesigner->document(); | 125 | return m_reportDesigner->document(); | ||
126 | } | 126 | } |