Results 1 to 2 of 2

Thread: PPI (Plan-position Indicator) creation

  1. #1
    Join Date
    Dec 2011
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default PPI (Plan-position Indicator) creation

    I'm attempting to create a PPI to display objects that will be updating their position about every 4 seconds. I'm currently using a QGraphicsView object as a drawing canvas. Can get one object to display, but no more. I may be missing some fundamental concepts associated with refresh/redraw requirements. Would appreciate guidance. Thanks.

  2. #2
    Join Date
    Dec 2011
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: PPI (Plan-position Indicator) creation

    Conceptual problem solved. I set up a Frame, used QTimer with redraw, paintEvent, QList<QRectF>. Then painter.eraseRect(), and painter.drawRect().
    Probably QFrame is not the appropriate canvas. I'll move the lessons learned to QGraphicsView.

Similar Threads

  1. Replies: 4
    Last Post: 21st May 2015, 17:04
  2. Drag and Drop indicator Position
    By whitefurrows in forum Qt Programming
    Replies: 1
    Last Post: 14th July 2011, 11:35
  3. Plan for Visual Studio 2010 (MSVC 2010)?
    By Vinzz in forum Qt Programming
    Replies: 1
    Last Post: 18th April 2010, 17:42
  4. LED Indicator Widget
    By nleverin in forum Qt Tools
    Replies: 2
    Last Post: 4th September 2007, 11:41
  5. Drop Indicator
    By guilugi in forum Qt Programming
    Replies: 2
    Last Post: 18th January 2006, 10:49

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.