Scenery3dDialog.cpp   Scenery3dDialog.cpp 
skipping to change at line 40 skipping to change at line 40
#include "StelGui.hpp" #include "StelGui.hpp"
#include "StelTranslator.hpp" #include "StelTranslator.hpp"
#include <QLineEdit> #include <QLineEdit>
#include <QStandardItemModel> #include <QStandardItemModel>
#include <QTimer> #include <QTimer>
Scenery3dDialog::Scenery3dDialog(QObject* parent) : StelDialog(parent), mgr (NULL) Scenery3dDialog::Scenery3dDialog(QObject* parent) : StelDialog(parent), mgr (NULL)
{ {
ui = new Ui_scenery3dDialogForm; ui = new Ui_scenery3dDialogForm;
dialogName = "Scenery3d";
} }
Scenery3dDialog::~Scenery3dDialog() Scenery3dDialog::~Scenery3dDialog()
{ {
delete ui; delete ui;
} }
void Scenery3dDialog::retranslate() void Scenery3dDialog::retranslate()
{ {
if (dialog) if (dialog)
skipping to change at line 92 skipping to change at line 93
updateToolTipStrings(); updateToolTipStrings();
//hook up retranslate event //hook up retranslate event
connect(&StelApp::getInstance(), &StelApp::languageChanged, this, &S cenery3dDialog::retranslate); connect(&StelApp::getInstance(), &StelApp::languageChanged, this, &S cenery3dDialog::retranslate);
//change ui a bit //change ui a bit
ui->comboBoxCubemapMode->setModel(new CubemapModeListModel(ui->combo BoxCubemapMode)); ui->comboBoxCubemapMode->setModel(new CubemapModeListModel(ui->combo BoxCubemapMode));
//connect UI events //connect UI events
connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close())) ; connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close())) ;
connect(ui->TitleBar, SIGNAL(movedTo(QPoint)), this, SLOT(handleMove dTo(QPoint)));
connect(ui->scenery3dListWidget, &QListWidget::currentItemChanged, t his, &Scenery3dDialog::scenery3dChanged); connect(ui->scenery3dListWidget, &QListWidget::currentItemChanged, t his, &Scenery3dDialog::scenery3dChanged);
//checkboxes can connect directly to manager //checkboxes can connect directly to manager
connect(ui->checkBoxEnablePixelLight, SIGNAL(clicked(bool)),mgr, connect(ui->checkBoxEnablePixelLight, SIGNAL(clicked(bool)),mgr,
SLOT(setEnablePixelLighting(bool))); SLOT(setEnablePixelLighting(bool)));
connect(ui->checkBoxEnableShadows, SIGNAL(clicked(bool)), mgr, connect(ui->checkBoxEnableShadows, SIGNAL(clicked(bool)), mgr,
SLOT(setEnableShadows(bool))); SLOT(setEnableShadows(bool)));
connect(ui->checkBoxEnableBump, SIGNAL(clicked(bool)), mgr, connect(ui->checkBoxEnableBump, SIGNAL(clicked(bool)), mgr,
SLOT(setEnableBumps(bool))); SLOT(setEnableBumps(bool)));
connect(ui->checkBoxEnableLazyDrawing, &QCheckBox::clicked, mgr, &Sc enery3dMgr::setEnableLazyDrawing); connect(ui->checkBoxEnableLazyDrawing, &QCheckBox::clicked, mgr, &Sc enery3dMgr::setEnableLazyDrawing);
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/