Stellarium  HEAD
Public Types | Public Slots | Signals | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
AstroCalcDialog Class Reference

Public Types

enum  CPositionsColumns {
  CColumnName , CColumnRA , CColumnDec , CColumnMagnitude ,
  CColumnAngularSize , CColumnExtra , CColumnTransit , CColumnMaxElevation ,
  CColumnElongation , CColumnType , CColumnCount
}
 Defines the number and the order of the columns in the table that lists celestial bodies positions. More...
 
enum  HECPositionsColumns {
  HECColumnName , HECColumnSymbol , HECColumnLatitude , HECColumnLongitude ,
  HECColumnDistance , HECColumnCount
}
 Defines the number and the order of the columns in the table that major planets positions (heliocentric ecliptic coordinates) More...
 
enum  EphemerisColumns {
  EphemerisCOName , EphemerisDate , EphemerisRA , EphemerisDec ,
  EphemerisMagnitude , EphemerisPhase , EphemerisDistance , EphemerisElongation ,
  EphemerisCount
}
 Defines the number and the order of the columns in the ephemeris table. More...
 
enum  RTSColumns {
  RTSCOName , RTSRiseDate , RTSTransitDate , RTSSetDate ,
  RTSTransitAltitude , RTSMagnitude , RTSElongation , RTSAngularDistance ,
  RTSCount
}
 Defines the number and the order of the columns in the rises, transits and sets table. More...
 
enum  PhenomenaColumns {
  PhenomenaType , PhenomenaDate , PhenomenaObject1 , PhenomenaMagnitude1 ,
  PhenomenaObject2 , PhenomenaMagnitude2 , PhenomenaSeparation , PhenomenaElevation ,
  PhenomenaElongation , PhenomenaAngularDistance , PhenomenaCount
}
 Defines the number and the order of the columns in the phenomena table. More...
 
enum  PhenomenaTypeIndex {
  Conjunction = 0 , Opposition = 1 , GreatestElongation = 2 , StationaryPoint = 3 ,
  OrbitalPoint = 4 , Shadows = 5 , Quadrature = 6
}
 
enum  WUTColumns {
  WUTObjectName , WUTMagnitude , WUTRiseTime , WUTTransitTime ,
  WUTMaxElevation , WUTSetTime , WUTAngularSize , WUTConstellation ,
  WUTObjectType , WUTCount
}
 Defines the number and the order of the columns in the WUT tool. More...
 
enum  LunarEclipseColumns {
  LunarEclipseDate , LunarEclipseSaros , LunarEclipseType , LunarEclipseGamma ,
  LunarEclipsePMag , LunarEclipseUMag , LunarEclipseVisConditions , LunarEclipseCount
}
 Defines the number and the order of the columns in the lunar eclipse table. More...
 
enum  LunarEclipseContactColumns {
  LunarEclipseContact , LunarEclipseContactDate , LunarEclipseContactAltitude , LunarEclipseContactAzimuth ,
  LunarEclipseContactLatitude , LunarEclipseContactLongitude , LunarEclipseContactPA , LunarEclipseContactDistance ,
  LunarEclipseContactCount
}
 Defines the number and the order of the columns in the lunar eclipse contact table. More...
 
enum  SolarEclipseColumns {
  SolarEclipseDate , SolarEclipseSaros , SolarEclipseType , SolarEclipseGamma ,
  SolarEclipseMag , SolarEclipseLatitude , SolarEclipseLongitude , SolarEclipseAltitude ,
  SolarEclipsePathwidth , SolarEclipseDuration , SolarEclipseCount
}
 Defines the number and the order of the columns in the global solar eclipse table. More...
 
enum  SolarEclipseContactColumns {
  SolarEclipseContact , SolarEclipseContactDate , SolarEclipseContactLatitude , SolarEclipseContactLongitude ,
  SolarEclipseContactPathwidth , SolarEclipseContactDuration , SolarEclipseContactType , SolarEclipseContactCount
}
 Defines the number and the order of the columns in the global solar eclipse contact table. More...
 
