[Qt-jambi-interest] BackgroundRole

2009-02-05 Thread Vincent Lebreil
Hi, I'm trying to display a background color for all items of my model. I've tried to return a QColor in my data method for BackgroundRole. But this color is only displayed if the mouse is over one row of my view. This color is not displayed for all the rows of my view. I don't understand why, cau

Re: [Qt-jambi-interest] signal.connect() creates double connections in some cases

2009-02-05 Thread Eskil Abrahamsen Blomfeldt
Mathias wrote: > public class MyTabWidget extends QTabWidget { > public MyTabWidget() { > currentChanged.connect(this, "currentChanged(int)"); > } > > private void currentChanged(int index) { > System.out.println("Changed!"); > } > } > > This creates two lines of p

[Qt-jambi-interest] signal.connect() creates double connections in some cases

2009-02-05 Thread Mathias
Gentlemen, consider this: public class MyTabWidget extends QTabWidget { public MyTabWidget() { currentChanged.connect(this, "currentTabChanged(int)"); } private void currentTabChanged(int index) { System.out.println("Changed!"); } } This short piece of code works

[Qt-jambi-interest] Crash on System.exit()

2009-02-05 Thread Mathias
Gentlemen, I did notice that in some cases, when my app exits with System.exit() (e.g. after having handled an exception) Jambi crashes with a seg fault in qtjambi.dll native code. I attached the crash log of the most recent case. Basically the procedure is as follows: During startup my applicat

Re: [Qt-jambi-interest] QTJambi in MacOS

2009-02-05 Thread Eskil Abrahamsen Blomfeldt
Dennis Kehrig wrote: > What, exactly - Java oder Eclipse? Because I got the same problem > without using Eclipse at all (compiled on Windows, then run on Mac OS > X). Java on Windows does not accept this option, is this a Mac-only thing? Hi, Dennis. Yes, it's a mac-only thing, because the impleme

Re: [Qt-jambi-interest] QTJambi in MacOS

2009-02-05 Thread Dennis Kehrig
Hello, > "QPixmap: It is not safe to use pixmaps outside the GUI thread" I experienced this, too. > On OS-X you need to launch with -XstartOnFirstThread. What, exactly - Java oder Eclipse? Because I got the same problem without using Eclipse at all (compiled on Windows, then run on Mac OS X). J