Implements show/hide of SectionContent + serialization of state (not yet

completed/tested).
Context menu also works with new impl.
Shows close button on top-right corner of SectionWidget.
This commit is contained in:
mfreiholz
2016-02-18 15:06:00 +01:00
parent d5eaabd2a7
commit 6a1b6307c9
11 changed files with 300 additions and 72 deletions

View File

@@ -1,5 +1,6 @@
#include "ads/SectionContentWidget.h"
#include <QDebug>
#include <QBoxLayout>
ADS_NAMESPACE_BEGIN
@@ -15,4 +16,9 @@ SectionContentWidget::SectionContentWidget(SectionContent::RefPtr c, QWidget* pa
setLayout(l);
}
SectionContentWidget::~SectionContentWidget()
{
qDebug() << Q_FUNC_INFO;
}
ADS_NAMESPACE_END