enum  SolarEclipseLocalColumns {
  SolarEclipseLocalDate , SolarEclipseLocalType , SolarEclipseLocalFirstContact , SolarEclipseLocal2ndContact ,
  SolarEclipseLocalMaximum , SolarEclipseLocalMagnitude , SolarEclipseLocal3rdContact , SolarEclipseLocalLastContact ,
  SolarEclipseLocalDuration , SolarEclipseLocalCount
}
 
enum  TransitColumns {
  TransitDate , TransitPlanet , TransitContact1 , TransitContact2 ,
  TransitMid , TransitSeparation , TransitContact3 , TransitContact4 ,
  TransitDuration , TransitObservableDuration , TransitCount
}
 Defines the number and the order of the columns in transit table. More...
 

Public Slots

void retranslate () override
 
- Public Slots inherited from StelDialog
virtual void styleChanged (const QString &style)
 Apply application style change.
 
virtual void retranslate ()=0
 Retranslate the content of the dialog. More...
 
virtual void setVisible (bool)
 On the first call with "true" populates the window contents.
 
virtual void close ()
 Closes the window (the window widget is not deleted, just not visible).
 
void handleMovedTo (QPoint newPos)
 Adds dialog location to config.ini; should be connected in createDialogContent()
 
virtual void handleDialogSizeChanged (QSizeF size)
 Stores dialog sizes into config.ini; should be connected from the proxy. More...
 

Signals

void graphDayChanged ()
 This signal is emitted when the graph day changed.
 
- Signals inherited from StelDialog
void visibleChanged (bool)
 

Public Member Functions

 AstroCalcDialog (QObject *parent)
 
- Public Member Functions inherited from StelDialog
 StelDialog (const QString &dialogName=QString("Default"), QObject *parent=nullptr)
 
bool visible () const
 Returns true if the dialog contents have been constructed and are currently shown.
 
QString getDialogName () const
 

Static Public Attributes

static QVector< EphemerisEphemerisList
 
static int DisplayedPositionIndex
 

Protected Member Functions

void createDialogContent () override
 Initialize the dialog widgets and connect the signals/slots.
 

Protected Attributes

Ui_astroCalcDialogForm * ui
 
- Protected Attributes inherited from StelDialog
QWidget * dialog
 The main dialog.
 
class CustomProxyproxy
 
QString dialogName
 The name should be set in derived classes' constructors and can be used to store and retrieve the panel locations.
 
QList< QWidget * > kineticScrollingList
 A list of widgets where kinetic scrolling can be activated or deactivated The list must be filled once, in the constructor or init() of fillDialog() etc. More...
 

Additional Inherited Members

- Protected Slots inherited from StelDialog
bool askConfirmation (const QString &message=q_("Are you sure? This will delete your customized data."))
 
void messageBox (const QString &title, const QString &message)
 
void enableKineticScrolling (bool b)
 enable kinetic scrolling. This should be connected to StelApp's StelGui signal flagUseKineticScrollingChanged.
 
void handleFontChanged ()
 connect from StelApp to handle font and font size changes.
 
void handleColorSchemeChanged ()
 connect from StelApp to handle CSS style changes
 
virtual void updateNightModeProperty (bool n)
 
- Static Protected Member Functions inherited from StelDialog
static void connectCheckBox (QAbstractButton *checkBox, const QString &actionName)
 Helper function to connect a checkbox to the StelAction with the specified name.
 
static void connectCheckBox (QAbstractButton *checkBox, StelAction *action)
 Helper function to connect a checkbox to the given StelAction.
 
static void connectIntProperty (QLineEdit *lineEdit, const QString &propName)
 Helper function to connect a QLineEdit to an integer StelProperty. More...
 
static void connectIntProperty (QSpinBox *spinBox, const QString &propName)
 Helper function to connect a QSpinBox to an integer StelProperty. More...
 
static void connectIntProperty (QComboBox *comboBox, const QString &propName)
 Helper function to connect a QComboBox to an integer StelProperty. More...
 
