Skip to content

Add a number of DBus methods to control and interrogate the Sky Map

Akarsh Simha requested to merge asimha/kstars:user/akarsh/add_views_dbus into master
  1. More DBus overloads for existing functions are exposed (e.g. getDSSURL or getObjectXML)
  2. The actions in KStars::actionCollection() and their activation methods, which were earlier accessible through the org.kde.KMainWindow interface, are now also exposed in our own org.kde.kstars interface. Moreover, we have more convenient functions to get and set the state of various toggle-able actions, for example show_horizon or show_cbounds
  3. Refactoring: The FOV and HiPS options are now prefixed with fov: and hips: (similar to view:) so that they are easily identified and there are no collisions. The HiPS action which was previously simply called "None" is now called hips:off. Also we use objectName() which is this internal name rather than the user-visible text of the HiPS option to identify which HiPS option was selected by the user; this would be more robust and avoids having to check i18nd versions. I have tested the HiPS and FOV options, but anything that relies on DBus to alter HiPS or FOVs (other than sensor FOV which is untouched) will need to be checked / ported.
  4. A number of new actions are added to tweak the view of the sky-map

I will make a video showcasing the new DBus features later

(Avoid squashing commits so we can revert individually if needed)

Merge request reports

Loading