Re: [Development] Mutex future directions

2012-05-23 Thread Carsten Breuer
Hi Bradley, And I don't think they very much liked the idea of spinning while trying to acquire a lock (consumes power)... at least we have a call to QThread::yieldCurrentThread(), though it would be interesting to see what happens if we replace it with a PAUSE instruction. Have you seen

Re: [Development] Mutex future directions

2012-05-23 Thread Carsten Breuer
Hi Thiago, thanks for clearing this :-) I guess it depends a bit on if you want to yield to another thread or not ;-). Of course: burning cpu time is another way to solve this ;-) According to the Intel manual, if you *don't* yield and you don't have the PAUSE instruction, you may make

Re: [Development] Hiding Tabs in QTabWidget

2012-03-29 Thread Carsten Breuer
that functionality, but right now I cannot contribute it to Gerrit ( no maintainer for QWidgets module no plans... ). If someone can tell me how to do it I'll be glad to do it for Qt5.1 El 26/03/2012 21:43, Carsten Breuer carstenbreue...@textwork.de escribió: Hi guys

[Development] Hiding Tabs in QTabWidget

2012-03-26 Thread Carsten Breuer
Hi guys, i just spend some hours with trying to hide a tab in a QTabWidget that was designed with QtCreator (ui). After searching the web it seems to me that the only way to solve this is to use the removeTab function. I don't want to use removeTab, because this means that i have to save the