Started refactoring of SectionConetent into SectionContentWidget
This commit is contained in:
@@ -39,6 +39,7 @@ ADS_NAMESPACE_BEGIN
|
||||
class SectionWidget;
|
||||
class DropOverlay;
|
||||
class InternalContentData;
|
||||
class CSectionContentWidget;
|
||||
|
||||
|
||||
|
||||
@@ -175,6 +176,9 @@ private:
|
||||
QHash<QString, SectionContent::WeakPtr> m_SectionContentNameMap;
|
||||
QHash<int, SectionWidget*> m_SectionWidgetIdMap;
|
||||
|
||||
QHash<int, CSectionContentWidget*> m_SectionContentWidgetIdMap;
|
||||
QHash<QString, CSectionContentWidget*> m_SectionContentWidgetNameMap;
|
||||
|
||||
QPointer<DropOverlay> m_ContainerDropOverlay;
|
||||
QPointer<DropOverlay> m_SectionDropOverlay;
|
||||
};
|
||||
|
||||
@@ -97,8 +97,8 @@ CSectionContentWidget* CSectionContentWidget::newSectionContent(const QString& u
|
||||
sc->d->TitleWidgetContent = title;
|
||||
sc->d->ContentWidget = content;
|
||||
|
||||
//SectionContentIdMap.insert(sc->uid(), sc);
|
||||
//SectionContentNameMap.insert(sc->uniqueName(), sc);
|
||||
container->m_SectionContentWidgetIdMap.insert(sc->uid(), sc);
|
||||
container->m_SectionContentWidgetNameMap.insert(sc->uniqueName(), sc);
|
||||
return sc;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user