qtquick: Don't hardcode "FloatingWindow.qml"
Allow the user to specify their impl
This commit is contained in:
@@ -227,6 +227,11 @@ QUrl DefaultWidgetFactory::frameFilename() const
|
||||
return QUrl(QStringLiteral("qrc:/kddockwidgets/private/quick/qml/Frame.qml"));
|
||||
}
|
||||
|
||||
QUrl DefaultWidgetFactory::floatingWindowFilename() const
|
||||
{
|
||||
return QUrl(QStringLiteral("qrc:/kddockwidgets/private/quick/qml/FloatingWindow.qml"));
|
||||
}
|
||||
|
||||
#endif // QtQuick
|
||||
|
||||
// iconForButtonType impl is the same for QtQuick and QtWidgets
|
||||
|
||||
Reference in New Issue
Block a user