Stellarium  0.90.0
List of all members | Public Types | Public Slots | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
AstroCalcDialog Class Reference
+ Inheritance diagram for AstroCalcDialog:
+ Collaboration diagram for AstroCalcDialog:

Public Types

enum  CPositionsColumns {
  CColumnName, CColumnRA, CColumnDec, CColumnMagnitude,
  CColumnAngularSize, CColumnExtra, CColumnType, CColumnCount
}
 Defines the number and the order of the columns in the table that lists celestial bodies positions. More...
 
enum  EphemerisColumns {
  EphemerisDate, EphemerisJD, EphemerisRA, EphemerisDec,
  EphemerisMagnitude, EphemerisPhase, EphemerisDistance, EphemerisElongation,
  EphemerisCount
}
 Defines the number and the order of the columns in the ephemeris table. More...
 
enum  PhenomenaColumns {
  PhenomenaType, PhenomenaDate, PhenomenaObject1, PhenomenaObject2,
  PhenomenaSeparation, PhenomenaCount
}
 Defines the number and the order of the columns in the phenomena table. More...
 
enum  GraphsTypes {
  GraphMagnitudeVsTime = 1, GraphPhaseVsTime = 2, GraphDistanceVsTime = 3, GraphElongationVsTime = 4,
  GraphAngularSizeVsTime = 5, GraphPhaseAngleVsTime = 6
}
 Defines the type of graphs. More...
 

Public Slots

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

Public Member Functions

 AstroCalcDialog (QObject *parent)
 
void styleChanged ()
 Notify that the application style changed. More...
 
- Public Member Functions inherited from StelDialog
 StelDialog (QString dialogName="Default", QObject *parent=Q_NULLPTR)
 
bool visible () const
 Returns true if the dialog contents have been constructed and are currently shown. More...
 

Static Public Attributes

static QVector< Vec3dEphemerisListCoords
 
static QVector< QString > EphemerisListDates
 
static QVector< float > EphemerisListMagnitudes
 
static int DisplayedPositionIndex
 

Protected Member Functions

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

Protected Attributes

Ui_astroCalcDialogForm * ui
 
- Protected Attributes inherited from StelDialog
QWidget * dialog
 The main dialog. More...
 
class CustomProxyproxy
 
QString dialogName
 The name should be set in derived classes' constructors and can be used to store and retrieve the panel locations. More...
 

Additional Inherited Members

- Signals inherited from StelDialog
void visibleChanged (bool)
 
- 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. More...
 
static void connectCheckBox (QAbstractButton *checkBox, StelAction *action)
 Helper function to connect a checkbox to the given StelAction. 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 connectBoolProperty (QAbstractButton *checkBox, const QString &propName)
 Helper function to connect a checkbox to a bool StelProperty. More...
 
- Properties inherited from StelDialog
bool visible
 

Detailed Description

Definition at line 43 of file AstroCalcDialog.hpp.

Member Enumeration Documentation

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

CColumnType 

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

CColumnCount 

type of object

total number of columns

Definition at line 50 of file AstroCalcDialog.hpp.

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

Enumerator
EphemerisJD 

date and time of ephemeris

EphemerisRA 

JD.

EphemerisDec 

right ascension

EphemerisMagnitude 

declination

EphemerisPhase 

magnitude

EphemerisDistance 

phase

EphemerisElongation 

distance

EphemerisCount 

elongation

total number of columns

Definition at line 63 of file AstroCalcDialog.hpp.

Defines the type of graphs.

Definition at line 88 of file AstroCalcDialog.hpp.

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

Enumerator
PhenomenaDate 

type of phenomena

PhenomenaObject1 

date and time of ephemeris

PhenomenaObject2 

first object

PhenomenaSeparation 

second object

PhenomenaCount 

angular separation

total number of columns

Definition at line 77 of file AstroCalcDialog.hpp.

Member Function Documentation

virtual void AstroCalcDialog::createDialogContent ( )
protectedvirtual

Initialize the dialog widgets and connect the signals/slots.

Implements StelDialog.

void AstroCalcDialog::styleChanged ( )

Notify that the application style changed.


The documentation for this class was generated from the following file: