Re: [Interest] QTextEdit performance

2012-04-25 Thread Kimmo Viitanen
> Is there a better text style widget to use for scrolling log type scenarios? > > Is there a trick I need to use to make this perform better? Perhaps you could try QPlainTextEdit. You could also try playing with the wordWrapMode property. Regards, Kimmo _

Re: [Interest] Window flicker when layout's size constraint is Fixed

2012-02-02 Thread Kimmo Viitanen
Hi, > I want the size of the dialog to change depending on the visible > widgets, so I have set the layout used in the dialog to have > QLayout::SetFixedSize as it's size constraint. The documentation for SetFixedSize says "The main widget's size is set to sizeHint(); it cannot be resized at all

Re: [Interest] Changing key repeat settings in Qt

2012-01-30 Thread Kimmo Viitanen
On 01/30/2012 03:51 PM, Till Oliver Knoll wrote: > Hmmm, so you do a single move triggered by a key-press? > > IMHO it would be better to detect a key DOWN event instead and keep moving as long as that key is down (or in other words: until you receive a key UP event of the proper key). > > W

[Interest] Changing key repeat settings in Qt

2012-01-30 Thread Kimmo Viitanen
Hi, Is it possible to change the key repeat settings using Qt? When a keyboard key is pressed and kept pressed, there is usually a delay before the key starts repeating. I'd like to reduce this delay. This is probably not something that is usually desired in an application (fiddling with user'

Re: [Interest] drag and drop disappear the item for windows, in Linux it fine

2012-01-20 Thread Kimmo Viitanen
On 20.1.2012 11:36, Sujan Dasmahapatra wrote: > This is a Qt bug…Can anyone tell where to report this kind of bug??? You can report bugs at bugreports.qt.nokia.com. It would probably be best to provide a minimal, complete test case as an attachment to the bug report.

Re: [Interest] QGraphicsItemAnimation: only setPosAt() is permanent?

2012-01-17 Thread Kimmo Viitanen
Replying to myself, QGraphicsItemAnimation is deprecated. Noticed when I started reading the source. The Qt 4.8.0 documentation for QGraphicsItem::advance() says: "For individual item animation, an alternative to this function is to either use QGraphicsItemAnimation..." It's a bit misleading to

[Interest] QGraphicsItemAnimation: only setPosAt() is permanent?

2012-01-15 Thread Kimmo Viitanen
I am trying to develop a simple game using Qt and specifically Qt Graphics View Framework. I am using a custom QGraphicsItem with QGraphicsItemAnimation to move and turn the objects around the scene. Now I'm running into an issue, though, because it seems that the transformations applied by QGrap