for anybody interested in this topic:
a
QString QmInfoPanelPlugin
::domXml() const { return "<ui language=\"c++\">\n"
" <widget class=\"QmInfoPanel\" name=\"qmInfoPanel\">\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"
" <customwidgets>\n"
" <customwidget>\n"
" <class>QmInfoPanel</class>\n"
" <propertyspecifications>\n"
" <stringpropertyspecification name=\"test\" type=\"richtext\"/>\n"
" </propertyspecifications>\n"
" </customwidget>\n"
" </customwidgets>\n"
"</ui>\n";
}
QString QmInfoPanelPlugin::domXml() const {
return "<ui language=\"c++\">\n"
" <widget class=\"QmInfoPanel\" name=\"qmInfoPanel\">\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"
" <customwidgets>\n"
" <customwidget>\n"
" <class>QmInfoPanel</class>\n"
" <propertyspecifications>\n"
" <stringpropertyspecification name=\"test\" type=\"richtext\"/>\n"
" </propertyspecifications>\n"
" </customwidget>\n"
" </customwidgets>\n"
"</ui>\n";
}
To copy to clipboard, switch view to plain text mode
will do the job
Hope it helps
Michael
Bookmarks