Results 1 to 2 of 2

Thread: Simple form with pixel manipulation

  1. #1
    Join Date
    Dec 2011
    Posts
    1
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Question Simple form with pixel manipulation

    Hi guys,
    I'm completely newbie to Qt
    i want to create a 800X600 window that just show some circle and be able to manipulate pixels of the form. there is no interaction between user and form(no click, no dblclick,...) it just shows some circles with one color and lines with different pixel colors(each line may have different pixel colors)
    also i want to be able to change the coordination system, i mean change it from top-left to the center of the window. could anyone help me do that with some sample code?
    thanks in advance for your reply.

  2. #2
    Join Date
    Oct 2007
    Location
    Lake Forest, CA, USA
    Posts
    132
    Thanks
    10
    Thanked 27 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: Simple form with pixel manipulation

    Not sure about coordinate system, but for simple drawing you can use QPainter.
    Oleg Shparber

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

    mohsenaria (29th December 2011)

Similar Threads

  1. Replies: 2
    Last Post: 10th June 2011, 14:16
  2. Legend manipulation
    By pkj in forum Qwt
    Replies: 1
    Last Post: 17th March 2011, 07:11
  3. Replies: 3
    Last Post: 12th November 2010, 17:08
  4. Text Manipulation.
    By suneel1310 in forum Qt Programming
    Replies: 7
    Last Post: 26th July 2010, 10:07
  5. QPixmap pixel by pixel ?
    By tommy in forum Qt Programming
    Replies: 19
    Last Post: 3rd December 2007, 22:52

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.