FinderChart
#include <finderchart.h>
Public Member Functions | |
FinderChart () | |
void | insertDescription (const QString &description) |
void | insertDetailsTable (DetailsTable *table) |
void | insertGeoTimeInfo (const KStarsDateTime &ut, GeoLocation *geo) |
void | insertImage (const QImage &img, const QString &description, bool descriptionBelow=true) |
void | insertLoggingForm (LoggingForm *log) |
void | insertSectionTitle (const QString &title) |
void | insertTitleSubtitle (const QString &title, const QString &subtitle) |
Public Member Functions inherited from KStarsDocument | |
KStarsDocument () | |
void | clearContent () |
void | print (QPrinter *printer) |
bool | writeOdt (const QString &fname) |
void | writePsPdf (const QString &fname) |
Additional Inherited Members | |
Protected Attributes inherited from KStarsDocument | |
std::unique_ptr< QTextDocument > | m_Document |
Detailed Description
Class that represents finder chart document.
FinderChart class is a subclass of KStarsDocument class, representing finder chart. Finder chart can contain following elements: title, subtitle, description, logging forms, images and details tables.
Definition at line 29 of file finderchart.h.
Constructor & Destructor Documentation
◆ FinderChart()
FinderChart::FinderChart | ( | ) |
Constructor.
Definition at line 20 of file finderchart.cpp.
Member Function Documentation
◆ insertDescription()
void FinderChart::insertDescription | ( | const QString & | description | ) |
Insert description to the finder chart.
- Parameters
-
description Description text.
Definition at line 55 of file finderchart.cpp.
◆ insertDetailsTable()
void FinderChart::insertDetailsTable | ( | DetailsTable * | table | ) |
Insert details table to the finder chart.
- Parameters
-
table Details table to be inserted.
Definition at line 146 of file finderchart.cpp.
◆ insertGeoTimeInfo()
void FinderChart::insertGeoTimeInfo | ( | const KStarsDateTime & | ut, |
GeoLocation * | geo ) |
Insert details about date&time and geographic location.
- Parameters
-
ut Date and time. geo Geographic location.
Definition at line 71 of file finderchart.cpp.
◆ insertImage()
void FinderChart::insertImage | ( | const QImage & | img, |
const QString & | description, | ||
bool | descriptionBelow = true ) |
Insert image to the finder chart.
- Parameters
-
img Image to be inserted. description Description of the image.s descriptionBelow True if description should be placed below image.
Definition at line 119 of file finderchart.cpp.
◆ insertLoggingForm()
void FinderChart::insertLoggingForm | ( | LoggingForm * | log | ) |
Insert logging form to the finder chart.
- Parameters
-
log Logging form to be inserted.
Definition at line 110 of file finderchart.cpp.
◆ insertSectionTitle()
void FinderChart::insertSectionTitle | ( | const QString & | title | ) |
Insert section title to the finder chart.
- Parameters
-
title Section title.
Definition at line 155 of file finderchart.cpp.
◆ insertTitleSubtitle()
Insert title and subtitle to the finder chart.
- Parameters
-
title Title. subtitle Subtitle.
Definition at line 24 of file finderchart.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.