Note that for those corner cases, it may be acceptable to access the API of the underlying driver directly. There may be support for sending multiple statements in one go at that level. Otherwise, perhaps you can look into using Predicate. I believe that that SQL framework does include an SQL parser.
The row is not enough, because you have a tree and the hierarchy is also needed.
You need to have a QModelIndex of a cell which is close to where you want to go.
If you have a QModelIndex of the parent item you can use
@QModelIndex::child ( int row, int column ) @
If you have a QModelIndex of a sibling, for example an item in the same row you would use
@QModelIndex::sibling ( int row, int column ) @
Mh, i tried to connect to a not given IP. I want to see the dialog while
@
_tcpScoket.waitForConnected(30000)
@
is active till it times out. At 30000 ms.
In not working code:
@
dlg.show()
_tcpScoket.waitForConnected(30000)
dlg.cancel()
@
But in this 30000ms i don't get updates to my gui. Like i expected. But i'm looking for a way, to have my progressdialog running during this 30000 ms without calling waitForConnected from another thread because i don't want to move my socket from the main thread.
I think it's not possible?
First create QListQTouchEvent::TouchPoint touchPoints, and hand it over to the QTouchEvent constructor: http://doc.qt.nokia.com/latest/qtouchevent.html#QTouchEvent
Closed. Duplicate of http://developer.qt.nokia.com/forums/viewthread/7403/
You are note likely to get any help if you keep reposting your unanswered questions. Especially if reposted within a day.
I lost overview what the status of the issue is. One driver delivers correct results the other doesn't, is it like this? Then it is a obviously a driver issue. Maybe you want to start a new thread where you present the results of your research so far.
Take a look at (or get an svn checkout of) this section of my repository to see how I have ported the first few examples from the OpenGL SuperBible book to Qt.
[quote author="Lukas Geyer" date="1309845035"]"How can I detect in the .pro file if I am compiling for a 32 bit or a 64 bit platform?":http://developer.qt.nokia.com/faq/answer/how_can_i_detect_in_the_.pro_file_if_i_am_compiling_for_a_32_bit_or_a_64_bi
"Building projects for 32 and 64 bit Windows on 64 bit machine":http://developer.qt.nokia.com/forums/viewthread/5601[/quote]
Thank you!
Which kind of question is that? It's not a matter of one-size-fits-all rules. If it makes sense for you (esp. regarding the memory allocation of such a thing) then do it. Just remember to properly decode the bytes of the file.
The only thing I can think of is that the videowidget might not get its size until after you've put it in the scene.
But I still cannot see why you want to use QGraphicsView for this. You can do your own painting on/in any widget. QGraphicsView is great for keeping track of large numbers of individual grahpical items, but does not really help you that much if you just want to put text on top of a video.
Did you debug it and check, whether the code was reached where you set the validators?
The other thing is you have to react on the validators. So what does not work with them?
This can be found in the "docs":http://doc.qt.nokia.com/4.7/index.html and "main window examples":http://doc.qt.nokia.com/4.7/examples-mainwindow.html . If you want to add a menu bar or a tool bar to a "normal" qwidget,. you have to add it amnually to a layout like all other widgets.