kstars
flagcomponent.cpp
  
Go to the documentation of this file.
   39     m_Job = KIO::listDir( KUrl( KStandardDirs::locateLocal("appdata", ".") ), KIO::HideProgressInfo, false );
  122         KStarsData::Instance()->userdb()->AddFlag(QString::number( pointList().at( i )->ra0().Degrees() ),
  131 void FlagComponent::add( SkyPoint* flagPoint, QString epoch, QString image, QString label, QColor labelColor ) {
  160 void FlagComponent::updateFlag( int index, SkyPoint *flagPoint, QString epoch, QString image, QString label, QColor labelColor ) {
QList< QStringList > ReturnAllFlags()
Returns a QList populated with all stored flags Order: const QString &ra, const QString &dec...
Definition: ksuserdb.cpp:288
void forceUpdate(bool now=false)
Recalculates the positions of objects in the sky, and then repaints the sky map. 
Definition: skymap.cpp:985
void updateFlag(int index, SkyPoint *flagPoint, QString epoch, QString image, QString label, QColor labelColor)
Update a flag. 
Definition: flagcomponent.cpp:160
virtual void draw(SkyPainter *skyp)
Draw the object on the SkyMap skyp a pointer to the SkyPainter to use. 
Definition: flagcomponent.cpp:49
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 add(SkyPoint *flagPoint, QString epoch, QString image, QString label, QColor labelColor)
Add a flag. 
Definition: flagcomponent.cpp:131
SkyComposite is a kind of container class for SkyComponent objects. 
Definition: skycomposite.h:43
An abstract parent class, to be inherited by SkyComponents that store a QList of SkyPoints. 
Definition: pointlistcomponent.h:37
void AddFlag(const QString &ra, const QString &dec, const QString &epoch, const QString &image_name, const QString &label, const QString &labelColor)
Add a new Flag with given parameters. 
Definition: ksuserdb.cpp:267
QList< int > getFlagsNearPix(SkyPoint *point, int pixelRadius)
Get list of flag indexes near specified SkyPoint with radius specified in pixels. ...
Definition: flagcomponent.cpp:269
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