Stellarium 0.11.4 | |||
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · File Structure |
The sky object search dialog. More...
#include <SearchDialog.hpp>
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 |
The sky object search dialog.
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:
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.