static void connectIntProperty (QSlider *slider, const QString &propName, int minValue, int maxValue)
 Helper function to connect a QSlider to an double or float StelProperty. More...
 
static void connectDoubleProperty (QDoubleSpinBox *spinBox, const QString &propName)
 Helper function to connect a QDoubleSpinBox to an double or float StelProperty. More...
 
static void connectDoubleProperty (AngleSpinBox *spinBox, const QString &propName)
 Helper function to connect an AngleSpinBox to a double or float StelProperty representing decimal degrees. More...
 
static void connectDoubleProperty (QSlider *slider, const QString &propName, double minValue, double maxValue)
 Helper function to connect a QSlider to an double or float StelProperty. More...
 
static void connectStringProperty (QComboBox *comboBox, const QString &propName)
 Helper function to connect a QComboBox to a QString StelProperty. More...
 
static void connectStringProperty (QLineEdit *lineEdit, const QString &propName)
 Helper function to connect a QLineEdit to a QString StelProperty. More...
 
static void connectBoolProperty (QAbstractButton *checkBox, const QString &propName)
 Helper function to connect a checkbox to a bool StelProperty. More...
 
static void connectBoolProperty (QGroupBox *checkBox, const QString &propName)
 Helper function to connect a groupbox to a bool StelProperty. More...
 
- Properties inherited from StelDialog
bool visible
 

Member Enumeration Documentation

◆ CPositionsColumns

Defines the number and the order of the columns in the table that lists celestial bodies positions.

Enumerator
CColumnRA 

name of object

CColumnDec 

right ascension

CColumnMagnitude 

declination

CColumnAngularSize 

magnitude

CColumnExtra 

angular size

CColumnTransit 

extra data (surface brightness, separation, period, etc.)

CColumnMaxElevation 

time of transit

CColumnElongation 

max. elevation

CColumnType 

elongation (from the Sun)

CColumnCount 

type of object

total number of columns

◆ EphemerisColumns

Defines the number and the order of the columns in the ephemeris table.

Enumerator
EphemerisDate 

name of celestial object

EphemerisRA 

date and time of ephemeris

EphemerisDec 

right ascension

EphemerisMagnitude 

declination

EphemerisPhase 

magnitude

EphemerisDistance 

phase

EphemerisElongation 

distance

EphemerisCount 

elongation

total number of columns

◆ HECPositionsColumns

Defines the number and the order of the columns in the table that major planets positions (heliocentric ecliptic coordinates)

Enumerator
HECColumnSymbol 

name of the planet

HECColumnLatitude 

symbol of the planet

HECColumnLongitude 

heliocentric ecliptical latitude

HECColumnDistance 

heliocentric ecliptical longitude

HECColumnCount 

distance

total number of columns

◆ LunarEclipseColumns

Defines the number and the order of the columns in the lunar eclipse table.

Enumerator
LunarEclipseSaros 

date and time of lunar eclipse

LunarEclipseType 

Saros number.

LunarEclipseGamma 

type of lunar eclipse

LunarEclipsePMag 

Gamma of lunar eclipse.

LunarEclipseUMag 

penumbral magnitude of lunar eclipse

LunarEclipseVisConditions 

umbral magnitude of lunar eclipse

LunarEclipseCount 

visibility conditions

total number of columns

◆ LunarEclipseContactColumns

Defines the number and the order of the columns in the lunar eclipse contact table.

Enumerator
LunarEclipseContactDate 

circumstance of lunar eclipse

LunarEclipseContactAltitude 

date and time of circumstance

LunarEclipseContactAzimuth 

altitude of the Moon

LunarEclipseContactLatitude 

azimuth of the Moon

LunarEclipseContactLongitude 

latitude where the Moon appears in the zenith

LunarEclipseContactPA 

longitude where the Moon appears in the zenith

LunarEclipseContactDistance 

position angle of shadow

LunarEclipseContactCount 

angular distance between the Moon and shadow

total number of columns

◆ PhenomenaColumns

Defines the number and the order of the columns in the phenomena table.

Enumerator
PhenomenaDate 

type of phenomena

