Re: [Interest] mousepressevent on qtablewidgetitem

2012-05-11 Thread Alex Malyushytskyy
Are you sure you need mouse press event? Would listening to void QTableWidget::cellPressed ( int row, int column ) signal help? If not you can always install event filter, look for void QObject::installEventFilter ( QObject * filterObj ) Alex On Tue, May 8, 2012 at 5:10 AM, Riccardo Roasio wrot

Re: [Interest] QAbstractItemModel and lazy loading

2012-05-11 Thread Jason Dictos
What I've done to work around this is to always have a dummy item called "Loading..." as the first item in the list. Then when that node expands, load and replace it. That has turned out to be a pretty good user experience as well. There doesn't seem to be a way to control the decoration of item

[Interest] Displaying QWidgets into an OpenGL render thread

2012-05-11 Thread Pierre-Étienne Messier
Hello all, I wrote a small demo application using a OpenGL render thread similar to the solution presented in QQ ( http://doc.qt.nokia.com/qq/qq06-glimpsing.html#writingmultithreadedglapplications/ http://mih.voxindeserto.de/threadedcube.html) which runs fine. Now, I'd like to render QWidgets (QD

[Interest] Need "best practice" recommendation on MouseArea

2012-05-11 Thread Helbrass
Hi All! Impressed with QML power I've been experimenting with some ideas I have that I would not dare to do with any other toolkit, and got some behavioural problems with MouseArea that I cannot resolve in a clean way. I can do it with some boolean flags and setting them with some complicated log

[Interest] QAbstractItemModel and lazy loading

2012-05-11 Thread Adam Light
Hi I have a QAbstractItemModel subclass SourceModel in my application. I have a QTreeView widget that displays SourceModel. SourceModel monitors data structures in my application for changes and when it detects changes it updates itself to reflect those changes. SourceModel is written to lazily

Re: [Interest] Nokia N9 questions

2012-05-11 Thread Quim Gil
On 05/11/2012 08:09 AM, ext Jason H wrote: > As I've mentioned before on this list I have a N9. :-) > > However there are some issues with it. I was wondering if "those in the > know" could point me to additional resources - like Android has > xda-developers - but for the N9. http://talk.maemo.org

Re: [Interest] [Development] The place of QML

2012-05-11 Thread BRM
- Original Message - >> For starters, there's already a foundation in place - >>     http://www.kde.org/community/whatiskde/kdefreeqtfoundation.php. >> That Foundation has the right to license Qt under a "BSD-style >> license or under other open source licenses" regardless of >> any o

Re: [Interest] Console output on OS X

2012-05-11 Thread Till Oliver Knoll
Am 11.05.2012 um 17:04 schrieb Sherif Ghali : > (unless QT_NO_DEBUG is > set). What makes you sure that this was set at compile time of Qt? Are you sure you are linking against a *debug* Qt version? (Somehow a ring bells telling me that the stock binary Qt frameworks on Mac ship only in relea

[Interest] Nokia N9 questions

2012-05-11 Thread Jason H
As I've mentioned before on this list I have a N9. :-) However there are some issues with it. I was wondering if "those in the know" could point me to additional resources - like Android has xda-developers - but for the N9. I have the following questions: (Which may aid in directing me to relev

Re: [Interest] Console output on OS X

2012-05-11 Thread Sherif Ghali
In this example we know that the QPaintDevice * is a QPrinter *. We know that there is no rasterization for moveTo/lineTo on QPrinters. We also know from qt-everywhere-opensource-src-4.8.1/src/gui/painting/qpainterpath.cpp that the message should appear on all platforms (unless QT_NO_DEBUG is s

Re: [Interest] Console output on OS X

2012-05-11 Thread Till Oliver Knoll
Am 11.05.2012 um 13:41 schrieb Sherif Ghali : > The message > QPainterPath::lineTo: Adding point where x or y is NaN or Inf, ignoring call > is not printed in the Terminal. How to make it appear? Then this can only mean one thing: the message is simply never issued ;) Apparently you are expe

Re: [Interest] Console output on OS X

2012-05-11 Thread Thiago Macieira
On sexta-feira, 11 de maio de 2012 07.41.52, Sherif Ghali wrote: > The message >QPainterPath::lineTo: Adding point where x or y is NaN or Inf, ignoring > call is not printed in the Terminal. How to make it appear? > > I just tried QtCreator and the message does not appear in "Application > Outp

[Interest] unity3d plugin in qml webview

2012-05-11 Thread Mülner , Helmut
The unity3d plugin (e.g. http://download.unity3d.com/gallery/live-demos/players/island.unity3d ) works with QWebView but not in QGraphicsWebView or in a QML WebView. The plugin uses three stacked windows on top of the web page and I suspect that something in the QGraphicsView prevents the crea

Re: [Interest] Console output on OS X

2012-05-11 Thread Sherif Ghali
To Oliver: By 'T'erminal and 'C'onsole I did indeed mean the applications with that name on OS X. I am avoiding an app_bundle while debugging to increase the chances I'd see the warning messages. Here are more details on the question: -- copy the two files to ~/console_output. -- Run the OS X Te

Re: [Interest] Console output on OS X

2012-05-11 Thread Konstantin Tokarev
11.05.2012, 11:32, "Till Oliver Knoll" : >  Am 11.05.2012 um 08:55 schrieb Konstantin Tokarev : >>   Note that passing a lot of debug output through syslogd (which feeds >> Console.app) >>   can degrade overall system performance. >  In my previous post I made the assumption that you need to call

Re: [Interest] Console output on OS X

2012-05-11 Thread Till Oliver Knoll
Am 11.05.2012 um 08:55 schrieb Konstantin Tokarev : > Note that passing a lot of debug output through syslogd (which feeds > Console.app) > can degrade overall system performance. In my previous post I made the assumption that you need to call specific system log APIs (such that it gets fed t