1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 11:29:51 +03:00

[Companion] Copyright added to all files

This commit is contained in:
Bertrand Songis 2016-11-23 16:40:31 +01:00
parent 5f9737fc70
commit b0f5b646af
183 changed files with 3525 additions and 507 deletions

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "apppreferencesdialog.h" #include "apppreferencesdialog.h"
#include "ui_apppreferencesdialog.h" #include "ui_apppreferencesdialog.h"
#include "mainwindow.h" #include "mainwindow.h"

View file

@ -1,5 +1,25 @@
#ifndef APPPREFERENCESDIALOG_H /*
#define APPPREFERENCESDIALOG_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _APPPREFERENCESDIALOG_H_
#define _APPPREFERENCESDIALOG_H_
#include <QDialog> #include <QDialog>
#include <QCheckBox> #include <QCheckBox>
@ -59,4 +79,4 @@ class AppPreferencesDialog : public QDialog
#endif #endif
}; };
#endif // APPPREFERENCESDIALOG_H #endif // _APPPREFERENCESDIALOG_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "burnconfigdialog.h" #include "burnconfigdialog.h"
#include "ui_burnconfigdialog.h" #include "ui_burnconfigdialog.h"
#include "eeprominterface.h" #include "eeprominterface.h"

View file

@ -1,5 +1,25 @@
#ifndef BURNCONFIGDIALOG_H_ /*
#define BURNCONFIGDIALOG_H_ * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _BURNCONFIGDIALOG_H_
#define _BURNCONFIGDIALOG_H_
#include <QtWidgets> #include <QtWidgets>
@ -70,4 +90,4 @@ private slots:
void putSettings(); void putSettings();
}; };
#endif // BURNCONFIGDIALOG_H_ #endif // _BURNCONFIGDIALOG_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <QApplication> #include <QApplication>
#include <QTranslator> #include <QTranslator>
#include <QLocale> #include <QLocale>

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "comparedialog.h" #include "comparedialog.h"
#include "ui_comparedialog.h" #include "ui_comparedialog.h"
#include "helpers.h" #include "helpers.h"

View file

@ -1,5 +1,25 @@
#ifndef _COMPAREDIALOG_H /*
#define _COMPAREDIALOG_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _COMPAREDIALOG_H_
#define _COMPAREDIALOG_H_
#include <QtWidgets> #include <QtWidgets>
#include "multimodelprinter.h" #include "multimodelprinter.h"
@ -38,4 +58,4 @@ class CompareDialog : public QDialog
void printDiff(); void printDiff();
}; };
#endif // _COMPAREDIALOG_H #endif // _COMPAREDIALOG_H_

View file

@ -1,5 +1,25 @@
#ifndef _constants_h_ /*
#define _constants_h_ * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _CONSTANTS_H_
#define _CONSTANTS_H_
enum BoardEnum { enum BoardEnum {
BOARD_STOCK, BOARD_STOCK,
@ -43,4 +63,4 @@ const char * const ARROW_UP = "\xE2\x86\x91";
const char * const ARROW_RIGHT = "\xE2\x86\x92"; const char * const ARROW_RIGHT = "\xE2\x86\x92";
const char * const ARROW_DOWN = "\xE2\x86\x93"; const char * const ARROW_DOWN = "\xE2\x86\x93";
#endif #endif // _CONSTANTS_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "contributorsdialog.h" #include "contributorsdialog.h"
#include "ui_htmldialog.h" #include "ui_htmldialog.h"
#include "helpers.h" #include "helpers.h"

View file

@ -1,5 +1,25 @@
#ifndef CONTRIBUTORSDIALOG_H /*
#define CONTRIBUTORSDIALOG_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _CONTRIBUTORSDIALOG_H_
#define _CONTRIBUTORSDIALOG_H_
#include <QDialog> #include <QDialog>
@ -20,4 +40,4 @@ class ContributorsDialog : public QDialog
QString formatTable(const QString & title, const QStringList & names, int colums); QString formatTable(const QString & title, const QStringList & names, int colums);
}; };
#endif // CONTRIBUTORSDIALOG_H #endif // _CONTRIBUTORSDIALOG_H_

View file

@ -1,5 +1,25 @@
#ifndef customdebug_h /*
#define customdebug_h * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _CUSTOMDEBUG_H_
#define _CUSTOMDEBUG_H_
#include <QDebug> #include <QDebug>
@ -13,4 +33,4 @@
#endif #endif
#endif #endif // _CUSTOMDEBUG_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "customizesplashdialog.h" #include "customizesplashdialog.h"
#include "ui_customizesplashdialog.h" #include "ui_customizesplashdialog.h"
#include "flashfirmwaredialog.h" #include "flashfirmwaredialog.h"

View file

