[Kstars-devel] kdeedu/kstars/kstars

Pablo de Vicente p.devicente at wanadoo.es
Sun Oct 3 22:24:10 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

El Sábado, 2 de Octubre de 2004 22:08, Jason Harris escribió:
> CVS commit by harris:
>
> Experimental usability improvement for dmsBox:
>
> When the dmsBox is empty, it displays in grey text
> "dd mm ss.s" or "hh mm ss.s" (depending on whether it
> expects degrees or hours).  These letters disappear
> when the dmsBox gets input focus.  They reappear if
> the dmsBox loses input focus and the box is empty.
>
> The intention is to provide the user with some hint
> that this isn't just a normal edit box, that angle
> values can be accepted by typing values for degrees,
> arcminutes and arcseconds (or hours, minutes, seconds).
> It also provides visual feedback on whether degrees
> or hours are expected.
>
> Drawbacks: it may be confusing to some users who
> are not familiar with expressing angles in this
> way.  It also does not make clear that other formats
> are also acceptable.

Hello Jason,

I have been around all this time, but unfortunately I have had no time to 
contribute with code or writing documentation. Let us hope this autumn I am 
more productive than his summer.

It may be a good idea, but it also may be confusing. To reinforce the 
usability I have added a ToolTip in the dmsBox.

On the other hand I have some problems with the calculator modules. The 
dmsBox'es that should hold angular values in hours show the "dd mm ss" string 
because there was no way to tell them that degType is FALSE. I have modified 
the calculator modules code accordingly in the constructor, but this does not 
fix the problem the first time one calls them. So I have modified the 
constructor of the dmsBox as explained in the previous commit. 

Alternatively we could modify the UI files for the calculator modules so that 
the dmsBoxes are constructed from the begining stating that degType is FALSE. 
This is achieved using QPROPERTY but I have not managed to make it work 
correctly. 

regards,

Pablo.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBYF/zSItUpHl6kJERAtntAJ9KwGWwi0IK8APQm2m6RketE03F1ACg38/3
WWauyOw7NFh/IBfA9y9X7wI=
=Ew2i
-----END PGP SIGNATURE-----


More information about the Kstars-devel mailing list