#include "GpsMainWindowImpl.h" #include "qpushbutton.h" GpsMainWindowImpl::GpsMainWindowImpl( QWidget* parent, const char* name, WFlags fl ) : GpsMainWindow( parent, name, fl ) { _componentManager = ComponentManager::create(); } GpsMainWindowImpl::~GpsMainWindowImpl() { } void GpsMainWindowImpl::configuration() { configDialog = new GpsConfigDialogImpl(this, "Configuration", TRUE ); configDialog->show(); } void GpsMainWindowImpl::startAcquisition() { _componentManager->start(); buttonStart->setEnabled(false); buttonStop->setEnabled(true); } void GpsMainWindowImpl::stopAcquisition() { _componentManager->stop(); buttonStop->setEnabled(false); buttonStart->setEnabled(true); }