PhenomenaObject1 

date and time of ephemeris

PhenomenaMagnitude1 

first object

PhenomenaObject2 

magnitude of first object

PhenomenaMagnitude2 

second object

PhenomenaSeparation 

magnitude of second object

PhenomenaElevation 

angular separation

PhenomenaElongation 

elevation of first object

PhenomenaAngularDistance 

elongation (from the Sun)

PhenomenaCount 

angular distance (from the Moon)

total number of columns

◆ RTSColumns

Defines the number and the order of the columns in the rises, transits and sets table.

Enumerator
RTSRiseDate 

name of celestial object

RTSTransitDate 

date and time of rise

RTSSetDate 

date and time of transit

RTSTransitAltitude 

date and time of set

RTSMagnitude 

altitude at transit

RTSElongation 

magnitude at transit

RTSAngularDistance 

elongation at transit (from the Sun)

RTSCount 

angular distance at transit (from the Moon)

total number of columns

◆ SolarEclipseColumns

Defines the number and the order of the columns in the global solar eclipse table.

Defines the number and the order of the columns in the local solar eclipse table.

Enumerator
SolarEclipseSaros 

date and time of solar eclipse

SolarEclipseType 

saros number of solar eclipse

SolarEclipseGamma 

type of solar eclipse

SolarEclipseMag 

gamma of solar eclipse

SolarEclipseLatitude 

greatest magnitude of solar eclipse

SolarEclipseLongitude 

latitude at greatest eclipse

SolarEclipseAltitude 

longitude at greatest eclipse

SolarEclipsePathwidth 

altitude of the Sun at greatest eclipse

SolarEclipseDuration 

pathwidth of total or annular solar eclipse

SolarEclipseCount 

central duration of total or annular solar eclipse

total number of columns

◆ SolarEclipseContactColumns

Defines the number and the order of the columns in the global solar eclipse contact table.

Enumerator
SolarEclipseContactDate 

circumstance of solar eclipse

SolarEclipseContactLatitude 

date and time of circumstance

SolarEclipseContactLongitude 

latitude at contact time

SolarEclipseContactPathwidth 

longitude at contact time

SolarEclipseContactDuration 

pathwidth of total or annular solar eclipse

SolarEclipseContactType 

central duration of total or annular solar eclipse

SolarEclipseContactCount 

type of solar eclipse

total number of columns

◆ SolarEclipseLocalColumns

Enumerator
SolarEclipseLocalType 

date of maximum solar eclipse

SolarEclipseLocalFirstContact 

type of solar eclipse

SolarEclipseLocal2ndContact 

time of the beginning of partial solar eclipse

SolarEclipseLocalMaximum 

time of the beginning of total/annular solar eclipse

SolarEclipseLocalMagnitude 

time of maximum solar eclipse

SolarEclipseLocal3rdContact 

maximum magnitude of solar eclipse

SolarEclipseLocalLastContact 

time of the end of total/annular solar eclipse

SolarEclipseLocalDuration 

time of the end of partial solar eclipse

SolarEclipseLocalCount 

duration of total/annular solar eclipse

total number of columns

◆ TransitColumns

Defines the number and the order of the columns in transit table.

Enumerator
TransitPlanet 

date of mid-transit

TransitContact1 

transit planet

TransitContact2 

time of exterior ingress

TransitMid 

time of interior ingress

TransitSeparation 

time of mid-transit

TransitContact3 

minimum angular distance to Sun's center

TransitContact4 

time of interior egress

TransitDuration 

time of exterior egress

TransitObservableDuration 

duration of transit

TransitCount 

observable duration of transit

total number of columns

◆ WUTColumns

Defines the number and the order of the columns in the WUT tool.

Enumerator
WUTMagnitude 

object name

WUTRiseTime 

magnitude

WUTTransitTime 

rise time

WUTMaxElevation 

transit time

WUTSetTime 

max. elevation

WUTAngularSize 

set time

WUTConstellation 

angular size

WUTObjectType 

IAU constellation.

WUTCount 

object type

total number of columns