kstars
constellationnamescomponent.cpp
  
Go to the documentation of this file.
   31 ConstellationNamesComponent::ConstellationNamesComponent(SkyComposite *parent, CultureList* cultures )
  120     skyLabeler->setPen( QColor( KStarsData::Instance()->colorScheme()->colorNamed( "CNameColor" ) ) );
bool onScreen(const QPointF &p) const 
Check whether the projected point is on-screen. 
Definition: projector.cpp:98
virtual bool selected()
Definition: constellationnamescomponent.cpp:95
An abstract parent class, to be inherited by SkyComponents that store a QList of SkyObjects. 
Definition: listcomponent.h:36
bool checkVisibility(SkyPoint *p) const 
Determine if the skypoint p is likely to be visible in the display window. 
Definition: projector.cpp:181
ConstellationNamesComponent(SkyComposite *parent, CultureList *cultures)
Constructor parent Pointer to the parent SkyComposite object. 
Definition: constellationnamescomponent.cpp:31
QPointF toScreen(const SkyPoint *o, bool oRefract=true, bool *onVisibleHemisphere=0) const 
This is exactly the same as toScreenVec but it returns a QPointF. 
Definition: projector.cpp:93
void useStdFont()
sets the font in SkyLabeler and in psky to the font psky had originally when reset() was called...
Definition: skylabeler.cpp:185
i18nc("string from libindi, used in the config dialog","100x")
SkyComposite is a kind of container class for SkyComponent objects. 
Definition: skycomposite.h:43
bool drawGuideLabel(QPointF &o, const QString &text, double angle)
Tries to draw the text at the position and angle specified. 
Definition: skylabeler.cpp:104
void EquatorialToHorizontal(const dms *LST, const dms *lat)
Determine the (Altitude, Azimuth) coordinates of the SkyPoint from its (RA, Dec) coordinates, given the local sidereal time and the observer's latitude. 
Definition: skypoint.cpp:55
There are several time-dependent values used in position calculations, that are not specific to an ob...
Definition: ksnumbers.h:43
virtual void update(KSNumbers *num)
we need a custom routine (for now) so we don't precess the locations of the names. 
Definition: constellationnamescomponent.cpp:102
Definition: ksfilereader.h:65
Definition: skyobject.h:110
void setPen(const QPen &pen)
sets the pen used for drawing labels on the sky. 
Definition: skylabeler.cpp:173
void resetFont()
sets the font in SkyLabeler and in psky back to the zoom dependent value that was set in reset()...
Definition: skylabeler.cpp:190
virtual void emitProgressText(const QString &message)
Emit signal about progress. 
Definition: skycomponent.cpp:35
virtual void draw(SkyPainter *skyp)
Draw constellation names on the sky map. 
Definition: constellationnamescomponent.cpp:111
The purpose of this class is to prevent labels from overlapping. 
Definition: skylabeler.h:112
Provides all necessary information about an object in the sky: its coordinates, name(s), type, magnitude, and QStringLists of URLs for images and webpages regarding the object. 
Definition: skyobject.h:46
static bool useLocalConstellNames()
Get Use localized constellation names? 
Definition: Options.h:2367
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
            Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference