Refactors directory structure and file naming.

This commit is contained in:
mfreiholz
2016-02-02 15:01:48 +01:00
parent 5a5e4c7c78
commit cb5781cfdc
20 changed files with 61 additions and 59 deletions

View File

@@ -0,0 +1,18 @@
#include "ads/SectionContentWidget.h"
#include <QBoxLayout>
ADS_NAMESPACE_BEGIN
SectionContentWidget::SectionContentWidget(SectionContent::RefPtr c, QWidget* parent) :
QFrame(parent),
_content(c)
{
auto l = new QBoxLayout(QBoxLayout::TopToBottom);
l->setContentsMargins(0, 0, 0, 0);
l->setSpacing(0);
l->addWidget(_content->contentWidget());
setLayout(l);
}
ADS_NAMESPACE_END