Global Functions now integrated inside Companion - Fixes #502

This commit is contained in:
bsongis
2014-09-18 15:32:55 +02:00
parent 343e395652
commit ef7bbea285
45 changed files with 685 additions and 687 deletions
+13 -4
View File
@@ -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();
};