newqtuser
16th December 2008, 01:12
Hi folks
Can anyone give me some tips on the best way to scroll image data across the screen from the left side of the screen to the right. I can currently draw image data top down using a qgraphicsscene and setting a label with each scanline i read and then calling scroll, but i need to draw vertically from left to right. The image data needs to be built off screen then as more lines are read i need to start scrolling it across the display untill its complete, then make it scroll off the right side of the display. Do i need to rotate the matrix to draw vertically or just swap my x,y cordinants? Also would a QAnimation and Qtimeline be good for the scrolling or would opengl be better as far as speed and looking smooth? Thanks for any help
Can anyone give me some tips on the best way to scroll image data across the screen from the left side of the screen to the right. I can currently draw image data top down using a qgraphicsscene and setting a label with each scanline i read and then calling scroll, but i need to draw vertically from left to right. The image data needs to be built off screen then as more lines are read i need to start scrolling it across the display untill its complete, then make it scroll off the right side of the display. Do i need to rotate the matrix to draw vertically or just swap my x,y cordinants? Also would a QAnimation and Qtimeline be good for the scrolling or would opengl be better as far as speed and looking smooth? Thanks for any help