Results 1 to 2 of 2

Thread: Graph plotting on QFrame using QPainter+ rotation of QMainWindow

  1. #1
    Join Date
    Apr 2011
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Graph plotting on QFrame using QPainter+ rotation of QMainWindow

    Hi,
    I have rotated QMainWindow to 90 degree using QGraphics View. Now i am not getting proper real time ECG graph on QFrame using QPaintEvent function. just i am getting current line and previous continuous lines will not visible. If i comment QMainWindow rotation function, everything is proper. Please tell me how to solve this.


    Thanks in advance.

  2. #2
    Join Date
    Jul 2011
    Posts
    12
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Graph plotting on QFrame using QPainter+ rotation of QMainWindow

    I am also having similar problem

    Hay i am facing a trivial problem in qt.I have builded a qt application on my linux desktop.And it has some real time graph plottings.And it runs fine.I am plotting outside paint event by setting attributes.When i ran same app in my arm based parocessor environment(where exactly we need to fit final application), i am getting error as qpainter not active.
    In arm i am running app with -qws. Is this the issue with X11 server as we can only plot outside painevent in x11 only.
    Just to overcome this issue i tried with pain event which works fine..but my app dimension is 320*240.In my arm environment the LCD size is 240*320,so i rotared my app by placing it in a qgraphics scene.After this rotation even i could't able to c the graph.

    So whats the solution.?How can i solve this issue..?any ideas?

Similar Threads

  1. Graph plotting
    By steg90 in forum Qt Programming
    Replies: 13
    Last Post: 6th April 2011, 10:30
  2. Graph rotation
    By jomarin in forum Qwt
    Replies: 2
    Last Post: 16th August 2010, 09:21
  3. Plotting graph of 1/x
    By Persoontje in forum Qwt
    Replies: 1
    Last Post: 20th March 2009, 14:26
  4. Rotation on Qframe
    By Pharell in forum Qt Programming
    Replies: 11
    Last Post: 2nd April 2008, 16:31
  5. Plotting a graph with QWT
    By steg90 in forum Qwt
    Replies: 1
    Last Post: 6th June 2007, 17:04

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.