Separator: Decouple the QWidget dependency

There's no Separator and SeparatorWidget. The former only with
state/logic. To be reused by QtQuick.
This commit is contained in:
Sergio Martins
2019-08-06 13:32:06 +01:00
parent 8742da76ae
commit eafc00657b
13 changed files with 152 additions and 57 deletions

View File

@@ -58,7 +58,7 @@ TabWidget *DefaultWidgetFactory::createTabWidget(QWidget *parent) const
return new TabWidgetWidget(parent);
}
SeparatorWidget *DefaultWidgetFactory::createSeparator(Anchor *anchor, QWidget *parent) const
Separator *DefaultWidgetFactory::createSeparator(Anchor *anchor, QWidget *parent) const
{
return new SeparatorWidget(anchor, parent);
}