pastispast
22nd July 2010, 20:47
Hi Friends,
I am implementing some graphics related application(like a radar view). In the view I have to draw the real time data on the screen. There are some attribute of that data (like status as progress bar, tool tip, image, mouse event).
Hence I am:
- First implementing the basic screen using the paint class. In the paint I am using "setViewport" and "setWindow" for re-size consideration.
- Then I am using the custom button (QPushButton) for the attributes.
First I want to ask, "is this the correct approach" or there is any thing in the paint class that provide me click functionality. If I want to go with the paint class then it will be easy to represent the live data, but due to live data attribute I can not go for it.
Please suggest me for the missing functionality or better approach.
I am implementing some graphics related application(like a radar view). In the view I have to draw the real time data on the screen. There are some attribute of that data (like status as progress bar, tool tip, image, mouse event).
Hence I am:
- First implementing the basic screen using the paint class. In the paint I am using "setViewport" and "setWindow" for re-size consideration.
- Then I am using the custom button (QPushButton) for the attributes.
First I want to ask, "is this the correct approach" or there is any thing in the paint class that provide me click functionality. If I want to go with the paint class then it will be easy to represent the live data, but due to live data attribute I can not go for it.
Please suggest me for the missing functionality or better approach.