@ -1,5 +1,25 @@
#ifndef CUSTOMIZESPLASHDIALOG_H /*
#define CUSTOMIZESPLASHDIALOG_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _CUSTOMIZESPLASHDIALOG_H_
#define _CUSTOMIZESPLASHDIALOG_H_
#include <QtWidgets> #include <QtWidgets>
#include "firmwareinterface.h" #include "firmwareinterface.h"
@ -83,4 +103,4 @@ private:
enum sideEnum { LEFT, RIGHT }; enum sideEnum { LEFT, RIGHT };
}; };
#endif // CUSTOMIZESPLASHDIALOG_H #endif // _CUSTOMIZESPLASHDIALOG_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "downloaddialog.h" #include "downloaddialog.h"
#include "ui_downloaddialog.h" #include "ui_downloaddialog.h"
#include <QTime> #include <QTime>

View file

@ -1,5 +1,25 @@
#ifndef DOWNLOADDIALOG_H /*
#define DOWNLOADDIALOG_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _DOWNLOADDIALOG_H_
#define _DOWNLOADDIALOG_H_
#include <QtWidgets> #include <QtWidgets>
#include <QNetworkAccessManager> #include <QNetworkAccessManager>
@ -37,4 +57,4 @@ private:
}; };
#endif // DOWNLOADDIALOG_H #endif // _DOWNLOADDIALOG_H_

View file

@ -1,5 +1,25 @@
#ifndef eeprom_importexport_h /*
#define eeprom_importexport_h * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _EEPROMIMPORTEXPORT_H_
#define _EEPROMIMPORTEXPORT_H_
#include "customdebug.h" #include "customdebug.h"
@ -727,4 +747,4 @@ class ConversionField: public TransformedField {
const QString error; const QString error;
}; };
#endif #endif // _EEPROMIMPORTEXPORT_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdio.h> #include <stdio.h>
#include <list> #include <list>
#include <float.h> #include <float.h>

View file

@ -1,5 +1,25 @@
#ifndef eeprom_interface_h /*
#define eeprom_interface_h * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _EEPROMINTERFACE_H_
#define _EEPROMINTERFACE_H_
#include <string.h> #include <string.h>
#include <QString> #include <QString>
@ -1703,4 +1723,4 @@ SimulatorInterface * GetCurrentFirmwareSimulator();
extern QList<EEPROMInterface *> eepromInterfaces; extern QList<EEPROMInterface *> eepromInterfaces;
#endif #endif // _EEPROMINTERFACE_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <algorithm> #include <algorithm>
#include "er9xeeprom.h" #include "er9xeeprom.h"
#include "helpers.h" #include "helpers.h"

View file

