Stellarium 0.15.0
List of all members | Public Types | Public Slots | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
SearchDialog Class Reference

The sky object search dialog. More...

#include <SearchDialog.hpp>

Public Types

enum  CoordinateSystem {
  equatorialJ2000, equatorial, horizontal, galactic,
  ecliptic, eclipticJ2000
}
 Available coordinate systems. More...
 

Public Slots

void retranslate ()
 
void setSimpleStyle ()
 This style only displays the text search field and the search button. More...
 
void setCurrentCoordinateSystem (CoordinateSystem cs)
 Set the current coordinate system. More...
 
CoordinateSystem getCurrentCoordinateSystem () const
 Get the current coordinate system. More...
 
QString getCurrentCoordinateSystemKey (void) const
 Get the current coordinate system key. More...
 
void setCurrentCoordinateSystemKey (QString key)
 Set the current coordinate system from its key. More...
 
void setCoordinateSystem (int csID)
 
void populateCoordinateSystemsList ()
 
void populateCoordinateAxis ()
 
- 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...
 

Public Member Functions

 SearchDialog (QObject *parent)
 
void styleChanged ()
 Notify that the application style changed. More...
 
bool eventFilter (QObject *object, QEvent *event)
 
- Public Member Functions inherited from StelDialog
 StelDialog (QObject *parent=NULL)
 
bool visible () const
 

Static Public Attributes

static QString extSearchText
 

Protected Member Functions

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

Protected Attributes

Ui_searchDialogForm * ui
 
- Protected Attributes inherited from StelDialog
QWidget * dialog
 The main dialog. More...
 
class CustomProxy * proxy
 
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)
 

Detailed Description

The sky object search dialog.

Definition at line 73 of file SearchDialog.hpp.

Member Enumeration Documentation

Available coordinate systems.

Definition at line 80 of file SearchDialog.hpp.

Member Function Documentation

virtual void SearchDialog::createDialogContent ( )
protectedvirtual

Initialize the dialog widgets and connect the signals/slots.

Implements StelDialog.

CoordinateSystem SearchDialog::getCurrentCoordinateSystem ( ) const
inlineslot

Get the current coordinate system.

Definition at line 107 of file SearchDialog.hpp.

QString SearchDialog::getCurrentCoordinateSystemKey ( void  ) const
slot

Get the current coordinate system key.

void SearchDialog::setCurrentCoordinateSystem ( CoordinateSystem  cs)
inlineslot

Set the current coordinate system.

Definition at line 102 of file SearchDialog.hpp.

void SearchDialog::setCurrentCoordinateSystemKey ( QString  key)
slot

Set the current coordinate system from its key.

void SearchDialog::setSimpleStyle ( )
slot

This style only displays the text search field and the search button.

void SearchDialog::styleChanged ( )

Notify that the application style changed.


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