Kstars
imageexporter.cpp
21 ImageExporter::ImageExporter(QObject *parent) : QObject(parent), m_includeLegend(false), m_Size(nullptr)
240 void ImageExporter::setLegendProperties(Legend::LEGEND_TYPE type, Legend::LEGEND_ORIENTATION orientation,
void setSize(const QSize &size)
bool exportImage(QString url)
Exports an image with the defined settings.
Definition: imageexporter.cpp:187
void setLegendProperties(Legend::LEGEND_TYPE type, Legend::LEGEND_ORIENTATION orientation, Legend::LEGEND_POSITION position, int alpha=160, bool include=true)
Set the legend properties.
Definition: imageexporter.cpp:240
QString url(QUrl::FormattingOptions options) const const
int width() const const
int lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const const
void setTitle(const QString &title)
void fillRect(const QRectF &rectangle, const QBrush &brush)
void drawImage(const QRectF &target, const QImage &image, const QRectF &source, Qt::ImageConversionFlags flags)
virtual QString fileName() const const override
bool begin(QPaintDevice *device)
KIOCORE_EXPORT StoredTransferJob * storedHttpPost(const QByteArray &arr, const QUrl &url, JobFlags flags=DefaultFlags)
void showMessage(const QString &message, int timeout)
bool isValid() const const
bool end()
void setResolution(int dpi)
QString i18n(const char *text, const TYPE &arg...)
int height() const const
void setRasterOutputSize(const QSize *size)
Set the size of output raster images.
Definition: imageexporter.cpp:262
void setAlpha(int alpha)
void setDescription(const QString &description)
QString toLocalFile() const const
QStatusBar * statusBar() const const
QString toLower() const const
void setViewBox(const QRect &viewBox)
Canvas widget for displaying the sky bitmap; also handles user interaction events.
Definition: skymap.h:52
void setFileName(const QString &fileName)
bool isLocalFile() const const
bool open()
QFuture< void > map(Sequence &sequence, MapFunctor function)
QString mid(int position, int n) const const
bool exec()
white
QUrl fromUserInput(const QString &userInput)
Legend class is used for painting legends on class inheriting QPaintDevice. Its methods enable changi...
Definition: legend.h:32
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 03:57:51 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 03:57:51 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.