@ -1,7 +1,12 @@
/* /*
* Author - Bertrand Songis <bsongis@gmail.com> * Copyright (C) OpenTX
* *
* Based on th9x -> http://code.google.com/p/th9x/ * Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -11,10 +16,10 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#ifndef er9xeeprom_h
#define er9xeeprom_h #ifndef _ER9XEEPROM_H_
#define _ER9XEEPROM_H_
#include <inttypes.h> #include <inttypes.h>
#include "eeprominterface.h" #include "eeprominterface.h"
@ -257,4 +262,4 @@ PACK(typedef struct t_Er9xModelData {
t_Er9xModelData() { memset(this, 0, sizeof(t_Er9xModelData)); } t_Er9xModelData() { memset(this, 0, sizeof(t_Er9xModelData)); }
}) Er9xModelData; }) Er9xModelData;
#endif #endif // _ER9XEEPROM_H_

View file

@ -1,7 +1,12 @@
/* /*
* Author - Bertrand Songis <bsongis@gmail.com> * Copyright (C) OpenTX
* *
* Based on th9x -> http://code.google.com/p/th9x/ * Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -11,7 +16,6 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#include <iostream> #include <iostream>

View file

@ -1,7 +1,12 @@
/* /*
* Author - Bertrand Songis <bsongis@gmail.com> * Copyright (C) OpenTX
* *
* Based on th9x -> http://code.google.com/p/th9x/ * Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -11,10 +16,10 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#ifndef er9x_interface_h
#define er9x_interface_h #ifndef _ER9XINTERFACE_H_
#define _ER9XINTERFACE_H_
#include <QtXml> #include <QtXml>
#include "eeprominterface.h" #include "eeprominterface.h"
#include "er9xeeprom.h" #include "er9xeeprom.h"
@ -69,4 +74,4 @@ class Er9xInterface : public EEPROMInterface
}; };
#endif #endif // _ER9XINTERFACE_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <algorithm> #include <algorithm>
#include "helpers.h" #include "helpers.h"
#include "ersky9xeeprom.h" #include "ersky9xeeprom.h"

View file

@ -1,7 +1,12 @@
/* /*
* Author - Bertrand Songis <bsongis@gmail.com> * Copyright (C) OpenTX
* *
* Based on th9x -> http://code.google.com/p/th9x/ * Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -11,10 +16,10 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#ifndef ersky9xeeprom_h
#define ersky9xeeprom_h #ifndef _ERSKY9XEEPROM_H_
#define _ERSKY9XEEPROM_H_
#include <inttypes.h> #include <inttypes.h>
#include "eeprominterface.h" #include "eeprominterface.h"
@ -428,4 +433,4 @@ PACK(typedef struct t_Ersky9xModelData_v11 {
t_Ersky9xModelData_v11() { memset(this, 0, sizeof(t_Ersky9xModelData_v11)); } t_Ersky9xModelData_v11() { memset(this, 0, sizeof(t_Ersky9xModelData_v11)); }
}) Ersky9xModelData_v11; }) Ersky9xModelData_v11;
#endif #endif // _ERSKY9XEEPROM_H_

View file

@ -1,7 +1,12 @@
/* /*
* Author - Bertrand Songis <bsongis@gmail.com> * Copyright (C) OpenTX
* *
* Based on th9x -> http://code.google.com/p/th9x/ * Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -11,7 +16,6 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#include <iostream> #include <iostream>

View file

@ -1,7 +1,12 @@
/* /*
* Author - Bertrand Songis <bsongis@gmail.com> * Copyright (C) OpenTX
* *
* Based on th9x -> http://code.google.com/p/th9x/ * Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -11,10 +16,10 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#ifndef ersky9x_interface_h
#define ersky9x_interface_h #ifndef _ERSKY9XINTERFACE_H_
#define _ERSKY9XINTERFACE_H_
#include <QtXml> #include <QtXml>
#include "eeprominterface.h" #include "eeprominterface.h"
#include "ersky9xeeprom.h" #include "ersky9xeeprom.h"
@ -70,4 +75,4 @@ class Ersky9xInterface : public EEPROMInterface
}; };
#endif #endif // _ERSKY9XINTERFACE_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <stdlib.h> #include <stdlib.h>
#include <algorithm> #include <algorithm>
#include "helpers.h" #include "helpers.h"

View file

@ -1,7 +1,12 @@
/* /*
* Author - Bertrand Songis <bsongis@gmail.com> * Copyright (C) OpenTX
* *
* Based on th9x -> http://code.google.com/p/th9x/ * Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -11,11 +16,10 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#ifndef open9xeeprom_h #ifndef _OPENTXEEPROM_H_
#define open9xeeprom_h #define _OPENTXEEPROM_H_
#include <inttypes.h> #include <inttypes.h>
#include "eeprominterface.h" #include "eeprominterface.h"
@ -123,4 +127,4 @@ class OpenTxModelData: public TransformedField {
}; };
void OpenTxEepromCleanup(void); void OpenTxEepromCleanup(void);
#endif #endif // _OPENTXEEPROM_H_

View file

@ -1,7 +1,12 @@
/* /*
* Author - Bertrand Songis <bsongis@gmail.com> * Copyright (C) OpenTX
* *
* Based on th9x -> http://code.google.com/p/th9x/ * Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -11,7 +16,6 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#include <iostream> #include <iostream>

View file

@ -1,7 +1,12 @@
/* /*
* Author - Bertrand Songis <bsongis@gmail.com> * Copyright (C) OpenTX
* *
* Based on th9x -> http://code.google.com/p/th9x/ * Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
@ -11,11 +16,10 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*
*/ */
#ifndef opentx_interface_h #ifndef _OPENTXINTERFACE_H_
#define opentx_interface_h #define _OPENTXINTERFACE_H_
#include "eeprominterface.h" #include "eeprominterface.h"
@ -138,4 +142,4 @@ class OpenTxFirmware: public Firmware {
void registerOpenTxFirmwares(); void registerOpenTxFirmwares();
void unregisterOpenTxFirmwares(); void unregisterOpenTxFirmwares();
#endif #endif // _OPENTXINTERFACE_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "flasheepromdialog.h" #include "flasheepromdialog.h"
#include "ui_flasheepromdialog.h" #include "ui_flasheepromdialog.h"
#include "eeprominterface.h" #include "eeprominterface.h"

View file

@ -1,5 +1,25 @@
#ifndef FLASHEEPROMDIALOG_H_ /*
#define FLASHEEPROMDIALOG_H_ * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _FLASHEEPROMDIALOG_H_
#define _FLASHEEPROMDIALOG_H_
#include <QtWidgets> #include <QtWidgets>
@ -43,4 +63,4 @@ private:
RadioData *radioData; RadioData *radioData;
}; };
#endif // FLASHEEPROMDIALOG_H_ #endif // _FLASHEEPROMDIALOG_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "flashfirmwaredialog.h" #include "flashfirmwaredialog.h"
#include "ui_flashfirmwaredialog.h" #include "ui_flashfirmwaredialog.h"
#include "appdata.h" #include "appdata.h"

View file

@ -1,5 +1,25 @@
#ifndef FLASH_FIRMWARE_DIALOG_H /*
#define FLASH_FIRMWARE_DIALOG_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _FLASHFIRMWAREDIALOG_H_
#define _FLASHFIRMWAREDIALOG_H_
#include <QtWidgets> #include <QtWidgets>
#include "eeprominterface.h" #include "eeprominterface.h"
@ -54,4 +74,4 @@ private:
QString imageFile; QString imageFile;
}; };
#endif // FLASH_FIRMWARE_DIALOG_H #endif // _FLASHFIRMWAREDIALOG_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "fusesdialog.h" #include "fusesdialog.h"
#include "ui_fusesdialog.h" #include "ui_fusesdialog.h"
#include "helpers.h" #include "helpers.h"

