ATCDetailsWindow::ATCDetailsWindow(QWidget* _parent) : QWidget(_parent) { setupUi(this); UserInterface::setWindowPosition(this); connect(ShowButton, SIGNAL(clicked()), this, SLOT(__handleShowClicked())); connect(VatsinatorApplication::getSingletonPtr(), SIGNAL(dataUpdated()), this, SLOT(__updateData())); }
AirportDetailsWindow::AirportDetailsWindow(QWidget* _parent) : QWidget(_parent), __currentICAO("") { setupUi(this); UserInterface::setWindowPosition(this); connect(MetarListModel::getSingletonPtr(), SIGNAL(newMetarsAvailable()), this, SLOT(updateMetar())); connect(MetarListModel::getSingletonPtr(), SIGNAL(noMetar(QString)), this, SLOT(updateMetar(QString))); connect(VatsinatorApplication::getSingletonPtr(), SIGNAL(dataUpdated()), this, SLOT(__updateData())); connect(ShowButton, SIGNAL(clicked()), this, SLOT(__handleShowClicked())); }