[Qt-jambi-interest] Subclassing QApplication

2012-02-09 Thread Cvetoslav Ludmiloff
Hi all, I want to subclass QApplication. What is the preferred way to do it. It seems like qt-jambi uses its own initialization function - initialize(String[] args), but I want to create my QApplication subclass by calling its constructor and doing some stuff there. How to do it Regards Cvetoslav

Re: [Qt-jambi-interest] Subclassing QApplication

2012-02-09 Thread Samu Voutilainen
On Thursday 09 February 18:00:13 Cvetoslav Ludmiloff wrote: > Hi all, > I want to subclass QApplication. What is the preferred way to do it. > It seems like qt-jambi uses its own initialization function - > initialize(String[] args), but I want to create my QApplication subclass by > calling its co

Re: [Qt-jambi-interest] How can I populate a QTreeView from a "flat" QAbstractItemModel

2012-02-09 Thread Darryl Miles
joshhigh...@gmail.com wrote: > Yes, I've read the documentation several times but it's too high level. > I forgot to mention in my original email that I am already using a proxy > model. I think I have most of it figured out, except for how to > implement the parent(QModelIndex child) method. I can

Re: [Qt-jambi-interest] Subclassing QApplication

2012-02-09 Thread Darryl Miles
Samu Voutilainen wrote: > On Thursday 09 February 18:00:13 Cvetoslav Ludmiloff wrote: >> I want to subclass QApplication. What is the preferred way to do it. >> It seems like qt-jambi uses its own initialization function - >> initialize(String[] args), but I want to create my QApplication subclass

Re: [Qt-jambi-interest] How can I populate a QTreeView from a "flat" QAbstractItemModel

2012-02-09 Thread joshhighley
I'll see what I can do. In my limited experience, Jambi is generally a very thin wrapper on the C++ APIs. Since the child index is created by calling the index(row,column,parent) method, I think the parent of the child _should_ already be known and populated (but isn't in my case). I have v

[Qt-jambi-interest] Subclassing QApplication

2012-02-09 Thread Cvetoslav Ludmiloff
Thanks, I will try exec() method. Regards Cvetoslav Ludmiloff http://archstable.blogspot.com/ ___ Qt-jambi-interest mailing list Qt-jambi-interest@qt.nokia.com http://lists.qt.nokia.com/mailman/listinfo/qt-jambi-interest