StoredViewDialog.cpp   StoredViewDialog.cpp 
skipping to change at line 33 skipping to change at line 33
#include "Scenery3dMgr.hpp" #include "Scenery3dMgr.hpp"
#include "StelApp.hpp" #include "StelApp.hpp"
#include "StelGui.hpp" #include "StelGui.hpp"
#include "StelModuleMgr.hpp" #include "StelModuleMgr.hpp"
#include "StelTranslator.hpp" #include "StelTranslator.hpp"
StoredViewDialog::StoredViewDialog(QObject *parent) : StelDialog(parent), m gr(NULL), viewModel(NULL) StoredViewDialog::StoredViewDialog(QObject *parent) : StelDialog(parent), m gr(NULL), viewModel(NULL)
{ {
ui = new Ui_storedViewDialogForm; ui = new Ui_storedViewDialogForm;
dialogName = "Scenery3dViews";
} }
StoredViewDialog::~StoredViewDialog() StoredViewDialog::~StoredViewDialog()
{ {
delete ui; delete ui;
} }
void StoredViewDialog::retranslate() void StoredViewDialog::retranslate()
{ {
if(dialog) if(dialog)
ui->retranslateUi(dialog); ui->retranslateUi(dialog);
} }
void StoredViewDialog::createDialogContent() void StoredViewDialog::createDialogContent()
{ {
ui->setupUi(dialog); ui->setupUi(dialog);
connect(ui->closeStelWindow, &QPushButton::clicked, this, &StelDialo g::close); connect(ui->closeStelWindow, &QPushButton::clicked, this, &StelDialo g::close);
connect(ui->TitleBar, SIGNAL(movedTo(QPoint)), this, SLOT(handleMove dTo(QPoint)));
mgr = GETSTELMODULE(Scenery3dMgr); mgr = GETSTELMODULE(Scenery3dMgr);
Q_ASSERT(mgr); Q_ASSERT(mgr);
connect(ui->pushButtonAddView, &QPushButton::clicked, this, &StoredV iewDialog::addUserView); connect(ui->pushButtonAddView, &QPushButton::clicked, this, &StoredV iewDialog::addUserView);
connect(ui->pushButtonLoadView, &QPushButton::clicked, this, &Stored ViewDialog::loadView); connect(ui->pushButtonLoadView, &QPushButton::clicked, this, &Stored ViewDialog::loadView);
//also allow doubleclick to load view //also allow doubleclick to load view
connect(ui->listView, &QListView::doubleClicked, this, &StoredViewDi alog::loadView); connect(ui->listView, &QListView::doubleClicked, this, &StoredViewDi alog::loadView);
connect(ui->pushButtonDeleteView, &QPushButton::clicked, this, &Stor edViewDialog::deleteView); connect(ui->pushButtonDeleteView, &QPushButton::clicked, this, &Stor edViewDialog::deleteView);
 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/