mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 21:25:44 +08:00
6a1b6307c9
completed/tested). Context menu also works with new impl. Shows close button on top-right corner of SectionWidget.
29 lines
506 B
C++
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
|