Re: [Interest] Qt 5: using QPixmap outside of GUI thread

2012-09-27 Thread Thiago Macieira
On quarta-feira, 26 de setembro de 2012 18.40.34, Stephen Chu wrote: I was browsing the platform plugin code and find this new ThreadedPixmaps capability bit. After checking QPixmap source I think it means some platforms support using QPixmap in non-GUI thread? It looks like Cocoa and Windows

Re: [Interest] Qt 5: using QPixmap outside of GUI thread

2012-09-27 Thread Stephen Chu
On 9/27/12 3:36 AM, Thiago Macieira wrote: On quarta-feira, 26 de setembro de 2012 18.40.34, Stephen Chu wrote: I was browsing the platform plugin code and find this new ThreadedPixmaps capability bit. After checking QPixmap source I think it means some platforms support using QPixmap in

[Interest] Tree Model and QListView

2012-09-27 Thread Pierre-Étienne Messier
Hi, Let's take the Simple Tree Model example ( http://qt-project.org/doc/qt-4.8/itemviews-simpletreemodel.html ) with the TreeModel and TreeItem classes. Let's say the internal data structure looks like this: root | + Category1 |-- Item |-- Item |-- Item | + Category2 |-- Item

Re: [Interest] Tree Model and QListView

2012-09-27 Thread Tony Rietwyk
Hi Pierre, Have a look at setRootIndex. Both QListView and QTableView can point anywhere within a tree model. Hint: When you can't find a function in a Qt class - make sure to click on the 'List of all members' link in the Assistant. Especially the more high level classes! Despite

[Interest] QtConcurrent programming need help

2012-09-27 Thread Sujan Dasmahapatra
I am working on an existing application where threads are submitted concurrently. he is submitting 8 threads together and then he is waiting for all 8 threads to be finished to submit the next 8 threads. In this way after every 8 threads he is waiting and a lot of time is being taken for waiting.

Re: [Interest] QtConcurrent programming need help

2012-09-27 Thread Philipp Menke
Am 27.09.2012 20:32, schrieb Sujan Dasmahapatra: I am working on an existing application where threads are submitted concurrently. he is submitting 8 threads together and then he is waiting for all 8 threads to be finished to submit the next 8 threads. In this way after every 8 threads he

Re: [Interest] QtConcurrent programming need help

2012-09-27 Thread Thiago Macieira
On quinta-feira, 27 de setembro de 2012 21.32.36, Sujan Dasmahapatra wrote: I am working on an existing application where threads are submitted concurrently. he is submitting 8 threads together and then he is waiting for all 8 threads to be finished to submit the next 8 threads. In this way

Re: [Interest] QCommandLinkButton foreground color

2012-09-27 Thread Paolino Marmolaro
The style sheet works fine. thanks. Paolino 2012/9/27 André Somers an...@familiesomers.nl Op 27-9-2012 1:06, Paolino Marmolaro schreef: Hi, I'm trying to change the foreground color to a QCommandLinkButton, but it seems to have a fixed RGB in the paintEvent method. The button is

[Interest] CSS and Vertical Progress Bar

2012-09-27 Thread Austin, Alex
I find that if I apply any CSS to a vertical progress bar, any text displayed on the bar becomes horizontal. Is there a CSS rule I need to add to make it vertical again? I certainly know about the QProgressBar:vertical selector, but don't know what rule will rotate the text properly. Thanks,