Last change
on this file since 123 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
|
Rev | Line | |
---|
[59] | 1 | #include "GpsMainWindowImpl.h"
|
---|
| 2 | #include "qpushbutton.h"
|
---|
| 3 |
|
---|
| 4 | GpsMainWindowImpl::GpsMainWindowImpl( QWidget* parent, const char* name, WFlags fl )
|
---|
| 5 | : GpsMainWindow( parent, name, fl )
|
---|
| 6 | {
|
---|
| 7 | _componentManager = ComponentManager::create();
|
---|
| 8 |
|
---|
| 9 | }
|
---|
| 10 |
|
---|
| 11 | GpsMainWindowImpl::~GpsMainWindowImpl()
|
---|
| 12 | {
|
---|
| 13 | }
|
---|
| 14 |
|
---|
| 15 | void GpsMainWindowImpl::configuration()
|
---|
| 16 | {
|
---|
| 17 | configDialog = new GpsConfigDialogImpl(this, "Configuration", TRUE );
|
---|
| 18 | configDialog->show();
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | void GpsMainWindowImpl::startAcquisition()
|
---|
| 22 | {
|
---|
| 23 | _componentManager->start();
|
---|
| 24 | buttonStart->setEnabled(false);
|
---|
| 25 | buttonStop->setEnabled(true);
|
---|
| 26 | }
|
---|
| 27 |
|
---|
| 28 | void 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.