Results 1 to 6 of 6

Thread: Qt Designer plugin.. no drag and drop icon bellow cursor

  1. #1
    Join Date
    Mar 2006
    Location
    somewhere between France & Germany
    Posts
    34
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Red face Qt Designer plugin.. no drag and drop icon bellow cursor

    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
    • The Manual said the program required Win95 or better, so I installed Linux.
    • Newton was a pessimist.
    • no Risk! no FuN!

  2. The following user says thank you to Dwarf007 for this useful post:

    mgurbuz (25th April 2006)

  3. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt Designer plugin.. no drag and drop icon bellow cursor

    it depends on the paintEvent().
    Did you change the paintEvent() in your plugin class?
    If so, post the code.

  4. #3
    Join Date
    Mar 2006
    Location
    somewhere between France & Germany
    Posts
    34
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt Designer plugin.. no drag and drop icon bellow cursor

    I did not touch the paintEvent()

    Should I ?
    Attached Files Attached Files
    Last edited by Dwarf007; 24th March 2006 at 09:49.
    • The Manual said the program required Win95 or better, so I installed Linux.
    • Newton was a pessimist.
    • no Risk! no FuN!

  5. #4
    Join Date
    Mar 2006
    Location
    somewhere between France & Germany
    Posts
    34
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt Designer plugin.. no drag and drop icon bellow cursor

    even if I add a paintEvent() with a ui it doesn't change anything.

    Could anyone help me on this?
    Thanks in advance
    • The Manual said the program required Win95 or better, so I installed Linux.
    • Newton was a pessimist.
    • no Risk! no FuN!

  6. #5
    Join Date
    Apr 2006
    Posts
    16
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Designer plugin.. no drag and drop icon bellow cursor

    Change your windows style to "classic". It should work just fine.

  7. #6
    Join Date
    Mar 2006
    Location
    somewhere between France & Germany
    Posts
    34
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt Designer plugin.. no drag and drop icon bellow cursor

    which windows style? (MS Windows, my Qt windows .. ?)
    and where do I set that if you speak about the Qt windows ?
    • The Manual said the program required Win95 or better, so I installed Linux.
    • Newton was a pessimist.
    • no Risk! no FuN!

Similar Threads

  1. Change cursor & status during Drag & Drop
    By ronlongo in forum Qt Programming
    Replies: 0
    Last Post: 1st December 2008, 16:56
  2. Problem with a cursor during Drag and Drop
    By mtrpoland in forum Qt Programming
    Replies: 1
    Last Post: 28th December 2007, 15:46
  3. Replies: 7
    Last Post: 8th September 2006, 16:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.