[Interest] Many paint events?

2014-03-30 Thread Brad Pepers
I have a class derived from QAbstractScrollArea using Qt 5.2.0 and it re-implements paintEvent. It's used as a view into a much larger image and that image is drawn by background threads. So the image may be 10,000 by 5,000 pixels but the view is 900x600 and those 10,000 by 5,000 pixels are

Re: [Interest] Many paint events?

2014-03-30 Thread Derek Cole
This maybe irrelevant but I implemented a similar image viewer a couple of years ago. I ca post later when I am at a computer to look at the actual working code, but for now, http://stackoverflow.com/questions/6459278/read-image-files-with-qimagereader-using-qtconcurrent This has some code

Re: [Interest] TextEdit and virtual keyboard

2014-03-30 Thread VStevenP
As an aside, when you use a _TextInput_ on iOS, it does auto-launch the iOS soft keypad when you tap on the TextInput.  Pretty convenient.  Maybe TextEdit should be enhanced to work like TextInput; maybe it should auto-launch the platform-specific keypad like TextInput does. - VStevenP

Re: [Interest] TextEdit and virtual keyboard

2014-03-30 Thread Cezar Menezes
I believe TextEdit already launches the virtual keyboard when it receives the focus. Try setting the z parameter as 1 to put the TextInput object in foreground. Perhaps a MouseArea may be overriding the focus capture. Example: import QtQuick 2.0 Rectangle { width: 320 height: 480

Re: [Interest] TextEdit and virtual keyboard

2014-03-30 Thread igor.mironchik
Guys. All Qt text input controls work well and launch soft keyboard automatically. My problem was in my own TextEdit, that I wrote... Thanks. From: Cezar Menezes Sent: Monday, March 31, 2014 3:14 AM To: VStevenP Cc: igor mironchik ; Alan Ezust ; interest@qt-project.org Subject: Re: