×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    7

    Thumbnail contact QML

    Hi everyone,

    I’m trying to make a simple phonebook with C++ and QML.

    In the QML there is just a ListView with a function to add the contacts from C++. The delegate component has an Image element to show the contact thumbnail.

    I know how to set an Image by its url, for example I can get the url of the picture from the QContactAvatar. What I want to know its how to get the url of the QContactThumbnail, I tried to check the API but I couldn’t find it.

    Does anyone know how to get the url of the QContactThumbnail, or another way to add the thumbnail directly to each of the delegates of the ListView?

    Thank you a lot!

  2. #2
    Nokia Developer Moderator
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327

    Re: Thumbnail contact QML

    It seems that the QContactThumbnail is not exposed through the QML contacts plugin (see https://bugreports.qt.nokia.com/browse/QTMOBILITY-1854 for followup info on this). A wrapper class for Image {} could be written or maybe implement it indirectly via http://doc.qt.nokia.com/4.7-snapshot...eprovider.html if the thumbnails are really needed.

  3. #3
    Registered User
    Join Date
    May 2011
    Posts
    7

    Re: Thumbnail contact QML

    Really helpfull! Thank you a lot!

Similar Threads

  1. How can I get contact thumbnail
    By ashraf fawzy in forum Symbian
    Replies: 1
    Last Post: 2010-09-26, 06:39
  2. How to get contact thumbnail
    By ashraf fawzy in forum Symbian
    Replies: 2
    Last Post: 2010-09-22, 16:09
  3. Contact thumbnail
    By berki141 in forum Symbian
    Replies: 0
    Last Post: 2009-09-21, 14:47
  4. How to remove thumbnail from a contact ??
    By krishnaramram in forum Symbian
    Replies: 1
    Last Post: 2009-03-06, 20:49
  5. Help: How to get contact thumbnail?
    By bslee in forum Symbian
    Replies: 2
    Last Post: 2007-08-31, 06:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×