Commit f2511d86 authored by Brad King's avatar Brad King 💬
Browse files

BUG: Fix for display in Qt 4.0.1 designer during interaction (from Clinton Stimpson).

parent 4addefd7
......@@ -65,7 +65,16 @@ QString QVTKWidgetPlugin::name() const
QString QVTKWidgetPlugin::domXml() const
{
return QLatin1String("<widget class=\"QVTKWidget\" name=\"qvtkWidget\"></widget>");
return QLatin1String("<widget class=\"QVTKWidget\" name=\"qvtkWidget\">\n"
" <property name=\"geometry\">\n"
" <rect>\n"
" <x>0</x>\n"
" <y>0</y>\n"
" <width>100</width>\n"
" <height>100</height>\n"
" </rect>\n"
" </property>\n"
"</widget>\n");
}
QWidget* QVTKWidgetPlugin::createWidget(QWidget* parent)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment