Results 1 to 4 of 4

Thread: how to load an image or date in qt4

  1. #1
    Join Date
    Sep 2009
    Location
    china
    Posts
    6
    Thanks
    4
    Qt products
    Platforms
    Windows

    Default how to load an image or date in qt4

    I am a beginner, but I have to make a program which would function like google map. I just want to know how to load an image or dates by using qt creator. what function should i use ? thinks.

  2. #2
    Join Date
    Apr 2009
    Location
    Valencia (Spain)
    Posts
    245
    Thanks
    38
    Thanked 19 Times in 19 Posts
    Qt products
    Qt4
    Platforms
    Symbian S60

    Default Re: how to load an image or date in qt4

    will you need to interact wich each of the images? will they need events?

    if so, you can use the QGraphicsPixmapItem, but read first QGraphicsScene.

    If not, you can use a QPainter (check "drawPixmap")

  3. The following user says thank you to jano_alex_es for this useful post:

    cage (24th September 2009)

  4. #3
    Join Date
    Sep 2009
    Location
    china
    Posts
    6
    Thanks
    4
    Qt products
    Platforms
    Windows

    Default Re: how to load an image or date in qt4

    thanks for your help. but do you think it is necessary to download a MiniGIS or GIS source?
    Last edited by cage; 24th September 2009 at 06:15.

  5. #4
    Join Date
    Apr 2009
    Location
    Valencia (Spain)
    Posts
    245
    Thanks
    38
    Thanked 19 Times in 19 Posts
    Qt products
    Qt4
    Platforms
    Symbian S60

    Default Re: how to load an image or date in qt4

    It's up to you... it depends on what you need.

    If you need to show images, applicate zooms, move them (drag and drop), make them clickable, rotate them or apply any sort of transformation... you don´t need more. If you are going to interact with ArcObjects, maybe you should try VisualBasic instead.

  6. The following user says thank you to jano_alex_es for this useful post:

    cage (25th September 2009)

Similar Threads

  1. [Qt4] How to load Url image into QImage?
    By Gonzalez in forum Qt Programming
    Replies: 6
    Last Post: 13th October 2014, 11:10
  2. how to read in image date from memory zone
    By elflord in forum Qt Programming
    Replies: 2
    Last Post: 2nd June 2009, 20:44
  3. Is there a better way to load a big image?
    By learning_qt in forum Qt Programming
    Replies: 3
    Last Post: 26th November 2008, 16:00
  4. best way to load image from db
    By C167 in forum Qt Programming
    Replies: 2
    Last Post: 10th April 2008, 19:24
  5. how to load a Qt non-supported Image format
    By Nithya in forum Qt Programming
    Replies: 5
    Last Post: 3rd April 2008, 13:57

Tags for this Thread

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.