Results 1 to 6 of 6

Thread: Extreme Newbie!!

  1. #1
    Join Date
    Feb 2010
    Location
    Nottingham
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Thumbs up Extreme Newbie!!

    Hey all,

    Im new to the world of QT and programing so forgive me for stupid questions.

    I want to create a programe that has a Maphighlight image section at the top and once you click on the selcted area the information will be displayed at the bottom?

    This would also have to be edited by the user?

    Is this possible and if so how?

    Any help would be aprreciated.

    Cheers.

  2. #2
    Join Date
    Oct 2008
    Posts
    71
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Extreme Newbie!!

    it is quite possible. Here is how: download and install Qt, look through the library, examples, demos, pick the controls you like and put then together in a program.

  3. #3
    Join Date
    Feb 2010
    Location
    Nottingham
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Extreme Newbie!!

    Thanks will do. my main concern would be the images i use and how to upload them etc..

  4. #4
    Join Date
    Oct 2008
    Posts
    71
    Thanks
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Extreme Newbie!!

    within the application you can embed your images as resources. Take a look at Qt Resource system. From your description its not clear what your application is going to do, so I cant advise you anything else..

  5. #5
    Join Date
    Feb 2010
    Location
    Nottingham
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Extreme Newbie!!

    Thanks idealy i want it like this
    http://davidlynch.org/js/maphilight/docs/demo_usa.html#
    but when you click on the said picture it will display text at the bottom which the uer can edit and save.

    Ive been on the demos and cant see anything that resembles it.

  6. #6
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Extreme Newbie!!

    You wont find a demo that covers your need 100 percent. For the image you could use
    • a custom QWidget showing the "base" image and then track the mouse and overlay the image with the highlighted part of it depending of the mouse position
    • Split your image in different parts and use a QGraphicsScene with items (which are the parts of your image)
    On a click load the corresponding data in a QTextEdit where you can alter the text, save it or do whatever you want to do...


    Just start and play around with the possibilities of Qt. There are many ways to achieve what you want.

Similar Threads

  1. newbie
    By navid in forum Qwt
    Replies: 5
    Last Post: 23rd December 2009, 08:11
  2. Newbie Questions
    By Pether in forum Newbie
    Replies: 9
    Last Post: 15th July 2009, 08:32
  3. Help newbie with QTableView...
    By pnunn in forum Newbie
    Replies: 8
    Last Post: 25th February 2009, 12:17
  4. Please help me. I'm newbie =)
    By Alex Snet in forum Newbie
    Replies: 1
    Last Post: 7th December 2008, 02:19
  5. Qt newbie
    By canleyemy in forum General Discussion
    Replies: 0
    Last Post: 28th January 2006, 03:26

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.