Abstract FloatingWindow too, introducing FloatingWindowWidget
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include "widgets/TabBarWidget_p.h"
|
||||
#include "widgets/TabWidgetWidget_p.h"
|
||||
#include "widgets/SeparatorWidget_p.h"
|
||||
#include "widgets/FloatingWindowWidget_p.h"
|
||||
|
||||
using namespace KDDockWidgets;
|
||||
|
||||
@@ -61,3 +62,13 @@ SeparatorWidget *DefaultWidgetFactory::createSeparator(Anchor *anchor, QWidget *
|
||||
{
|
||||
return new SeparatorWidget(anchor, parent);
|
||||
}
|
||||
|
||||
FloatingWindow *DefaultWidgetFactory::createFloatingWindow(QWidget *parent) const
|
||||
{
|
||||
return new FloatingWindowWidget(parent);
|
||||
}
|
||||
|
||||
FloatingWindow *DefaultWidgetFactory::createFloatingWindow(Frame *frame, QWidget *parent) const
|
||||
{
|
||||
return new FloatingWindowWidget(frame, parent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user