Results 1 to 6 of 6

Thread: Replacement of Images

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2007
    Posts
    326
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Replacement of Images

    HiHi all

    I am using Qt3.1 for Linux Operating System.

    My Problem is that how can I replace one image with another,

    By using Connections(Signals and Slots)

    connect(listView,SIGNAL(pressed(QListViewItem*)),t his,SLOT(reverse_images(QListViewItem*)));
    it can replace images.

    But what I want is after replacing images when I pressed again on an item it can again replace image with the first one(initial one).

    Pls do reply with an eg.

    Thanx and Regards
    merry
    Last edited by merry; 26th February 2007 at 09:41. Reason: missing [code] tags

Similar Threads

  1. Displaying real time images
    By Sheetal in forum Qt Programming
    Replies: 9
    Last Post: 22nd February 2007, 11:29
  2. How to display images in QTextBrowser ?
    By probine in forum Qt Programming
    Replies: 1
    Last Post: 12th January 2007, 08:58
  3. Replies: 1
    Last Post: 5th December 2006, 11:07
  4. JPEG Images not shown in QiconView using QT3??
    By darpan in forum Qt Programming
    Replies: 1
    Last Post: 4th August 2006, 20:34
  5. working with images
    By Kapil in forum Newbie
    Replies: 2
    Last Post: 9th March 2006, 11:59

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.