• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

Public Member Functions | List of all members
DetailsTable Class Reference

#include <detailstable.h>

Public Member Functions

 DetailsTable ()
 
 ~DetailsTable ()
 
void clearContents ()
 
void createAsteroidCometTable (SkyObject *obj)
 
void createCoordinatesTable (SkyObject *obj, const KStarsDateTime &ut, GeoLocation *geo)
 
void createGeneralTable (SkyObject *obj)
 
void createRSTTAble (SkyObject *obj, const KStarsDateTime &ut, GeoLocation *geo)
 
QTextDocument * getDocument ()
 
QTextCharFormat getItemNameCharFormat ()
 
QTextCharFormat getItemValueCharFormat ()
 
QTextTableFormat getTableFormat ()
 
QTextCharFormat getTableTitleCharFormat ()
 
void setItemNameCharFormat (const QTextCharFormat &format)
 
void setItemValueCharFormat (const QTextCharFormat &format)
 
void setTableFormat (const QTextTableFormat &format)
 
void setTableTitleCharFormat (const QTextCharFormat &format)
 

Detailed Description

Represents details tables that can be inserted to finder charts and logging forms.

DetailsTable class is used for creating QTextTables filled with details about objects of all types. Created tables are stored inside QTextDocument, which can be obtained by DetailsTable::getDocument() and inserted into other QTextDocument as fragment. Four types of details tables are supported: general details, position details, Rise/Set/Transit details and Asteroid/Comet details.

Author
Rafał Kułaga

Definition at line 39 of file detailstable.h.

Constructor & Destructor Documentation

DetailsTable::DetailsTable ( )

Default constructor - creates empty details table.

Definition at line 35 of file detailstable.cpp.

DetailsTable::~DetailsTable ( )

Destructor.

Definition at line 42 of file detailstable.cpp.

Member Function Documentation

void DetailsTable::clearContents ( )

Clear current table.

Definition at line 704 of file detailstable.cpp.

void DetailsTable::createAsteroidCometTable ( SkyObject *  obj)

Create Asteroid/Comet details table.

Parameters
objSky object (Asteroid/Comet) for which table will be created.

Definition at line 365 of file detailstable.cpp.

void DetailsTable::createCoordinatesTable ( SkyObject *  obj,
const KStarsDateTime &  ut,
GeoLocation *  geo 
)

Create coordinates details table.

Parameters
objSky object for which table will be created.
utDate and time.
geoGeographic location.

Definition at line 513 of file detailstable.cpp.

void DetailsTable::createGeneralTable ( SkyObject *  obj)

Create general details table.

Parameters
objSkyObject for which table will be created.

Definition at line 50 of file detailstable.cpp.

void DetailsTable::createRSTTAble ( SkyObject *  obj,
const KStarsDateTime &  ut,
GeoLocation *  geo 
)

Create Rise/Set/Transit details table.

Parameters
objSky object for which table will be created.
utDate and time.
geoGeographic location.

Definition at line 602 of file detailstable.cpp.

QTextDocument* DetailsTable::getDocument ( )
inline

Get table document.

Returns
Table document.

Definition at line 137 of file detailstable.h.

QTextCharFormat DetailsTable::getItemNameCharFormat ( )
inline

Get table item name character format.

Returns
Current table item name character format.

Definition at line 68 of file detailstable.h.

QTextCharFormat DetailsTable::getItemValueCharFormat ( )
inline

Get table item value character format.

Returns
Current table item value character format.

Definition at line 74 of file detailstable.h.

QTextTableFormat DetailsTable::getTableFormat ( )
inline

Get table format.

Returns
Current table format.

Definition at line 56 of file detailstable.h.

QTextCharFormat DetailsTable::getTableTitleCharFormat ( )
inline

Get table title character format.

Returns
Current table title character format.

Definition at line 62 of file detailstable.h.

void DetailsTable::setItemNameCharFormat ( const QTextCharFormat &  format)
inline

Set table item name character format.

Parameters
formatNew table item name character format.

Definition at line 92 of file detailstable.h.

void DetailsTable::setItemValueCharFormat ( const QTextCharFormat &  format)
inline

Set table item value character format.

Parameters
formatNew table item value character format.

Definition at line 98 of file detailstable.h.

void DetailsTable::setTableFormat ( const QTextTableFormat &  format)
inline

Set table format.

Parameters
formatNew table format.

Definition at line 80 of file detailstable.h.

void DetailsTable::setTableTitleCharFormat ( const QTextCharFormat &  format)
inline

Set table title character format.

Parameters
formatNew table title character format.

Definition at line 86 of file detailstable.h.


The documentation for this class was generated from the following files:
  • detailstable.h
  • detailstable.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal