[Kstars-devel] Refined patch for wishlist 178232: List all objects within a rectangle

Abhijit Apte abhijit.apte at gmail.com
Wed Jan 27 07:16:27 CET 2010


Hi Alexey,

The problem with reusing the dialogs/detaildialog.[cpp,h] is that
DetailDialog is derived from KPageDialog and the face type has been set to
*Tabbed* and the options available for the face types are the following:

~/kde/src/KDE/kdelibs/kdeui/paged/kpagedialog.h:
    enum FaceType
    {
      Auto   = KPageView::Auto,
      Plain  = KPageView::Plain,
      List   = KPageView::List,
      Tree   = KPageView::Tree,
      Tabbed = KPageView::Tabbed
    };

Although, I liked this DetailDialog very much, in that it is being more
informative, the tabbed face type limits it from being reused for showing
details about multiple objects selected from a rectangle.

Rgds
-Abhi


On Wed, Jan 27, 2010 at 3:48 AM, Khudyakov Alexey <alexey.skladnoy at gmail.com
> wrote:

> В сообщении от Среда 27 января 2010 00:37:08 Abhijit Apte написал:
> > Hi,
> >
> > I've now implemented the things which I mentioned in my previous mail
> (pl.
> > apply the patch attached with this mail).
> > 1) Multicolumnar display of objects selected in rectangle
> > 2) To center a object selected from the list (done by double clicking on
> > object list).
> >
>
> Hi. Thanks a lot for your work.
>
> This is not a review or anything like that just a quick glance at code and
> screenshots. I feel that adding new dialogs isn't really good idea. It put
> more burden on user. He have to remember more dialogs, he may be forced to
> jump between dialogs to accomplish task, forced to open multiple dialogs at
> once.
>

> Also details dialog have similar problem (to a degree). It allow to select
> only one object at once. However objects on the sky tend to overlap or to
> be
> very close together. Consider star in a nebula as example. Sometimes it's
> difficult to select right object. Probable solution is to allow user to
> chose
> from all object in some region. Say 10px in size.
>
> These tasks seem very closely related. Maybe they could be merged into same
> functionality. Comments are welcome.
>
> Hopefully I'll be able to review patch and elaborate on matter above
> sometime
> at the weekends.
> _______________________________________________
> Kstars-devel mailing list
> Kstars-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kstars-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kstars-devel/attachments/20100127/8b64b313/attachment.htm 


More information about the Kstars-devel mailing list