Usability fixes for the "Select FOV" and "New FOV" tools:
author Jason Harris
()
committer Jason Harris
()
commit da290a6c9de0cc496461236101cfbffa2e743769
tree 9a03d34cd9a9466cdf09cba16a6ac7b4297be317
parent 05285052c953655437f1f040d4ef94ab7a1bd10b
Usability fixes for the "Select FOV" and "New FOV" tools:
- FOV dialog opens with current FOV highlighted in list
(this required adding FOVName to the KStarsOptions).
- When Ok pressed to close FOV dialog, the highlighted
FOV symbol becomes the one used in the map.
- Both FOVDialog and NewFOV now have paintEvent() and
more consistent drawing of the selected symbol.

I also implemented a feature where the map automatically
set the zoom level to match the selected FOV symbol.
However, I had to revert this. If there is a pixmap
present in the FOV, and the Zoom level is made very large
(like for the HST FOV symbol), then KStars hangs *hard*.
Perhaps we can get around it by not drawing pixmap above
a certain zoom level.

CCMAIL: kstars-devel@kde.org

svn path=/trunk/kdeedu/kstars/; revision=250400
13 files changed:
kstars/fov.h
kstars/fovdialog.cpp
kstars/fovdialog.h
kstars/kstars_options_handling.cpp
kstars/kstarsactions.cpp
kstars/kstarsdata.cpp
kstars/kstarsdata.h
kstars/kstarsdcop.cpp
kstars/kstarsinit.cpp
kstars/kstarsoptions.cpp
kstars/kstarsoptions.h
kstars/newfovui.ui
kstars/scriptbuilder.cpp