kstars
printingwizard.cpp
Go to the documentation of this file.
164 FovSnapshot *snapshot = new FovSnapshot(pixmap, QString(), m_KStars->data()->getVisibleFOVs().first(),
219 if(!exporter.calculatePath(*m_SkyObject, *m_ShBeginObject, fovArcmin / 60, m_WizFovShUI->getMaglim()))
221 KMessageBox::information(this, i18n("Star hopper returned empty path. We advise you to change star hopping settings or use manual capture mode."),
230 // If color scheme should be switched, save previous scheme name and switch to "sky chart" color scheme
405 setButtonGuiItem(KDialog::User1, KGuiItem(i18n("&Next >"), QString(), i18n("Go to next Wizard page")));
406 setButtonGuiItem(KDialog::User2, KGuiItem(i18n("< &Back"), QString(), i18n("Go to previous Wizard page")));
478 double zoom = m_FovImageSize.width() > m_FovImageSize.height() ? SimpleFovExporter::calculateZoomLevel(m_FovImageSize.width(), fov->sizeX()) :
510 m_FinderChart->insertTitleSubtitle(m_WizChartConfigUI->titleEdit->text(), m_WizChartConfigUI->subtitleEdit->text());
533 QString fovDescription = i18nc("%1 = FOV index, %2 = FOV count, %3 = FOV name, %4 = FOV X size, %5 = FOV Y size",
540 m_FinderChart->insertImage(m_FovSnapshots.at(i)->getPixmap().toImage(), fovDescription + m_FovSnapshots.at(i)->getDescription(), true);
static void setFOVNames(const QStringList &v)
Set Name of selected FOV indicators.
Definition: Options.h:970
User interface for "Configure basic finder chart settings" step of the Printing Wizard.
Definition: pwizchartconfig.h:30
void beginPointing()
Set SkyMap to pointing mode and hide Printing Wizard.
Definition: printingwizard.cpp:84
Definition: printingwizard.h:92
Legend::LEGEND_POSITION getLegendPosition()
Get selected legend position.
Definition: pwizfovconfig.h:78
Definition: printingwizard.h:79
bool isPositionTableChecked()
Check if position details table is enabled.
Definition: pwizchartcontents.cpp:51
bool isAstComTableChecked()
Check if Asteroid/Comet details table is enabled.
Definition: pwizchartcontents.cpp:61
void setClickedObject(SkyObject *o)
Set the ClickedObject pointer to the argument.
Definition: skymap.cpp:361
User interface for "Configure chart contents" step of the Printing Wizard.
Definition: pwizchartcontents.h:30
void createRSTTAble(SkyObject *obj, const KStarsDateTime &ut, GeoLocation *geo)
Create Rise/Set/Transit details table.
Definition: detailstable.cpp:602
void setSkyObject(SkyObject *obj)
Update UI elements for newly selected SkyObject.
Definition: pwizobjectselection.cpp:43
void beginShBeginPointing()
Enter star hopping begin pointing mode.
Definition: printingwizard.cpp:97
void setFovShapeOverriden(bool override)
Enable or disable FOV shape overriding.
Definition: simplefovexporter.h:117
void forceUpdate(bool now=false)
Recalculates the positions of objects in the sky, and then repaints the sky map.
Definition: skymap.cpp:985
void pointingDone(SkyObject *obj)
Quit object pointing mode and set the pointed object.
Definition: printingwizard.cpp:111
void insertImage(const QImage &img, const QString &description, bool descriptionBelow=true)
Insert image to the finder chart.
Definition: finderchart.cpp:125
Definition: printingwizard.h:81
User interface for "Star hopper FOV snapshot capture" step of the Printing Wizard.
Definition: pwizfovsh.h:31
Definition: printingwizard.h:80
Definition: printingwizard.h:78
User interface for "Configure common FOV export options" step of the Printing Wizard.
Definition: pwizfovconfig.h:29
void createGeneralTable(SkyObject *obj)
Create general details table.
Definition: detailstable.cpp:50
Definition: printingwizard.h:82
bool isRSTTableChecked()
Check if Rise/Set/Transit details table is enabled.
Definition: pwizchartcontents.cpp:56
static double calculateZoomLevel(int pixelSize, float degrees)
Calculate zoom level at which given angular length will occupy given length in pixels.
Definition: simplefovexporter.h:131
void insertDescription(const QString &description)
Insert description to the finder chart.
Definition: finderchart.cpp:66
void insertDetailsTable(DetailsTable *table)
Insert details table to the finder chart.
Definition: finderchart.cpp:152
bool calculatePath(const SkyPoint &src, const SkyPoint &dest, double fov, double maglim)
Calculate path between source and destination SkyPoints.
Definition: shfovexporter.cpp:31
void entered()
Enable or disable specific fields depending on the type of selected object.
Definition: pwizchartcontents.cpp:31
void createCoordinatesTable(SkyObject *obj, const KStarsDateTime &ut, GeoLocation *geo)
Create coordinates details table.
Definition: detailstable.cpp:513
User interface for "Select observed object" step of the Printing Wizard.
Definition: pwizobjectselection.h:31
PrintingWizard::FOV_TYPE getFovExportType()
Get selected FOV export method.
Definition: pwizfovtypeselection.cpp:26
Legend::LEGEND_ORIENTATION getLegendOrientation()
Get selected legend orientation.
Definition: pwizfovconfig.h:72
i18nc("string from libindi, used in the config dialog","100x")
void insertLoggingForm(LoggingForm *log)
Insert logging form to the finder chart.
Definition: finderchart.cpp:116
User interface for last "Print and export finder chart" step of the Printing Wizard.
Definition: pwizprint.h:30
void insertSectionTitle(const QString &title)
Insert section title to the finder chart.
Definition: finderchart.cpp:161
User interface for "Browse captured FOV images" step of Printing Wizard.
Definition: pwizfovbrowse.h:30
void createAsteroidCometTable(SkyObject *obj)
Create Asteroid/Comet details table.
Definition: detailstable.cpp:365
void syncFOV()
Synchronize list of visible FOVs and list of selected FOVs in Options.
Definition: kstarsdata.cpp:1045
void beginFovCapture()
Hide Printing Wizard and put SkyMap in FOV capture mode.
Definition: printingwizard.cpp:125
Helper class used as a wrapper for StarHopper when capturing FOV snapshots.
Definition: shfovexporter.h:31
Legend class is used for painting legends on class inheriting QPaintDevice.
Definition: legend.h:45
bool isSwitchColorsEnabled()
Check if switching to "Sky Chart" color scheme is enabled.
Definition: pwizfovconfig.h:42
User interface for "Manual FOV capture" step of the Printing Wizard.
Definition: pwizfovmanual.h:30
User interface for "Select FOV capture method" step of the Printing Wizard.
Definition: pwizfovtypeselection.h:29
void beginShFovCapture()
Capture FOV snapshots using star hopper-based method.
Definition: printingwizard.cpp:198
void setClickedPoint(SkyPoint *f)
Set the ClickedPoint to the skypoint given as an argument.
Definition: skymap.cpp:829
void insertGeoTimeInfo(const KStarsDateTime &ut, GeoLocation *geo)
Insert details about date&time and geographic location.
Definition: finderchart.cpp:82
void exportFov(SkyPoint *point, FOV *fov, QPaintDevice *pd)
Paint FOV representation on passed QPaintDevice subclass.
Definition: simplefovexporter.cpp:33
User interface for the first step of the Printing Wizard.
Definition: printingwizard.h:50
void setFovSymbolDrawn(bool draw)
Enable or disable FOV symbol drawing.
Definition: simplefovexporter.h:123
void createFinderChartLogger()
Create simple logging form for finder charts.
Definition: loggingform.cpp:28
Q_SCRIPTABLE Q_NOREPLY void loadColorScheme(const QString &name)
DBUS interface function.
Definition: kstarsdcop.cpp:406
bool isGeneralTableChecked()
Check if general details table is enabled.
Definition: pwizchartcontents.cpp:46
Represents details tables that can be inserted to finder charts and logging forms.
Definition: detailstable.h:39
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
void recaptureFov(int idx)
Recapture FOV snapshot of passed index.
Definition: printingwizard.cpp:271
void setBeginObject(SkyObject *obj)
Set object at which star hopper will begin.
Definition: pwizfovsh.cpp:35
Definition: printingwizard.h:93
void insertTitleSubtitle(const QString &title, const QString &subtitle)
Insert title and subtitle to the finder chart.
Definition: finderchart.cpp:35
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.