View file

@ -1,5 +1,25 @@
#ifndef FUSESDIALOG_H_ /*
#define FUSESDIALOG_H_ * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _FUSESDIALOG_H_
#define _FUSESDIALOG_H_
#include <QDialog> #include <QDialog>
@ -25,4 +45,4 @@ private:
}; };
#endif // FUSESDIALOG_H_ #endif // _FUSESDIALOG_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "fwpreferencesdialog.h" #include "fwpreferencesdialog.h"
#include "ui_fwpreferencesdialog.h" #include "ui_fwpreferencesdialog.h"
#include "mainwindow.h" #include "mainwindow.h"

View file

@ -1,5 +1,25 @@
#ifndef FWPREFERENCESDIALOG_H /*
#define FWPREFERENCESDIALOG_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _FWPREFERENCESDIALOG_H_
#define _FWPREFERENCESDIALOG_H_
#include <QDialog> #include <QDialog>
#include <QCheckBox> #include <QCheckBox>
@ -29,4 +49,4 @@ class FirmwarePreferencesDialog : public QDialog
void on_checkFWUpdates_clicked(); void on_checkFWUpdates_clicked();
}; };
#endif // FWPREFERENCESDIALOG_H #endif // _FWPREFERENCESDIALOG_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <QVBoxLayout> #include <QVBoxLayout>
#include <QHeaderView> #include <QHeaderView>
#include <QSpinBox> #include <QSpinBox>

View file

@ -1,5 +1,25 @@
#ifndef CALIBRATION_H /*
#define CALIBRATION_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _CALIBRATION_H_
#define _CALIBRATION_H_
#include <QTableWidget> #include <QTableWidget>
#include "generaledit.h" #include "generaledit.h"
@ -30,4 +50,4 @@ class CalibrationPanel : public GeneralPanel
void setCalibrationValue(int row, int column, int value); void setCalibrationValue(int row, int column, int value);
}; };
#endif // CALIBRATION_H #endif // _CALIBRATION_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "generaledit.h" #include "generaledit.h"
#include "ui_generaledit.h" #include "ui_generaledit.h"
#include "helpers.h" #include "helpers.h"

View file

@ -1,5 +1,25 @@
#ifndef GENERALEDIT_H /*
#define GENERALEDIT_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _GENERALEDIT_H_
#define _GENERALEDIT_H_
#include <QtWidgets> #include <QtWidgets>
#include "eeprominterface.h" #include "eeprominterface.h"
@ -54,4 +74,4 @@ class GeneralEdit : public QDialog
}; };
#endif // GENERALEDIT_H #endif // _GENERALEDIT_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "generalsetup.h" #include "generalsetup.h"
#include "ui_generalsetup.h" #include "ui_generalsetup.h"

View file

@ -1,5 +1,25 @@
#ifndef GENERALSETUP_H /*
#define GENERALSETUP_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _GENERALSETUP_H_
#define _GENERALSETUP_H_
#include "generaledit.h" #include "generaledit.h"
#include "eeprominterface.h" #include "eeprominterface.h"
@ -75,4 +95,4 @@ class GeneralSetupPanel : public GeneralPanel
void updateVarioPitchRange(); void updateVarioPitchRange();
}; };
#endif // GENERALSETUP_H #endif // _GENERALSETUP_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "hardware.h" #include "hardware.h"
#include "ui_hardware.h" #include "ui_hardware.h"

View file

@ -1,5 +1,25 @@
#ifndef HARDWARE_H /*
#define HARDWARE_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _HARDWARE_H_
#define _HARDWARE_H_
#include "generaledit.h" #include "generaledit.h"
@ -43,4 +63,4 @@ class HardwarePanel : public GeneralPanel
void setValues(); void setValues();
}; };
#endif // HARDWARE_H #endif // _HARDWARE_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "trainer.h" #include "trainer.h"
#include "ui_trainer.h" #include "ui_trainer.h"

View file

@ -1,5 +1,25 @@
#ifndef TRAINER_H /*
#define TRAINER_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _TRAINER_H_
#define _TRAINER_H_
#include "generaledit.h" #include "generaledit.h"
#include "eeprominterface.h" #include "eeprominterface.h"
@ -36,4 +56,4 @@ class TrainerPanel : public GeneralPanel
void setValues(); void setValues();
}; };
#endif // TRAINER_H #endif // _TRAINER_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <QtGui> #include <QtGui>
#if defined WIN32 #if defined WIN32
#include <io.h> #include <io.h>

View file

@ -1,5 +1,25 @@
#ifndef HELPERS_H /*
#define HELPERS_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _HELPERS_H_
#define _HELPERS_H_
#include <QCheckBox> #include <QCheckBox>
#include <QSpinBox> #include <QSpinBox>
@ -270,4 +290,4 @@ private:
extern Stopwatch gStopwatch; extern Stopwatch gStopwatch;
#endif // HELPERS_H #endif // _HELPERS_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "helpers_html.h" #include "helpers_html.h"
QString tdAlign(const QString &s, const QString &align, const QString &color, bool bold) QString tdAlign(const QString &s, const QString &align, const QString &color, bool bold)

