Qt-Advanced-Docking-System/AdvancedDockingSystem/include/ads/SectionContentWidget.h
mfreiholz 6a1b6307c9 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.
2016-02-18 15:06:00 +01:00

29 lines
506 B
C++

#ifndef SECTION_CONTENT_WIDGET_H
#define SECTION_CONTENT_WIDGET_H
#include <QFrame>
#include "ads/API.h"
#include "ads/SectionContent.h"
ADS_NAMESPACE_BEGIN
class ContainerWidget;
class SectionWidget;
class SectionContentWidget : public QFrame
{
Q_OBJECT
friend class ContainerWidget;
public:
SectionContentWidget(SectionContent::RefPtr c, QWidget* parent = 0);
virtual ~SectionContentWidget();
private:
SectionContent::RefPtr _content;
};
ADS_NAMESPACE_END
#endif