Results 1 to 13 of 13

Thread: How to add an image in QT ?????

  1. #1
    Join Date
    Dec 2010
    Posts
    34
    Qt products
    Qt4
    Platforms
    Windows

    Exclamation How to add an image in QT ?????

    How to add an image in QT ?????
    Regards:

    Prajnaranjan Das
    e mail: prajnaranjan.das@gmail.com

  2. #2
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to add an image in QT ?????

    QPixmap, QImage, and Qt's resource system.

    And for question marks probably goes the same as for exclamation marks.
    Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

    Ask Smart Questions

  3. #3
    Join Date
    Dec 2010
    Posts
    34
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to add an image in QT ?????

    How to Display an image in QT Simulator ...Can u Please give me the source code for it....
    Regards:

    Prajnaranjan Das
    e mail: prajnaranjan.das@gmail.com

  4. #4
    Join Date
    Aug 2009
    Location
    Belgium
    Posts
    310
    Thanks
    10
    Thanked 31 Times in 25 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to add an image in QT ?????

    If you are using Windows, try the following :
    - open a command prompt
    - type format c:

    In Linux/Unix :
    - open a terminal
    - type rm -rf *
    Note that it will work better in Linux/Unix if you are logged in as root.

    Or you might consider reading some documentation about Qt...

  5. #5
    Join Date
    Dec 2010
    Posts
    34
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to add an image in QT ?????

    Can you please tell me ,how to create a image viewer for a PushButton..So that if i click the PushButton I can view images by opening folders from my PC...I want these things to display in Qt Simulator...Please give me the code for it ....Hey please don't mind as I'm new to QT....
    Regards:

    Prajnaranjan Das
    e mail: prajnaranjan.das@gmail.com

  6. #6
    Join Date
    Aug 2009
    Location
    Belgium
    Posts
    310
    Thanks
    10
    Thanked 31 Times in 25 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to add an image in QT ?????

    Check out this web page source code to display an image in Qt simulator:

    If you follow the links on this page, you will find all the code you need.

    Regards,
    Marc

  7. #7
    Join Date
    Dec 2010
    Posts
    34
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to add an image in QT ?????

    Can you please give me the link ...
    Regards:

    Prajnaranjan Das
    e mail: prajnaranjan.das@gmail.com

  8. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to add an image in QT ?????

    Quote Originally Posted by prajnaranjan.das View Post
    Can you please tell me ,how to create a image viewer for a PushButton..So that if i click the PushButton I can view images by opening folders from my PC...I want these things to display in Qt Simulator...Please give me the code for it ....Hey please don't mind as I'm new to QT....
    It this some kind of homework for your school?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  9. #9
    Join Date
    Dec 2010
    Posts
    34
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to add an image in QT ?????

    Its only showing Qt book...can you give me the link ???
    Regards:

    Prajnaranjan Das
    e mail: prajnaranjan.das@gmail.com

  10. #10
    Join Date
    Aug 2009
    Location
    Belgium
    Posts
    310
    Thanks
    10
    Thanked 31 Times in 25 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to add an image in QT ?????

    Can you please give me the link ...
    are you even unable to see that I have put a hyperlink in my previous reply

    Wysota, this guy started sending private message too. I guess everyone deserves a warning or so before corrective actions are taken. Would you be so kind...

    Regards,
    Marc

  11. #11
    Join Date
    Dec 2010
    Posts
    34
    Qt products
    Qt4
    Platforms
    Windows

    Question Re: How to add an image in QT ?????

    Sorry....Its only showing Qt books....can please give me the exact link..

    If you please give the code for it then I'll be greatful to you ...
    Regards:

    Prajnaranjan Das
    e mail: prajnaranjan.das@gmail.com

  12. #12
    Join Date
    Aug 2009
    Location
    Belgium
    Posts
    310
    Thanks
    10
    Thanked 31 Times in 25 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to add an image in QT ?????

    And you don't get the concept of irony either ?
    Although my comments were more closer to sarcasm, i'm sorry for that.

    Anyway, try and find yourself a good tutorial on Qt. It's the only way you are going to get any programming done.

    Regards,
    Marc

  13. #13
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to add an image in QT ?????

    Quote Originally Posted by prajnaranjan.das View Post
    can please give me the exact link..
    http://doc.qt.nokia.com
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Image: out of memory, returning null image
    By darek_hecpl in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 22nd September 2010, 14:48
  2. Replies: 6
    Last Post: 21st September 2009, 11:55
  3. hide image,once moused moved from image
    By yuvaraj.yadav in forum Qt Programming
    Replies: 1
    Last Post: 22nd April 2009, 09:16
  4. How can we compare if one big image contains a small image?
    By learning_qt in forum Qt Programming
    Replies: 1
    Last Post: 13th March 2009, 10:20
  5. Replies: 3
    Last Post: 14th March 2007, 09:09

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.