[Interest] Qt Designer Plugin

Graham Labdon Graham.Labdon at avalonsciences.com
Wed Aug 6 09:52:58 CEST 2014

It seems that I forgot to close the xml tags correctly

-----Original Message-----
From: interest-bounces+graham.labdon=avalonsciences.com at qt-project.org [mailto:interest-bounces+graham.labdon=avalonsciences.com at qt-project.org] On Behalf Of Graham Labdon
Sent: 06 August 2014 08:47
To: Interest at qt-project.org
Subject: [Interest] Qt Designer Plugin

I have developed a Qt Designer plugin that works.
However, as the plugin code lives in a namespace this is displayed in when Qt Designer is run.
I read about the 'displayname' attribute that can be set in the domXml method.
When I use it, however, my custom widget doe not show up in Qt Designer Here is my domXml method -

	return "<ui language=\"c++\" displayname=\"Button Lable\">\n"
		"<widget class=\"ButtonLabel\" name=\"buttonLabel\" >\n"		
		" <property name=\"geometry\">\n"
		"  <rect>\n"
		"   <x>0</x>\n"
		"   <y>0</y>\n"
		"   <width>131</width>\n"
		"   <height>121</height>\n"
		"  </rect>\n"
		" </property>\n"

Has anyone any advice on how I can get his to work

Interest mailing list
Interest at qt-project.org

More information about the Interest mailing list