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()))
230 // If color scheme should be switched, save previous scheme name and switch to "sky chart" color scheme
523 m_FinderChart->insertTitleSubtitle(m_WizChartConfigUI->titleEdit->text(), m_WizChartConfigUI->subtitleEdit->text());
555 if (m_WizChartContentsUI->isGeneralTableChecked() || m_WizChartContentsUI->isPositionTableChecked() ||
bool isSwitchColorsEnabled()
Check if switching to "Sky Chart" color scheme is enabled.
Definition: pwizfovconfig.h:31
void append(const T &value)
T & first()
void exportFov(SkyPoint *point, FOV *fov, QPaintDevice *pd)
Paint FOV representation on passed QPaintDevice subclass.
Definition: simplefovexporter.cpp:23
SimpleFovExporter class is used for FOV representation exporting. Central point is defined by passed ...
Definition: simplefovexporter.h:30
PrintingWizard::FOV_TYPE getFovExportType()
Get selected FOV export method.
Definition: pwizfovtypeselection.cpp:15
Legend::LEGEND_ORIENTATION getLegendOrientation()
Get selected legend orientation.
Definition: pwizfovconfig.h:61
User interface for last "Print and export finder chart" step of the Printing Wizard.
Definition: pwizprint.h:21
QString number(int n, int base)
Class that represents finder chart document. FinderChart class is a subclass of KStarsDocument class,...
Definition: finderchart.h:29
User interface for the first step of the Printing Wizard.
Definition: printingwizard.h:37
virtual void reject()
void insertImage(const QImage &img, const QString &description, bool descriptionBelow=true)
Insert image to the finder chart.
Definition: finderchart.cpp:119
Class that represents single field of view snapshot. FovSnapshot class stores data of single FOV snap...
Definition: fovsnapshot.h:24
void setFovShapeOverriden(bool overrideFovShape)
Enable or disable FOV shape overriding.
Definition: simplefovexporter.h:104
User interface for "Configure basic finder chart settings" step of the Printing Wizard.
Definition: pwizchartconfig.h:17
singleShot
Stores dms coordinates for a point in the sky. for converting between coordinate systems.
Definition: skypoint.h:44
void setClickedPoint(const SkyPoint *f)
Set the ClickedPoint to the skypoint given as an argument.
Definition: skymap.cpp:1011
Helper class used as a wrapper for StarHopper when capturing FOV snapshots.
Definition: shfovexporter.h:21
int width() const const
void replace(int i, const T &value)
void beginShFovCapture()
Capture FOV snapshots using star hopper-based method.
Definition: printingwizard.cpp:196
void beginFovCapture()
Hide Printing Wizard and put SkyMap in FOV capture mode.
Definition: printingwizard.cpp:120
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void createCoordinatesTable(SkyObject *obj, const KStarsDateTime &ut, GeoLocation *geo)
Create coordinates details table.
Definition: detailstable.cpp:491
void hide()
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
void entered()
Enable or disable specific fields depending on the type of selected object.
Definition: pwizchartcontents.cpp:20
void createRSTTAble(SkyObject *obj, const KStarsDateTime &ut, GeoLocation *geo)
Create Rise/Set/Transit details table.
Definition: detailstable.cpp:579
User interface for "Configure common FOV export options" step of the Printing Wizard.
Definition: pwizfovconfig.h:18
bool isGeneralTableChecked()
Check if general details table is enabled.
Definition: pwizchartcontents.cpp:34
Tool
int size() const const
User interface for "Select FOV capture method" step of the Printing Wizard.
Definition: pwizfovtypeselection.h:18
void rejected()
bool calculatePath(const SkyPoint &src, const SkyPoint &dest, double fov, double maglim)
Calculate path between source and destination SkyPoints.
Definition: shfovexporter.cpp:21
QString i18n(const char *text, const TYPE &arg...)
QAction * zoom(const QObject *recvr, const char *slot, QObject *parent)
void setWindowFlags(Qt::WindowFlags type)
ActionRole
int height() const const
Q_SCRIPTABLE Q_NOREPLY void loadColorScheme(const QString &name)
DBUS interface function.
Definition: kstarsdbus.cpp:631
User interface for "Select observed object" step of the Printing Wizard.
Definition: pwizobjectselection.h:20
Class that represents logging form. Currently, LoggingForm class is used to create logging forms for ...
Definition: loggingform.h:20
bool isRSTTableChecked()
Check if Rise/Set/Transit details table is enabled.
Definition: pwizchartcontents.cpp:44
ScreenResolution
void insertDetailsTable(DetailsTable *table)
Insert details table to the finder chart.
Definition: finderchart.cpp:146
User interface for "Configure chart contents" step of the Printing Wizard.
Definition: pwizchartcontents.h:19
void setWindowTitle(const QString &)
const T & at(int i) const const
void setAlpha(int alpha)
void setClickedObject(SkyObject *o)
Set the ClickedObject pointer to the argument.
Definition: skymap.cpp:363
bool isEmpty() const const
void setFovSymbolDrawn(bool draw)
Enable or disable FOV symbol drawing.
Definition: simplefovexporter.h:110
void addButton(QAbstractButton *button, QDialogButtonBox::ButtonRole role)
User interface for "Manual FOV capture" step of the Printing Wizard.
Definition: pwizfovmanual.h:19
void createFinderChartLogger()
Create simple logging form for finder charts.
Definition: loggingform.cpp:14
GeoCoordinates geo(const QVariant &location)
This is the main window for KStars. In addition to the GUI elements, the class contains the program c...
Definition: kstars.h:90
void insertDescription(const QString &description)
Insert description to the finder chart.
Definition: finderchart.cpp:55
void setupUi(QWidget *widget)
User interface for "Browse captured FOV images" step of Printing Wizard.
Definition: pwizfovbrowse.h:19
void setEnabled(bool)
Legend::LEGEND_POSITION getLegendPosition()
Get selected legend position.
Definition: pwizfovconfig.h:70
void show()
Represents details tables that can be inserted to finder charts and logging forms....
Definition: detailstable.h:28
bool load(const QString &fileName, const char *format, Qt::ImageConversionFlags flags)
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
bool isAstComTableChecked()
Check if Asteroid/Comet details table is enabled.
Definition: pwizchartcontents.cpp:49
void insertGeoTimeInfo(const KStarsDateTime &ut, GeoLocation *geo)
Insert details about date&time and geographic location.
Definition: finderchart.cpp:71
height
AppLocalDataLocation
void setToolTip(const QString &)
void insertLoggingForm(LoggingForm *log)
Insert logging form to the finder chart.
Definition: finderchart.cpp:110
void setSkyObject(SkyObject *obj)
Update UI elements for newly selected SkyObject.
Definition: pwizobjectselection.cpp:33
bool isPositionTableChecked()
Check if position details table is enabled.
Definition: pwizchartcontents.cpp:39
void beginPointing()
Set SkyMap to pointing mode and hide Printing Wizard.
Definition: printingwizard.cpp:76
QString i18nc(const char *context, const char *text, const TYPE &arg...)
void setDefault(bool)
void insertSectionTitle(const QString &title)
Insert section title to the finder chart.
Definition: finderchart.cpp:155
void pointingDone(SkyObject *obj)
Quit object pointing mode and set the pointed object.
Definition: printingwizard.cpp:103
void insertTitleSubtitle(const QString &title, const QString &subtitle)
Insert title and subtitle to the finder chart.
Definition: finderchart.cpp:24
void information(QWidget *parent, const QString &text, const QString &title=QString(), const QString &dontShowAgainName=QString(), Options options=Notify)
void forceUpdate(bool now=false)
Recalculates the positions of objects in the sky, and then repaints the sky map.
Definition: skymap.cpp:1176
void syncFOV()
Synchronize list of visible FOVs and list of selected FOVs in Options.
Definition: kstarsdata.cpp:1487
void createAsteroidCometTable(SkyObject *obj)
Create Asteroid/Comet details table.
Definition: detailstable.cpp:343
void setBeginObject(SkyObject *obj)
Set object at which star hopper will begin.
Definition: pwizfovsh.cpp:26
void setLayout(QLayout *layout)
currentIndex
Legend class is used for painting legends on class inheriting QPaintDevice. Its methods enable changi...
Definition: legend.h:32
User interface for "Star hopper FOV snapshot capture" step of the Printing Wizard.
Definition: pwizfovsh.h:20
int addWidget(QWidget *widget)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 04:02:42 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 04:02:42 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.