2015-12-09 19:21:38 +08:00
|
|
|
#ifndef SECTION_CONTENT_WIDGET_H
|
|
|
|
#define SECTION_CONTENT_WIDGET_H
|
|
|
|
|
|
|
|
#include <QFrame>
|
|
|
|
|
2016-02-02 22:01:48 +08:00
|
|
|
#include "ads/API.h"
|
|
|
|
#include "ads/SectionContent.h"
|
2015-12-09 19:21:38 +08:00
|
|
|
|
|
|
|
ADS_NAMESPACE_BEGIN
|
2016-02-15 18:13:58 +08:00
|
|
|
class ContainerWidget;
|
2015-12-09 19:21:38 +08:00
|
|
|
class SectionWidget;
|
|
|
|
|
|
|
|
class SectionContentWidget : public QFrame
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
2016-02-15 18:13:58 +08:00
|
|
|
friend class ContainerWidget;
|
|
|
|
|
2015-12-09 19:21:38 +08:00
|
|
|
public:
|
|
|
|
SectionContentWidget(SectionContent::RefPtr c, QWidget* parent = 0);
|
|
|
|
|
|
|
|
private:
|
|
|
|
SectionContent::RefPtr _content;
|
|
|
|
};
|
|
|
|
|
|
|
|
ADS_NAMESPACE_END
|
2016-02-12 14:15:10 +08:00
|
|
|
#endif
|