Stellarium 0.11.4
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure

SearchDialog Class Reference

The sky object search dialog. More...

#include <SearchDialog.hpp>

List of all members.

Public Slots

void retranslate ()
 Retranslate the content of the dialog.
void setVisible (bool)
 Add auto focus of the edit line.
void setSimpleStyle ()
 This style only displays the text search field and the search button.

Public Member Functions

void styleChanged ()
 Notify that the application style changed.
bool eventFilter (QObject *object, QEvent *event)

Protected Member Functions

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

Protected Attributes

Ui_searchDialogForm * ui

Detailed Description

The sky object search dialog.


Member Function Documentation

virtual void SearchDialog::createDialogContent (  )  [protected, virtual]

Initialize the dialog widgets and connect the signals/slots.

Implements StelDialog.

void SearchDialog::retranslate (  )  [virtual, slot]

Retranslate the content of the dialog.

Needs to be connected to StelApp::languageChanged(). At the very least, if the window is based on a Qt Designer file (.ui), the implementation needs to call the generated class' retranslateUi() method, like this:

 if (dialog) 
    ui->retranslateUi(dialog);

Implements StelDialog.

void SearchDialog::setSimpleStyle (  )  [slot]

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

void SearchDialog::setVisible ( bool   )  [slot]

Add auto focus of the edit line.

Reimplemented from StelDialog.

void SearchDialog::styleChanged (  ) 

Notify that the application style changed.

Generated on Sat Aug 25 22:13:32 2012 for Stellarium by  doxygen 1.6.3