Global Functions now integrated inside Companion - Fixes #502
This commit is contained in:
@@ -2,12 +2,21 @@
|
||||
#define MODELEDIT_H
|
||||
|
||||
#include <QDialog>
|
||||
#include "modelpanel.h"
|
||||
#include "helpers.h"
|
||||
|
||||
namespace Ui {
|
||||
class ModelEdit;
|
||||
class ModelEdit;
|
||||
}
|
||||
|
||||
class ModelPanel : public GenericPanel
|
||||
{
|
||||
public:
|
||||
ModelPanel(QWidget *parent, ModelData & model, GeneralSettings & generalSettings, FirmwareInterface * firmware):
|
||||
GenericPanel(parent, &model, generalSettings, firmware)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
class ModelEdit : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -33,9 +42,9 @@ class ModelEdit : public QDialog
|
||||
ModelData & model;
|
||||
GeneralSettings & generalSettings;
|
||||
FirmwareInterface * firmware;
|
||||
QVector<ModelPanel *> panels;
|
||||
QVector<GenericPanel *> panels;
|
||||
|
||||
void addTab(ModelPanel *panel, QString text);
|
||||
void addTab(GenericPanel *panel, QString text);
|
||||
void launchSimulation();
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user