PDA

View Full Version : Qt Designer plugin.. no drag and drop icon bellow cursor



Dwarf007
24th March 2006, 10:17
Hi,

I created a Qt Designer plugin and it was added correctly to the widget list in Qt Designer.
But when I want to drag it to the main window there is nothing happening.. no icon/picture bellow the cursor..

As my plugin is derived from QLineEdit, I was expecting to see a QLineEdit when draging my plugin.

Anyone knows how I can resolve this ?
Cheers,

Daniel

high_flyer
24th March 2006, 10:28
it depends on the paintEvent().
Did you change the paintEvent() in your plugin class?
If so, post the code.

Dwarf007
24th March 2006, 10:37
I did not touch the paintEvent()

Should I ?

Dwarf007
28th March 2006, 12:14
even if I add a paintEvent() with a ui it doesn't change anything.

Could anyone help me on this?
Thanks in advance

mgurbuz
25th April 2006, 15:02
Change your windows style to "classic". It should work just fine.

Dwarf007
23rd May 2006, 12:40
which windows style? (MS Windows, my Qt windows .. ?)
and where do I set that if you speak about the Qt windows ?