Bsongis/horus create radiodata from scratch (#4251)
[Companion] It's now possible to add models on an empty EEPROM, save and reload the .otx
This commit is contained in:
@@ -21,18 +21,14 @@
|
||||
#ifndef _MDICHILD_H_
|
||||
#define _MDICHILD_H_
|
||||
|
||||
#include <QtGui>
|
||||
#include "eeprominterface.h"
|
||||
#include "modelslist.h"
|
||||
#include <QtGui>
|
||||
|
||||
namespace Ui {
|
||||
class MdiChild;
|
||||
}
|
||||
|
||||
#define ER9X_EEPROM_FILE_TYPE "ER9X_EEPROM_FILE"
|
||||
#define EEPE_EEPROM_FILE_HEADER "EEPE EEPROM FILE"
|
||||
#define EEPE_MODEL_FILE_HEADER "EEPE MODEL FILE"
|
||||
|
||||
class MdiChild : public QWidget
|
||||
{
|
||||
friend class ModelsListWidget;
|
||||
@@ -74,6 +70,7 @@ class MdiChild : public QWidget
|
||||
void showModelsListContextMenu(const QPoint & pos);
|
||||
void checkAndInitModel(int row);
|
||||
void generalEdit();
|
||||
void modelAdd();
|
||||
void modelEdit();
|
||||
void wizardEdit();
|
||||
void openModelEditWindow();
|
||||
@@ -94,7 +91,6 @@ class MdiChild : public QWidget
|
||||
private:
|
||||
bool maybeSave();
|
||||
void setCurrentFile(const QString & fileName);
|
||||
bool loadOtxFile(const QString & fileName);
|
||||
void doCopy(QByteArray * gmData);
|
||||
void doPaste(QByteArray * gmData, int index);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user