Results 1 to 2 of 2

Thread: QPixmap designer property not showing up

  1. #1
    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 QPixmap designer property not showing up

    Hi,

    I have a custom plugin for designer which allows the user to select a pixmap, like QLabel does.
    The behaviour I get when using it is as follows:
    - I click on the property and the images/resources dialog opens.
    - I choose an image (either direct or from a resouce file)
    - The image gets added to the image combobox next to my property in the propety view, but it is not selected in the combobox.
    If I try to select it, once I click on it, the combobox closes with <no pixmap>.

    In order to make sure the problem is not the image or a problem with the resource file, I do the same on the same form with a QLabel, and it accepts the image with no problems.

    I have no problem using the set and get methods I exposed in my property in code, there it works.

    Any ideas what I could be doing wrong, or not doing right?
    Any suggestions are welocme.

    Thanks.

    P.S
    I am aware this is about a plugin for designer, but I am quite sure the problem is a programming problem...

  2. #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: QPixmap designer property not showing up

    I solved the problem, it had to do with another thing in my project.

Similar Threads

  1. designer not showing menu items ...
    By wagmare in forum Installation and Deployment
    Replies: 0
    Last Post: 24th February 2009, 10:26
  2. QT Designer like property editor
    By dosto.walla in forum Qt Tools
    Replies: 2
    Last Post: 24th October 2008, 00:13
  3. Qt Designer not showing the main window
    By alecs1 in forum Qt Tools
    Replies: 2
    Last Post: 29th January 2008, 23:02
  4. Replies: 6
    Last Post: 14th April 2007, 07:59
  5. custom plugin designer property with out a variable?
    By high_flyer in forum Qt Programming
    Replies: 1
    Last Post: 15th March 2006, 19:11

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.