Re:Modification or personalization of the window(tab) Dome of kstars. #51375
Here it is, thanks to Tom (from the forum) who developed a driver for my observatory roof, and I wouldn't have done anything without him, I would like to modify the Dome window (tab) of kstars.
Because on the "indi" window of kstars I have an action button that I would like to add on the "Dome" window.
And if it is possible, I would also like to add a light to tell me if my mount is well parked, because I put sensors to make sure.
But that, it would be really the must of the must!
Re:Modification or personalization of the window(tab) Dome of kstars. #51442
The roll off roof driver was derived from the rolloff simulator driver. The Park/Unpark is the same, inherited from the Dome and controlled from the Observatory. github.com/wotalota/indi-rolloffino
My response to Christophe was that I could not change the Observatory. That power management was not really the domain of the roof driver. I use something like:
. He wanted something within KStars so the auxiliary button was added and his Arduino code could choose to use that as a power on/off request.
Re:Modification or personalization of the window(tab) Dome of kstars. #51444
how's it going at home with that Covid-19 crap?
At home I have and more or less confined but I take the opportunity to see how to put the texts of your driver in French and see if it's possible to put this command button on the dome window in kstars.
Re:Modification or personalization of the window(tab) Dome of kstars. #51452
My suggestion for this highly specific customization is to fork the kstars github, derive a branch from the latest release and add the required UI element, wrapping the call to the INDI driver in. You should be able to pull changes from the main github and rebuild your fork with with little effort.
HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access
Re:Modification or personalization of the window(tab) Dome of kstars. #51511
A question on translation, in particular for a driver. I am not understanding what is involved. I had assumed that using the INDI system calls would result in i18n handling when the button or label was built into a GUI representation. In Christophe's images above some of the driver's buttons and labels are translated but not others. Similar situation in the Observatory panel.
In the Observatory "Close" button appears to be translated, though hard to see on my screen, but "Close" in the driver is not translated.
Not sure what locale Christophe is using but have not yet managed to get my Fedora/Cinnamon system to properly display KDE Qt5 applications by changing to fr_FR.UTF-8.
Before resorting to a Ubuntu build to experiment with I wanted to ask Is there something that can be done in the driver to enable the translations?