On Apr 22, 2009, at 3:06 PM, Bogdan Marinov wrote:

On Tue, Apr 21, 2009 at 10:32 PM, Timothy Reaves
<treaves@silverfieldstech.com> wrote:
Thanks for the patch, I'll look at it tonight.  I noticed that the close
button does not work, but the hot-key does.  If you know why this is, I'd
love the help!

The close button is connected to StelDialog::close(), which seems to
work properly only with global dialog windows. Because of the way you
call your window, you need to define your own slot/method for closing
it. The attached patch contains an example fix.

I've noticed that you use a QTableWidget for the ocular list. AFAIK,
this widget is intended for things like spreadsheets, and the proper
widget to use for multi-column lists is QTreeView (the "tree"
decoration can be switched off).


Thanks' much for the help.   I'll switch the widget out.