kstars
kstarsdcop.cpp
Go to the documentation of this file.
164 data()->changeDateTime( data()->geo()->LTtoUT( KStarsDateTime( QDate(yr, mth, day), QTime(hr,min,sec) ) ) );
196 void KStars::setGeoLocation( const QString &city, const QString &province, const QString &country ) {
271 if ( name == "FocusDec" ) { return QString::number( map()->focus()->dec().Degrees(), 'f', 6 ); }
371 if ( op == "MagLimitDrawDeepSkyZoomOut" && dOk ) Options::setMagLimitDrawDeepSkyZoomOut( dVal );
469 stream.writeTextElement( "Constellation", KStarsData::Instance()->skyComposite()->getConstellationBoundary()->constellationName( target ) );
589 found = indidriver->ui->localTreeWidget->findItems(deviceName, Qt::MatchExactly | Qt::MatchRecursive);
648 found = indidriver->ui->localTreeWidget->findItems(deviceName, Qt::MatchExactly | Qt::MatchRecursive);
Q_SCRIPTABLE QString getDSSURL(const QString &objectName)
DBUS interface function.
Definition: kstarsdcop.cpp:441
Q_SCRIPTABLE Q_NOREPLY void setTracking(bool track)
DBUS interface function.
Definition: kstarsdcop.cpp:184
Definition: indiproperty.h:38
bool exportImage(QString url)
Exports an image with the defined settings.
Definition: imageexporter.cpp:182
static void setStarDensity(int v)
Set Density of stars in the field of view.
Definition: Options.h:2616
static void setShowMessier(bool v)
Set Draw Messier objects in the sky map?
Definition: Options.h:1825
static void setShowPlanetNames(bool v)
Set Label planet names in the sky map?
Definition: Options.h:1958
Q_SCRIPTABLE Q_NOREPLY void setGeoLocation(const QString &city, const QString &province, const QString &country)
DBUS interface function.
Definition: kstarsdcop.cpp:196
static void setShadeGeoBox(bool v)
Set Is the geographic InfoBox in the "shaded" state?
Definition: Options.h:117
static void setUseHoverLabel(bool v)
Set Add temporary label on mouse hover?
Definition: Options.h:2433
static void setFadePlanetTrails(bool v)
Set Fade planet trails to background color?
Definition: Options.h:989
void setDestination(const SkyPoint &f)
sets the destination point of the sky map.
Definition: skymap.cpp:812
Q_SCRIPTABLE Q_NOREPLY void drawLine(int x1, int y1, int x2, int y2, int speed)
DBUS interface function.
Definition: kstarsdcop.cpp:192
static void setDarkAppColors(bool v)
Set Use Dark colors for KStars windows?
Definition: Options.h:2882
void setClickedObject(SkyObject *o)
Set the ClickedObject pointer to the argument.
Definition: skymap.cpp:361
static void setMagLimitDrawDeepSkyZoomOut(double v)
Set Faint limit for deep-sky objects when zoomed out.
Definition: Options.h:2597
Q_SCRIPTABLE Q_NOREPLY void changeViewOption(const QString &option, const QString &value)
DBUS interface function.
Definition: kstarsdcop.cpp:278
void forceUpdate(bool now=false)
Recalculates the positions of objects in the sky, and then repaints the sky map.
Definition: skymap.cpp:985
Definition: indielement.h:44
static void setHideLabels(bool v)
Set Hide object name labels while moving?
Definition: Options.h:1331
Backends for exporting a sky image, either raster or vector, with a legend.
Definition: imageexporter.h:35
void setFullTimeUpdate()
The Sky is updated more frequently than the moon, which is updated more frequently than the planets...
Definition: kstarsdata.cpp:260
QString greekLetter(bool useGreekChars=true) const
Returns the greek letter portion of the star's genetive name.
Definition: starobject.cpp:356
static void setShadeTimeBox(bool v)
Set Is the time InfoBox in the "shaded" state?
Definition: Options.h:79
static void setShowCBounds(bool v)
Set Draw constellation boundaries in the sky map?
Definition: Options.h:1540
Q_SCRIPTABLE Q_NOREPLY void setColor(const QString &colorName, const QString &value)
DBUS interface function.
Definition: kstarsdcop.cpp:398
Q_SCRIPTABLE Q_NOREPLY void setRaDec(double ra, double dec)
DBUS interface function.
Definition: kstarsdcop.cpp:64
static void setUseAutoTrail(bool v)
Set Automatically add trail to centered solar system body?
Definition: Options.h:2414
static void setHideMilkyWay(bool v)
Set Hide Milky Way contour while moving?
Definition: Options.h:1198
static void setHidePlanets(bool v)
Set Hide solar system objects while moving?
Definition: Options.h:1293
static void setHideCNames(bool v)
Set Hide constellation names while moving?
Definition: Options.h:1160
Q_SCRIPTABLE Q_NOREPLY void lookTowards(const QString &direction)
DBUS interface function.
Definition: kstarsdcop.cpp:73
static void setShowCLines(bool v)
Set Draw constellation lines in the sky map?
Definition: Options.h:1578
static void setHideCBounds(bool v)
Set Hide constellation boundaries while moving?
Definition: Options.h:1103
Q_SCRIPTABLE Q_NOREPLY void popupMessage(int x, int y, const QString &message)
DBUS interface function.
Definition: kstarsdcop.cpp:188
void applyConfig(bool doApplyFocus=true)
Apply config options throughout the program.
Definition: kstars.cpp:165
static void setStarLabelDensity(double v)
Set Relative density for star name labels and/or magnitudes.
Definition: Options.h:2654
static void setShowCNames(bool v)
Set Draw constellation names in the sky map?
Definition: Options.h:1597
static void setShowAsteroidNames(bool v)
Set Label asteroid names in the sky map?
Definition: Options.h:1369
static void setUseAbbrevConstellNames(bool v)
Set Use abbreviated constellation names?
Definition: Options.h:2319
static void setUseLocalConstellNames(bool v)
Set Use localized constellation names?
Definition: Options.h:2357
static void setShowMilkyWay(bool v)
Set Draw Milky Way contour in the sky map?
Definition: Options.h:1882
Definition: indidevice.h:30
void changeDateTime(const KStarsDateTime &newDate)
change the current simulation date/time to the KStarsDateTime argument.
Definition: kstarsdata.cpp:272
SkyPoint * focus()
Retrieve the Focus point; the position on the sky at the center of the skymap.
Definition: skymap.h:120
Contains all relevant information for specifying a location on Earth: City Name, State/Province name...
Definition: geolocation.h:39
static void setShowHorizontalGrid(bool v)
Set Draw horizontal coordinate grid in the sky map?
Definition: Options.h:1711
QString getDSSURL(const SkyPoint *const p)
Create a URL to obtain a DSS image for a given SkyPoint.
static void setShowCometNames(bool v)
Set Label comet names in the sky map?
Definition: Options.h:1407
static void setShadeFocusBox(bool v)
Set Is the focus InfoBox in the "shaded" state?
Definition: Options.h:98
static void setMagLimitDrawDeepSky(double v)
Set Faint limit for deep-sky objects.
Definition: Options.h:2578
static void setSlewTimeScale(double v)
Set Minimum timescale for forced-slewing mode.
Definition: Options.h:2262
bool hasColorNamed(const QString &name) const
Definition: colorscheme.h:46
static void setColorSchemeFile(const QString &v)
Set The name of the color scheme.
Definition: Options.h:2863
static void setObsListSaveImage(bool v)
Set Save the DSS/SDSS images to disk.
Definition: Options.h:2806
void updateTime(const bool automaticDSTchange=true)
Update time-dependent data and (possibly) repaint the sky map.
Definition: kstars.cpp:334
void HorizontalToEquatorial(const dms *LST, const dms *lat)
Determine the (RA, Dec) coordinates of the SkyPoint from its (Altitude, Azimuth) coordinates, given the local sidereal time and the observer's latitude.
Definition: skypoint.cpp:102
static void setHideCLines(bool v)
Set Hide constellation lines while moving?
Definition: Options.h:1122
Extension of KDateTime for KStars KStarsDateTime can represent the date/time as a Julian Day...
Definition: kstarsdatetime.h:45
bool load(const QString &filename)
Load a color scheme from a *.colors file filename the filename of the color scheme to be loaded...
Definition: colorscheme.cpp:130
This class stores all of the adjustable colors in KStars, in a QMap object keyed by the names of the ...
Definition: colorscheme.h:38
Q_SCRIPTABLE Q_NOREPLY void exportImage(const QString &filename, int width=-1, int height=-1, bool includeLegend=false)
DBUS interface function.
Definition: kstarsdcop.cpp:429
static void setShowPlanetImages(bool v)
Set Draw planets as images in the sky map?
Definition: Options.h:1939
static void setShowEcliptic(bool v)
Set Draw ecliptic line in the sky map?
Definition: Options.h:1635
void slotTrack()
action slot: Toggle whether kstars is tracking current position
Definition: kstarsactions.cpp:892
Q_SCRIPTABLE Q_NOREPLY void waitForKey(const QString &k)
DBUS interface function.
Definition: kstarsdcop.cpp:173
Q_SCRIPTABLE Q_NOREPLY void setLocalTime(int yr, int mth, int day, int hr, int min, int sec)
DBUS interface function.
Definition: kstarsdcop.cpp:163
static void setUseAnimatedSlewing(bool v)
Set Use animated slewing effects when changing focus position?
Definition: Options.h:951
static void setShowStarMagnitudes(bool v)
Set Label star magnitudes in the sky map?
Definition: Options.h:2186
void setColor(const QString &key, const QString &color)
Change the color with the given key to the given value key the key-name of the color to be changed co...
Definition: colorscheme.cpp:122
void reset_with_ltime(KStarsDateTime <ime, const double TZoffset, const bool time_runs_forward, const bool automaticDSTchange=false)
Recalculate next dst change and if DST is active by a given local time with timezone offset and time ...
Definition: timezonerule.cpp:301
static void setZoomFactor(double v)
Set Zoom Factor, in pixels per radian.
Definition: Options.h:2509
Q_SCRIPTABLE Q_NOREPLY void setAltAz(double alt, double az)
DBUS interface function.
Definition: kstarsdcop.cpp:69
Provides all necessary information about a deep-sky object: data inherited from SkyObject (coordinate...
Definition: deepskyobject.h:43
double pmMagnitude()
returns the magnitude of the proper motion correction in milliarcsec/year
Definition: starobject.h:180
static void setUseRefraction(bool v)
Set Correct positions for atmospheric refraction?
Definition: Options.h:2452
static void setShowInfoBoxes(bool v)
Set Meta-option to toggle display of all InfoBoxes.
Definition: Options.h:136
Q_SCRIPTABLE Q_NOREPLY void waitFor(double t)
DBUS interface function.
Definition: kstarsdcop.cpp:167
Q_SCRIPTABLE Q_NOREPLY void removeLabel(const QString &name)
DBUS interface function.
Definition: kstarsdcop.cpp:123
Q_SCRIPTABLE QString getObservingSessionPlanObjectNames()
DBUS interface function.
Definition: kstarsdcop.cpp:513
Q_SCRIPTABLE Q_NOREPLY void printImage(bool usePrintDialog, bool useChartColors)
DBUS interface function.
Definition: kstarsdcop.cpp:528
void setClickedPoint(SkyPoint *f)
Set the ClickedPoint to the skypoint given as an argument.
Definition: skymap.cpp:829
void setSnapNextFocus(bool b=true)
Disable or re-enable the slewing animation for the next Focus change.
Definition: kstarsdata.h:194
static void setUseAutoLabel(bool v)
Set Automatically label focused object?
Definition: Options.h:2395
void exportSkyImage(QPaintDevice *pd, bool scale=false)
Proxy method for SkyMapDrawAbstract::exportSkyImage()
Definition: skymap.h:270
void setNextDSTChange(const KStarsDateTime &dt)
Set the NextDSTChange member.
Definition: kstarsdata.h:106
static void setShowMessierImages(bool v)
Set Draw Messier object images in the sky map?
Definition: Options.h:1844
Q_SCRIPTABLE Q_NOREPLY void addTrail(const QString &name)
DBUS interface function.
Definition: kstarsdcop.cpp:131
Q_SCRIPTABLE QString getObservingWishListObjectNames()
DBUS interface function.
Definition: kstarsdcop.cpp:505
Q_SCRIPTABLE Q_NOREPLY void addLabel(const QString &name)
DBUS interface function.
Definition: kstarsdcop.cpp:115
static void setAsteroidLabelDensity(double v)
Set Label density for asteroid names.
Definition: Options.h:2559
bool isTimeRunningForward()
Returns true if time is running forward else false.
Definition: kstarsdata.h:111
Q_SCRIPTABLE QString getObjectDataXML(const QString &objectName)
DBUS interface function.
Definition: kstarsdcop.cpp:456
KStarsDateTime UTtoLT(const KStarsDateTime &ut) const
Definition: geolocation.h:233
bool removeNameLabel(SkyObject *o)
Definition: skymapcomposite.cpp:401
Q_SCRIPTABLE Q_NOREPLY void loadColorScheme(const QString &name)
DBUS interface function.
Definition: kstarsdcop.cpp:406
static void setMagLimitHideStar(double v)
Set Faint limit for stars when slewing.
Definition: Options.h:2635
Q_SCRIPTABLE Q_NOREPLY void setApproxFOV(double FOV_Degrees)
DBUS interface function.
Definition: kstarsdcop.cpp:521
QString gname(bool useGreekChars=true) const
Returns the genetive name of the star.
Definition: starobject.cpp:349
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 void setMaxRadCometName(double v)
Set Maximum distance from Sun for labeling comets, in AU.
Definition: Options.h:2711
static void setShowDeepSky(bool v)
Set Draw "deep sky" objects in the sky map?
Definition: Options.h:1616
void setDestinationAltAz(const dms &alt, const dms &az)
sets the destination point of the sky map, using its alt/az coordinates.
Definition: skymap.cpp:822
static void setUseLatinConstellNames(bool v)
Set Use Latin constellation names?
Definition: Options.h:2338
static void setShowSolarSystem(bool v)
Set Meta-option for all planets in the sky map.
Definition: Options.h:1920
static void setShowEquatorialGrid(bool v)
Set Draw equatorial coordinate grid in the sky map?
Definition: Options.h:1692
static void setAutoSelectGrid(bool v)
Set Draw grids according to active coordinate system?
Definition: Options.h:1673
void setRasterOutputSize(const QSize *size)
Set the size of output raster images.
Definition: imageexporter.cpp:267
Q_SCRIPTABLE Q_NOREPLY void removeTrail(const QString &name)
DBUS interface function.
Definition: kstarsdcop.cpp:139
void setLocation(const GeoLocation &l)
Set the GeoLocation according to the argument.
Definition: kstarsdata.cpp:323
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 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:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.