Results 1 to 5 of 5

Thread: diplaying image

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2008
    Location
    Morocco
    Posts
    47
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    7
    Thanked 1 Time in 1 Post

    Default diplaying image

    Hey..
    I m new begginer in Qt .. I had a problem to display a simple image on a graphicsView ..
    I tried the following instruction :


    Qt Code:
    1. QPixmap image(path);
    2. myview->setBackgroundBrush(image); //myview is a graphicsView Class
    To copy to clipboard, switch view to plain text mode 

    But Nothing Appear .. Actually I had a trouble with Using GraphicsView .. there is many class (GraphicsScene .. GrphicItem ... ) But I really Dont Know Wht To USe ..

    Plzzz If Some Could Help Me On ThaT!!!!!!!!
    Last edited by jpn; 1st April 2008 at 16:56. Reason: missing [code] tags

Similar Threads

  1. Finding marks on scanned image for alignment
    By caduel in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2007, 02:10
  2. Help needed handling image data
    By toratora in forum General Programming
    Replies: 2
    Last Post: 11th May 2007, 09:24
  3. how i can add image in my toolbar
    By jyoti in forum Qt Tools
    Replies: 7
    Last Post: 19th December 2006, 14:39
  4. How and when to repaint a widget ?
    By yellowmat in forum Newbie
    Replies: 7
    Last Post: 3rd April 2006, 16:36
  5. Question about updating an image on screen
    By SkripT in forum Qt Programming
    Replies: 1
    Last Post: 24th February 2006, 19:01

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
  •  
Qt is a trademark of The Qt Company.