View file

@ -1,5 +1,25 @@
#ifndef HELPERS_HTML_H_ /*
#define HELPERS_HTML_H_ * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _HELPERS_HTML_H_
#define _HELPERS_HTML_H_
#include <QString> #include <QString>
@ -8,4 +28,4 @@ QString doTR(const QString &s, const QString &color="", bool bold=false);
QString doTL(const QString &s, const QString &color="", bool bold=false); QString doTL(const QString &s, const QString &color="", bool bold=false);
QString fv(const QString &name, const QString &value, const QString &color="green"); QString fv(const QString &name, const QString &value, const QString &color="green");
#endif /* HELPERS_HTML_H_ */ #endif // _HELPERS_HTML_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <math.h> #include <math.h>
#include "logsdialog.h" #include "logsdialog.h"
#include "appdata.h" #include "appdata.h"

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _LOGSDIALOG_H_ #ifndef _LOGSDIALOG_H_
#define _LOGSDIALOG_H_ #define _LOGSDIALOG_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <QtGui> #include <QtGui>
#include <QNetworkProxyFactory> #include <QNetworkProxyFactory>
#include <QFileInfo> #include <QFileInfo>

View file

@ -1,5 +1,25 @@
#ifndef MAINWINDOW_H /*
#define MAINWINDOW_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _MAINWINDOW_H_
#define _MAINWINDOW_H_
#include <QtWidgets> #include <QtWidgets>
#include <QDateTime> #include <QDateTime>
@ -240,4 +260,4 @@ class MainWindow : public QMainWindow
QAction *openDocURLAct; QAction *openDocURLAct;
}; };
#endif #endif // _MAINWINDOW_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "mdichild.h" #include "mdichild.h"
#include "ui_mdichild.h" #include "ui_mdichild.h"
#include "xmlinterface.h" #include "xmlinterface.h"

View file

@ -1,5 +1,25 @@
#ifndef MDICHILD_H /*
#define MDICHILD_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _MDICHILD_H_
#define _MDICHILD_H_
#include <QtGui> #include <QtGui>
#include "eeprominterface.h" #include "eeprominterface.h"
@ -85,4 +105,4 @@ class MdiChild : public QWidget
int EEPromAvail; int EEPromAvail;
}; };
#endif #endif // _MDICHILD_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "channels.h" #include "channels.h"
#include "helpers.h" #include "helpers.h"

View file

@ -1,5 +1,25 @@
#ifndef CHANNELS_H /*
#define CHANNELS_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _CHANNELS_H_
#define _CHANNELS_H_
#include "helpers.h" #include "helpers.h"
#include "modeledit.h" #include "modeledit.h"
@ -45,4 +65,4 @@ class Channels : public ModelPanel
}; };
#endif // CHANNELS_H #endif // _CHANNELS_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "curves.h" #include "curves.h"
#include "ui_curves.h" #include "ui_curves.h"
#include "node.h" #include "node.h"

View file

@ -1,5 +1,25 @@
#ifndef CURVES_H /*
#define CURVES_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _CURVES_H_
#define _CURVES_H_
#include "modeledit.h" #include "modeledit.h"
#include "eeprominterface.h" #include "eeprominterface.h"
@ -68,4 +88,4 @@ class Curves : public ModelPanel
}; };
#endif // CURVES_H #endif // _CURVES_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "customfunctions.h" #include "customfunctions.h"
#include "helpers.h" #include "helpers.h"
#include "appdata.h" #include "appdata.h"

View file

@ -1,5 +1,25 @@
#ifndef CUSTOMFUNCTIONS_H /*
#define CUSTOMFUNCTIONS_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _CUSTOMFUNCTIONS_H_
#define _CUSTOMFUNCTIONS_H_
#include "modeledit.h" #include "modeledit.h"
#include "eeprominterface.h" #include "eeprominterface.h"
@ -76,4 +96,4 @@ class CustomFunctionsPanel : public GenericPanel
}; };
#endif // CUSTOMFUNCTIONS_H #endif // _CUSTOMFUNCTIONS_H_

View file

@ -1,44 +1,23 @@
/**************************************************************************** /*
** * Copyright (C) OpenTX
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). *
** All rights reserved. * Based on code named
** Contact: Nokia Corporation (qt-info@nokia.com) * th9x - http://code.google.com/p/th9x
** * er9x - http://code.google.com/p/er9x
** This file is part of the examples of the Qt Toolkit. * gruvin9x - http://code.google.com/p/gruvin9x
** *
** $QT_BEGIN_LICENSE:LGPL$ * License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
** Commercial Usage *
** Licensees holding valid Qt Commercial licenses may use this file in * This program is free software; you can redistribute it and/or modify
** accordance with the Qt Commercial License Agreement provided with the * it under the terms of the GNU General Public License version 2 as
** Software or, alternatively, in accordance with the terms contained in * published by the Free Software Foundation.
** a written agreement between you and Nokia. *
** * This program is distributed in the hope that it will be useful,
** GNU Lesser General Public License Usage * but WITHOUT ANY WARRANTY; without even the implied warranty of
** Alternatively, this file may be used under the terms of the GNU Lesser * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** General Public License version 2.1 as published by the Free Software * GNU General Public License for more details.
** Foundation and appearing in the file LICENSE.LGPL included in the */
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QPainter> #include <QPainter>
#include "edge.h" #include "edge.h"

