source: pacpussensors/trunk/Gps/ui/gpsmainwindowimpl.cpp

Last change on this file was 59, checked in by DHERBOMEZ Gérald, 10 years ago

Integration of new modules:

  • GPS NMEA0183 decoder
  • Span CPT Decoder

Update of:

File size: 744 bytes
Line 
1#include "GpsMainWindowImpl.h"
2#include "qpushbutton.h"
3
4GpsMainWindowImpl::GpsMainWindowImpl( QWidget* parent, const char* name, WFlags fl )
5: GpsMainWindow( parent, name, fl )
6{
7 _componentManager = ComponentManager::create();
8
9}
10
11GpsMainWindowImpl::~GpsMainWindowImpl()
12{
13}
14
15void GpsMainWindowImpl::configuration()
16{
17 configDialog = new GpsConfigDialogImpl(this, "Configuration", TRUE );
18 configDialog->show();
19}
20
21void GpsMainWindowImpl::startAcquisition()
22{
23 _componentManager->start();
24 buttonStart->setEnabled(false);
25 buttonStop->setEnabled(true);
26}
27
28void GpsMainWindowImpl::stopAcquisition()
29{
30 _componentManager->stop();
31 buttonStop->setEnabled(false);
32 buttonStart->setEnabled(true);
33}
Note: See TracBrowser for help on using the repository browser.