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 m

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 y

Re: [Development] Hiding Tabs in QTabWidget

2012-03-29 Thread Carsten Breuer
u > will see soon on gerrit my changes. I hope they get approved... > > Best regards, > > Jordi. > > El dj 29 de 03 de 2012 a les 13:49 +0200, en/na Carsten Breuer va > escriure: >> Hi Jordi, >> >> >> >> thanks for the answer. Im

Re: [Development] Hiding Tabs in QTabWidget

2012-03-29 Thread Carsten Breuer
plemented >> 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

[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 tab