View file

@ -1,46 +1,25 @@
/**************************************************************************** /*
** * Copyright (C) OpenTX
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). *
** All rights reserved. * Based on code named
** Contact: Nokia Corporation (qt-info@nokia.com) * th9x - http://code.google.com/p/th9x
** * er9x - http://code.google.com/p/er9x
** This file is part of the examples of the Qt Toolkit. * gruvin9x - http://code.google.com/p/gruvin9x
** *
** $QT_BEGIN_LICENSE:LGPL$ * License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
** Commercial Usage *
** Licensees holding valid Qt Commercial licenses may use this file in * This program is free software; you can redistribute it and/or modify
** accordance with the Qt Commercial License Agreement provided with the * it under the terms of the GNU General Public License version 2 as
** Software or, alternatively, in accordance with the terms contained in * published by the Free Software Foundation.
** a written agreement between you and Nokia. *
** * This program is distributed in the hope that it will be useful,
** GNU Lesser General Public License Usage * but WITHOUT ANY WARRANTY; without even the implied warranty of
** Alternatively, this file may be used under the terms of the GNU Lesser * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** General Public License version 2.1 as published by the Free Software * GNU General Public License for more details.
** Foundation and appearing in the file LICENSE.LGPL included in the */
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements #ifndef _EDGE_H_
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. #define _EDGE_H_
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef EDGE_H
#define EDGE_H
#include <QGraphicsItem> #include <QGraphicsItem>
@ -75,4 +54,4 @@ private:
qreal arrowSize; qreal arrowSize;
}; };
#endif #endif // _EDGE_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "expodialog.h" #include "expodialog.h"
#include "ui_expodialog.h" #include "ui_expodialog.h"
#include "helpers.h" #include "helpers.h"

View file

@ -1,5 +1,25 @@
#ifndef EXPODIALOG_H /*
#define EXPODIALOG_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _EXPODIALOG_H_
#define _EXPODIALOG_H_
#include <QtWidgets> #include <QtWidgets>
#include "eeprominterface.h" #include "eeprominterface.h"
@ -39,4 +59,4 @@ class ExpoDialog : public QDialog {
ModelPrinter modelPrinter; ModelPrinter modelPrinter;
}; };
#endif // EXPODIALOG_H #endif // _EXPODIALOG_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "flightmodes.h" #include "flightmodes.h"
#include "ui_flightmode.h" #include "ui_flightmode.h"
#include "helpers.h" #include "helpers.h"

View file

@ -1,5 +1,25 @@
#ifndef FLIGHTMODES_H /*
#define FLIGHTMODES_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _FLIGHTMODES_H_
#define _FLIGHTMODES_H_
#include "modeledit.h" #include "modeledit.h"
#include "eeprominterface.h" #include "eeprominterface.h"
@ -82,5 +102,5 @@ class FlightModesPanel : public ModelPanel
}; };
#endif // FLIGHTMODES_H #endif // _FLIGHTMODES_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "heli.h" #include "heli.h"
#include "ui_heli.h" #include "ui_heli.h"
#include "helpers.h" #include "helpers.h"

View file

@ -1,5 +1,25 @@
#ifndef HELI_H /*
#define HELI_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _HELI_H_
#define _HELI_H_
#include "modeledit.h" #include "modeledit.h"
@ -23,4 +43,4 @@ class HeliPanel : public ModelPanel
Ui::Heli *ui; Ui::Heli *ui;
}; };
#endif // HELI_H #endif // _HELI_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "inputs.h" #include "inputs.h"
#include "expodialog.h" #include "expodialog.h"
#include "helpers.h" #include "helpers.h"

View file

@ -1,5 +1,25 @@
#ifndef INPUTS_H /*
#define INPUTS_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _INPUTS_H_
#define _INPUTS_H_
#include "modeledit.h" #include "modeledit.h"
#include "mixerslist.h" #include "mixerslist.h"
@ -52,4 +72,4 @@ class InputsPanel : public ModelPanel
}; };
#endif // INPUTS_H #endif // _INPUTS_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "logicalswitches.h" #include "logicalswitches.h"
#include "helpers.h" #include "helpers.h"

View file

@ -1,5 +1,25 @@
#ifndef CUSTOMSWITCHES_H /*
#define CUSTOMSWITCHES_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _LOGICALSWITCHES_H_
#define _LOGICALSWITCHES_H_
#include "modeledit.h" #include "modeledit.h"
#include "eeprominterface.h" #include "eeprominterface.h"
@ -48,4 +68,4 @@ class LogicalSwitchesPanel : public ModelPanel
}; };
#endif // CUSTOMSWITCHES_H #endif // _LOGICALSWITCHES_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "mixerdialog.h" #include "mixerdialog.h"
#include "ui_mixerdialog.h" #include "ui_mixerdialog.h"
#include "eeprominterface.h" #include "eeprominterface.h"

View file

@ -1,5 +1,25 @@
#ifndef MIXERDIALOG_H /*
#define MIXERDIALOG_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _MIXERDIALOG_H_
#define _MIXERDIALOG_H_
#include <QtWidgets> #include <QtWidgets>
#include "eeprominterface.h" #include "eeprominterface.h"
@ -36,4 +56,4 @@ class MixerDialog : public QDialog {
CurveGroup * curveGroup; CurveGroup * curveGroup;
}; };
#endif // MIXERDIALOG_H #endif // _MIXERDIALOG_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "mixerslist.h" #include "mixerslist.h"
MixersList::MixersList(QWidget *parent, bool expo) : MixersList::MixersList(QWidget *parent, bool expo) :

View file

@ -1,5 +1,25 @@
#ifndef MIXERSLIST_H /*
#define MIXERSLIST_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _MIXERSLIST_H_
#define _MIXERSLIST_H_
#include <QtWidgets> #include <QtWidgets>
@ -50,4 +70,4 @@ class MixersDelegate : public QStyledItemDelegate
}; };
#endif // MIXERSLIST_H #endif // _MIXERSLIST_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "mixes.h" #include "mixes.h"
#include "helpers.h" #include "helpers.h"

View file

@ -1,5 +1,25 @@
#ifndef MIXES_H /*
#define MIXES_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _MIXES_H_
#define _MIXES_H_
#include "modeledit.h" #include "modeledit.h"
#include "mixerslist.h" #include "mixerslist.h"
@ -59,4 +79,4 @@ class MixesPanel : public ModelPanel
QString getMixerText(int dest, bool * new_ch); QString getMixerText(int dest, bool * new_ch);
}; };
#endif // MIXES_H #endif // _MIXES_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "modeledit.h" #include "modeledit.h"
#include "../helpers.h" #include "../helpers.h"
#include "ui_modeledit.h" #include "ui_modeledit.h"

View file

@ -1,5 +1,25 @@
#ifndef MODELEDIT_H /*
#define MODELEDIT_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _MODELEDIT_H_
#define _MODELEDIT_H_
#include <QtWidgets> #include <QtWidgets>
#include "genericpanel.h" #include "genericpanel.h"
@ -51,4 +71,4 @@ class ModelEdit : public QDialog
}; };
#endif // MODELEDIT_H #endif // _MODELEDIT_H_

View file

@ -1,44 +1,23 @@
/**************************************************************************** /*
** * Copyright (C) OpenTX
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). *
** All rights reserved. * Based on code named
** Contact: Nokia Corporation (qt-info@nokia.com) * th9x - http://code.google.com/p/th9x
** * er9x - http://code.google.com/p/er9x
** This file is part of the examples of the Qt Toolkit. * gruvin9x - http://code.google.com/p/gruvin9x
** *
** $QT_BEGIN_LICENSE:LGPL$ * License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
** Commercial Usage *
** Licensees holding valid Qt Commercial licenses may use this file in * This program is free software; you can redistribute it and/or modify
** accordance with the Qt Commercial License Agreement provided with the * it under the terms of the GNU General Public License version 2 as
** Software or, alternatively, in accordance with the terms contained in * published by the Free Software Foundation.
** a written agreement between you and Nokia. *
** * This program is distributed in the hope that it will be useful,
** GNU Lesser General Public License Usage * but WITHOUT ANY WARRANTY; without even the implied warranty of
** Alternatively, this file may be used under the terms of the GNU Lesser * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** General Public License version 2.1 as published by the Free Software * GNU General Public License for more details.
** Foundation and appearing in the file LICENSE.LGPL included in the */
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QGraphicsScene> #include <QGraphicsScene>
#include <QGraphicsSceneMouseEvent> #include <QGraphicsSceneMouseEvent>
#include <QPainter> #include <QPainter>

View file

@ -1,46 +1,25 @@
/**************************************************************************** /*
** * Copyright (C) OpenTX
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). *
** All rights reserved. * Based on code named
** Contact: Nokia Corporation (qt-info@nokia.com) * th9x - http://code.google.com/p/th9x
** * er9x - http://code.google.com/p/er9x
** This file is part of the examples of the Qt Toolkit. * gruvin9x - http://code.google.com/p/gruvin9x
** *
** $QT_BEGIN_LICENSE:LGPL$ * License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
** Commercial Usage *
** Licensees holding valid Qt Commercial licenses may use this file in * This program is free software; you can redistribute it and/or modify
** accordance with the Qt Commercial License Agreement provided with the * it under the terms of the GNU General Public License version 2 as
** Software or, alternatively, in accordance with the terms contained in * published by the Free Software Foundation.
** a written agreement between you and Nokia. *
** * This program is distributed in the hope that it will be useful,
** GNU Lesser General Public License Usage * but WITHOUT ANY WARRANTY; without even the implied warranty of
** Alternatively, this file may be used under the terms of the GNU Lesser * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** General Public License version 2.1 as published by the Free Software * GNU General Public License for more details.
** Foundation and appearing in the file LICENSE.LGPL included in the */
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements #ifndef _NODE_H_
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. #define _NODE_H_
**
** In addition, as a special exception, Nokia gives you certain additional
** rights. These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3.0 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU General Public License version 3.0 requirements will be
** met: http://www.gnu.org/copyleft/gpl.html.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef NODE_H
#define NODE_H
#include <QtWidgets> #include <QtWidgets>
@ -109,4 +88,4 @@ class Node : public QGraphicsObject
QColor nodecolor; QColor nodecolor;
}; };
#endif #endif // _NODE_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "setup.h" #include "setup.h"
#include "ui_setup.h" #include "ui_setup.h"
#include "ui_setup_timer.h" #include "ui_setup_timer.h"

