Stellarium  0.20.4
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  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  TransitColumns {
  TransitCOName, TransitDate, TransitAltitude, TransitMagnitude,
  TransitElongation, TransitAngularDistance, TransitCount
}
 Defines the number and the order of the columns in the transit 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 {
  Conjuction = 0, Opposition = 1, GreatestElongation = 2, StationaryPoint = 3,
  OrbitalPoint = 4
}
 
enum  WUTColumns {
  WUTObjectName, WUTMagnitude, WUTRiseTime, WUTTransitTime,
  WUTMaxElevation, WUTSetTime, WUTAngularSize, WUTCount
}
 Defines the number and the order of the columns in the WUT tool. More...
 
enum  GraphsTypes {
  GraphMagnitudeVsTime = 1, GraphPhaseVsTime = 2, GraphDistanceVsTime = 3, GraphElongationVsTime = 4,
  GraphAngularSizeVsTime = 5, GraphPhaseAngleVsTime = 6, GraphHDistanceVsTime = 7, GraphTransitAltitudeVsTime = 8,
  GraphRightAscensionVsTime = 9, GraphDeclinationVsTime = 10
}
 Defines the type of graphs.
 

Public Slots

void retranslate () Q_DECL_OVERRIDE
 
- Public Slots inherited from StelDialog
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...
 
QString getDialogName () const
 

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 (QString dialogName="Default", QObject *parent=Q_NULLPTR)
 
virtual void styleChanged ()
 Notify that the application style changed.
 
bool visible () const
 Returns true if the dialog contents have been constructed and are currently shown.
 

Static Public Attributes

static QVector< EphemerisEphemerisList
 
static int DisplayedPositionIndex
 

Protected Member Functions

virtual void createDialogContent () Q_DECL_OVERRIDE
 Initialize the dialog widgets and connect the signals/slots.
 
- Protected Member Functions inherited from StelDialog
void connectColorButton (QToolButton *button, QString propertyName, QString iniName, QString moduleName="")
 Prepare a QToolButton so that it can receive and handle askColor() connections properly. More...
 
bool askConfirmation ()
 

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
void askColor ()
 To be called by a connected QToolButton with a color background. More...
 
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.
 
- 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 (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 an 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

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

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

◆ PhenomenaColumns

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

◆ TransitColumns

Enumerator
TransitDate 

name of celestial object

TransitAltitude 

date and time of transit

TransitMagnitude 

altitude

TransitElongation 

magnitude

TransitAngularDistance 

elongation (from the Sun)

TransitCount 

angular distance (from the Moon)

total number of columns

◆ WUTColumns

Enumerator
WUTMagnitude 

object name

WUTRiseTime 

magnitude

WUTTransitTime 

rise time

WUTMaxElevation 

transit time

WUTSetTime 

max. elevation

WUTAngularSize 

set time

WUTCount 

angular size

total number of columns