From agidee at hotmail.com Fri May 2 13:03:39 2014 From: agidee at hotmail.com (Tim Agidee) Date: Fri, 2 May 2014 11:03:39 +0000 Subject: [OpendTect_Developers] uiIOObjSelDlg Message-ID: Hi, Is there a way to get the all the objects listed in a uiIOObjSelDlg? At the moment I can only get the ioobj that is selected when clicking on OK. Also, what is the ideal way of using the deletenotify method for a custom object. Thanks Timi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bert.bril at dgbes.com Thu May 8 00:37:21 2014 From: bert.bril at dgbes.com (Bert Bril) Date: Thu, 08 May 2014 00:37:21 +0200 Subject: [OpendTect_Developers] uiIOObjSelDlg In-Reply-To: References: Message-ID: <536AB5A1.80609@dgbes.com> Hi all, As nobody seems to pick up this one, I'll give it a try ... > Is there a way to get the all the objects listed in a uiIOObjSelDlg? At > the moment I can only get the ioobj that is selected when clicking on OK. dlg.selGrp()->getIOObjIds() in 5.0 the uiIOObjSelGrp will be refreshed in various ways. It is now also possible to have multiple selection of IOObjs. > Also, what is the ideal way of using the deletenotify method for a > custom object. Don't know what you mean by it. Like any other callback, just use it if you need it. /Bert From agidee at hotmail.com Thu May 8 06:23:39 2014 From: agidee at hotmail.com (Tim Agidee) Date: Thu, 8 May 2014 04:23:39 +0000 Subject: [OpendTect_Developers] uiIOObjSelDlg In-Reply-To: <536AB5A1.80609@dgbes.com> References: , <536AB5A1.80609@dgbes.com> Message-ID: Thanks. I have figured i out myself. I just struggled to find examples in the source code. > Date: Thu, 8 May 2014 00:37:21 +0200 > From: bert.bril at dgbes.com > To: Developers at opendtect.org > Subject: Re: [OpendTect_Developers] uiIOObjSelDlg > > Hi all, > > > As nobody seems to pick up this one, I'll give it a try ... > > > > Is there a way to get the all the objects listed in a uiIOObjSelDlg? At > > the moment I can only get the ioobj that is selected when clicking on OK. > > dlg.selGrp()->getIOObjIds() > > in 5.0 the uiIOObjSelGrp will be refreshed in various ways. It is now > also possible to have multiple selection of IOObjs. > > > > Also, what is the ideal way of using the deletenotify method for a > > custom object. > > Don't know what you mean by it. Like any other callback, just use it if > you need it. > > > /Bert > > _____________________________________________________________ > OpendTect Developers mailing list Developers at opendtect.org > http://lists.opendtect.org/mailman/listinfo/developers > > You receive this mail because you are listed on developers at opendtect.org To unsubscribe please go to http://lists.opendtect.org/mailman/options/developers . If you encounter any problems, please contact support at opendtect.org . -------------- next part -------------- An HTML attachment was scrubbed... URL: