Re: [Qt-jambi-interest] Can't remove widget when signal emitted from QThread

2012-05-25 Thread Josh Highley
; private void handleNewDataReadySignalFromThread(String newData) { mLatestData = newData; QTimer.singleShot(0, this, "displayResult()"); } private void displayResult() { // clear existing data and display mLatestData } On Thu, May 24, 2012 at 1:13 PM, Josh Highley wrote: > My progr

[Qt-jambi-interest] Can't remove widget when signal emitted from QThread

2012-05-24 Thread Josh Highley
My program has a long running thread that when finished, emits a signal with the resulting data. The signal handler method in the main app should then clear the GUI's result display area of any existing data and display the new result data. However, I've encountered the issue where the existing d

Re: [Qt-jambi-interest] how to use .qrc

2012-05-04 Thread Josh Highley
If your icon image is on your classpath, you can easily create a QIcon object directly: QIcon icon = new QIcon("classpath:com/domain/myproject/icon.png"); Josh On Fri, May 4, 2012 at 1:08 PM, Darryl Miles < darryl-mailingli...@netbauds.net> wrote: > Χρήστος Τριανταφύλλης wrote: > > Hello ever

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

2012-02-13 Thread Josh Highley
@Darryl: My statement about "I should be able to implement ..." was looking for verification that I should be able to do that, per other people's prior comments that made it seem so. I don't know how I would write this using best practices because I haven't found any. If you can point me to some

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

2012-02-07 Thread Josh Highley
The Jambi tree examples that I've found use the file system as the model and relies on the filesystem to provide the parent-child relationship, which doesn't help me. I have a flat list of objects in a QAbstractItemModel. I use this model with other views so I can't just extend QTreeModel instead