Kstars
printingwizard.cpp
40 : QDialog(parent), m_KStars(KStars::Instance()), m_FinderChart(nullptr), m_SkyObject(nullptr), m_FovType(FT_UNDEFINED),
41 m_FovImageSize(QSize(500, 500)), m_ShBeginObject(nullptr), m_PointingShBegin(false), m_SwitchColors(false),
159 FovSnapshot *snapshot = new FovSnapshot(pixmap, QString(), m_KStars->data()->getVisibleFOVs().first(),
217 if (!exporter.calculatePath(*m_SkyObject, *m_ShBeginObject, fovArcmin / 60, m_WizFovShUI->getMaglim()))
523 m_FinderChart->insertTitleSubtitle(m_WizChartConfigUI->titleEdit->text(), m_WizChartConfigUI->subtitleEdit->text());
555 if (m_WizChartContentsUI->isGeneralTableChecked() || m_WizChartContentsUI->isPositionTableChecked() ||
Represents details tables that can be inserted to finder charts and logging forms.
Definition detailstable.h:29
void createRSTTAble(SkyObject *obj, const KStarsDateTime &ut, GeoLocation *geo)
Create Rise/Set/Transit details table.
Definition detailstable.cpp:579
void createAsteroidCometTable(SkyObject *obj)
Create Asteroid/Comet details table.
Definition detailstable.cpp:343
void createCoordinatesTable(SkyObject *obj, const KStarsDateTime &ut, GeoLocation *geo)
Create coordinates details table.
Definition detailstable.cpp:491
void insertDetailsTable(DetailsTable *table)
Insert details table to the finder chart.
Definition finderchart.cpp:146
void insertDescription(const QString &description)
Insert description to the finder chart.
Definition finderchart.cpp:55
void insertSectionTitle(const QString &title)
Insert section title to the finder chart.
Definition finderchart.cpp:155
void insertLoggingForm(LoggingForm *log)
Insert logging form to the finder chart.
Definition finderchart.cpp:110
void insertTitleSubtitle(const QString &title, const QString &subtitle)
Insert title and subtitle to the finder chart.
Definition finderchart.cpp:24
void insertImage(const QImage &img, const QString &description, bool descriptionBelow=true)
Insert image to the finder chart.
Definition finderchart.cpp:119
void insertGeoTimeInfo(const KStarsDateTime &ut, GeoLocation *geo)
Insert details about date&time and geographic location.
Definition finderchart.cpp:71
void syncFOV()
Synchronize list of visible FOVs and list of selected FOVs in Options.
Definition kstarsdata.cpp:1503
Q_SCRIPTABLE Q_NOREPLY void loadColorScheme(const QString &name)
DBUS interface function.
Definition kstarsdbus.cpp:631
Legend class is used for painting legends on class inheriting QPaintDevice.
Definition legend.h:33
void paintLegend(QPaintDevice *pd)
Paint legend on passed QPaintDevice at selected position.
Definition legend.cpp:154
void createFinderChartLogger()
Create simple logging form for finder charts.
Definition loggingform.cpp:14
User interface for "Configure basic finder chart settings" step of the Printing Wizard.
Definition pwizchartconfig.h:18
User interface for "Configure chart contents" step of the Printing Wizard.
Definition pwizchartcontents.h:20
bool isPositionTableChecked()
Check if position details table is enabled.
Definition pwizchartcontents.cpp:39
bool isAstComTableChecked()
Check if Asteroid/Comet details table is enabled.
Definition pwizchartcontents.cpp:49
bool isRSTTableChecked()
Check if Rise/Set/Transit details table is enabled.
Definition pwizchartcontents.cpp:44
bool isGeneralTableChecked()
Check if general details table is enabled.
Definition pwizchartcontents.cpp:34
void entered()
Enable or disable specific fields depending on the type of selected object.
Definition pwizchartcontents.cpp:20
User interface for "Browse captured FOV images" step of Printing Wizard.
Definition pwizfovbrowse.h:20
User interface for "Configure common FOV export options" step of the Printing Wizard.
Definition pwizfovconfig.h:19
Legend::LEGEND_POSITION getLegendPosition()
Get selected legend position.
Definition pwizfovconfig.h:70
Legend::LEGEND_ORIENTATION getLegendOrientation()
Get selected legend orientation.
Definition pwizfovconfig.h:61
bool isSwitchColorsEnabled()
Check if switching to "Sky Chart" color scheme is enabled.
Definition pwizfovconfig.h:31
User interface for "Manual FOV capture" step of the Printing Wizard.
Definition pwizfovmanual.h:20
User interface for "Star hopper FOV snapshot capture" step of the Printing Wizard.
Definition pwizfovsh.h:21
void setBeginObject(SkyObject *obj)
Set object at which star hopper will begin.
Definition pwizfovsh.cpp:26
User interface for "Select FOV capture method" step of the Printing Wizard.
Definition pwizfovtypeselection.h:19
PrintingWizard::FOV_TYPE getFovExportType()
Get selected FOV export method.
Definition pwizfovtypeselection.cpp:15
User interface for "Select observed object" step of the Printing Wizard.
Definition pwizobjectselection.h:21
void setSkyObject(SkyObject *obj)
Update UI elements for newly selected SkyObject.
Definition pwizobjectselection.cpp:33
User interface for last "Print and export finder chart" step of the Printing Wizard.
Definition pwizprint.h:22
User interface for the first step of the Printing Wizard.
Definition printingwizard.h:38
void beginFovCapture()
Hide Printing Wizard and put SkyMap in FOV capture mode.
Definition printingwizard.cpp:120
void beginPointing()
Set SkyMap to pointing mode and hide Printing Wizard.
Definition printingwizard.cpp:76
void pointingDone(SkyObject *obj)
Quit object pointing mode and set the pointed object.
Definition printingwizard.cpp:103
void beginShFovCapture()
Capture FOV snapshots using star hopper-based method.
Definition printingwizard.cpp:196
Helper class used as a wrapper for StarHopper when capturing FOV snapshots.
Definition shfovexporter.h:22
bool calculatePath(const SkyPoint &src, const SkyPoint &dest, double fov, double maglim)
Calculate path between source and destination SkyPoints.
Definition shfovexporter.cpp:21
SimpleFovExporter class is used for FOV representation exporting.
Definition simplefovexporter.h:31
void setFovSymbolDrawn(bool draw)
Enable or disable FOV symbol drawing.
Definition simplefovexporter.h:110
static double calculateZoomLevel(int pixelSize, float degrees)
Calculate zoom level at which given angular length will occupy given length in pixels.
Definition simplefovexporter.h:118
void exportFov(SkyPoint *point, FOV *fov, QPaintDevice *pd)
Paint FOV representation on passed QPaintDevice subclass.
Definition simplefovexporter.cpp:23
void setFovShapeOverriden(bool overrideFovShape)
Enable or disable FOV shape overriding.
Definition simplefovexporter.h:104
void setClickedPoint(const SkyPoint *f)
Set the ClickedPoint to the skypoint given as an argument.
Definition skymap.cpp:1021
void setClickedObject(SkyObject *o)
Set the ClickedObject pointer to the argument.
Definition skymap.cpp:366
void forceUpdate(bool now=false)
Recalculates the positions of objects in the sky, and then repaints the sky map.
Definition skymap.cpp:1186
Provides all necessary information about an object in the sky: its coordinates, name(s),...
Definition skyobject.h:42
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
GeoCoordinates geo(const QVariant &location)
void information(QWidget *parent, const QString &text, const QString &title=QString(), const QString &dontShowAgainName=QString(), Options options=Notify)
QAction * zoom(const QObject *recvr, const char *slot, QObject *parent)
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
void setAlpha(int alpha)
virtual void reject()
void rejected()
ActionRole
QPushButton * addButton(StandardButton button)
void append(QList< T > &&value)
const_reference at(qsizetype i) const const
T & first()
bool isEmpty() const const
void replace(qsizetype i, parameter_type value)
qsizetype size() const const
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool load(const QString &fileName, const char *format, Qt::ImageConversionFlags flags)
ScreenResolution
void setDefault(bool)
int height() const const
int width() const const
int addWidget(QWidget *widget)
currentIndex
AppLocalDataLocation
QString number(double n, char format, int precision)
Tool
singleShot
void setEnabled(bool)
height
void hide()
void setLayout(QLayout *layout)
void setupUi(QWidget *widget)
void show()
void setToolTip(const QString &)
void setWindowFlags(Qt::WindowFlags type)
void setWindowTitle(const QString &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:47:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:47:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.