View file

@ -1,5 +1,25 @@
#ifndef SETUP_H /*
#define SETUP_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _SETUP_H_
#define _SETUP_H_
#include "modeledit.h" #include "modeledit.h"
#include "eeprominterface.h" #include "eeprominterface.h"
@ -123,4 +143,4 @@ class SetupPanel : public ModelPanel
void populateThrottleSourceCB(); void populateThrottleSourceCB();
}; };
#endif // SETUP_H #endif // _SETUP_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "telemetry.h" #include "telemetry.h"
#include "ui_telemetry.h" #include "ui_telemetry.h"
#include "ui_telemetry_analog.h" #include "ui_telemetry_analog.h"

View file

@ -1,5 +1,25 @@
#ifndef TELEMETRY_H /*
#define TELEMETRY_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _TELEMETRY_H_
#define _TELEMETRY_H_
#include "modeledit.h" #include "modeledit.h"
#include "eeprominterface.h" #include "eeprominterface.h"
@ -143,4 +163,4 @@ class TelemetryPanel : public ModelPanel
void populateVarioSource(); void populateVarioSource();
}; };
#endif // TELEMETRY_H #endif // _TELEMETRY_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "templates.h" #include "templates.h"
#define CHANNEL_ORDER(x) generalSettings.getDefaultStick(x) #define CHANNEL_ORDER(x) generalSettings.getDefaultStick(x)

View file

@ -1,5 +1,25 @@
#ifndef TEMPLATES_H /*
#define TEMPLATES_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _TEMPLATES_H_
#define _TEMPLATES_H_
#include <QtWidgets> #include <QtWidgets>
#include "eeprominterface.h" #include "eeprominterface.h"
@ -20,4 +40,4 @@ class Templates : public QWidget
ModelData & model; ModelData & model;
}; };
#endif // TEMPLATES_H #endif // _TEMPLATES_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "helpers.h" #include "helpers.h"
#include "modelprinter.h" #include "modelprinter.h"
#include <QPainter> #include <QPainter>

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _MODELPRINTER_H_ #ifndef _MODELPRINTER_H_
#define _MODELPRINTER_H_ #define _MODELPRINTER_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "modelslist.h" #include "modelslist.h"
#include "mdichild.h" #include "mdichild.h"
#include "helpers.h" #include "helpers.h"

View file

@ -1,5 +1,25 @@
#ifndef MODELSLIST_H /*
#define MODELSLIST_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _MODELSLIST_H_
#define _MODELSLIST_H_
#include <QtWidgets> #include <QtWidgets>
#include "eeprominterface.h" #include "eeprominterface.h"
@ -66,4 +86,4 @@ private:
}; };
#endif #endif // _MODELSLIST_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "helpers.h" #include "helpers.h"
#include "helpers_html.h" #include "helpers_html.h"
#include "multimodelprinter.h" #include "multimodelprinter.h"

View file

@ -1,5 +1,25 @@
#ifndef _MULTIMODELPRINTER_H /*
#define _MULTIMODELPRINTER_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _MULTIMODELPRINTER_H_
#define _MULTIMODELPRINTER_H_
#include <QObject> #include <QObject>
#include <QTextDocument> #include <QTextDocument>
@ -55,4 +75,4 @@ class MultiModelPrinter: public QObject
QString printTelemetry(); QString printTelemetry();
}; };
#endif // _MULTIMODELPRINTER_H #endif // _MULTIMODELPRINTER_H_

View file

@ -1,3 +1,23 @@
/*
* Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "printdialog.h" #include "printdialog.h"
#include "ui_printdialog.h" #include "ui_printdialog.h"
#include "helpers.h" #include "helpers.h"

View file

@ -1,5 +1,25 @@
#ifndef _PRINTDIALOG_H /*
#define _PRINTDIALOG_H * Copyright (C) OpenTX
*
* Based on code named
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef _PRINTDIALOG_H_
#define _PRINTDIALOG_H_
#include <QtWidgets> #include <QtWidgets>
#include "eeprominterface.h" #include "eeprominterface.h"
@ -36,4 +56,4 @@ class PrintDialog : public QDialog
void autoClose(); void autoClose();
}; };
#endif // _PRINTDIALOG_H #endif // _PRINTDIALOG_H_

Some files were not shown because too many files have changed in this diff Show more