Skip to content

Commit

Permalink
initial commit from unfuddle svn
Browse files Browse the repository at this point in the history
  • Loading branch information
ajc158 committed Oct 29, 2013
1 parent 4a7bb7a commit 437f468
Show file tree
Hide file tree
Showing 310 changed files with 77,833 additions and 0 deletions.
66 changes: 66 additions & 0 deletions NineML_structs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#ifndef NINEML_STRUCTS_H
#define NINEML_STRUCTS_H

#include <vector>
#include <string>

using namespace std;

struct NineMLDimension {
int m;
int l;
int t;
int E;
int c;
};

struct NineMLVariable {
string name;
NineMLDimension dims;
};

struct NineMLDifferentialEquation {
string equation;
int state_var_num;
};

struct equation {
string equation;
int param_num;
};

struct assign {
string equation;
int state_var_num;
};

struct condition {
string equation;
int param_num;
};

struct eventOut {
int port;
float data; // redo this - it isn't right
};

struct onEvent {
// fill me
int temp_val;
};

struct transition {
int srcRegime;
int targRegime;
vector <assign > assignList;

};

struct regime {
vector < NineMLDifferentialEquation > deList;
vector < condition > condList;
vector < onEvent > eventList;
int state_var_num;
};

#endif // NINEML_STRUCTS_H
Binary file added POP.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added SYS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Spineml_logo_large.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions aboutdialog.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#include "aboutdialog.h"
#include "ui_aboutdialog.h"

AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::AboutDialog)
{
ui->setupUi(this);
}

AboutDialog::~AboutDialog()
{
delete ui;
}
22 changes: 22 additions & 0 deletions aboutdialog.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#ifndef ABOUTDIALOG_H
#define ABOUTDIALOG_H

#include <QDialog>

namespace Ui {
class AboutDialog;
}

class AboutDialog : public QDialog
{
Q_OBJECT

public:
explicit AboutDialog(QWidget *parent = 0);
~AboutDialog();

private:
Ui::AboutDialog *ui;
};

#endif // ABOUTDIALOG_H
127 changes: 127 additions & 0 deletions aboutdialog.ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>AboutDialog</class>
<widget class="QDialog" name="AboutDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>335</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>400</width>
<height>335</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>400</width>
<height>335</height>
</size>
</property>
<property name="windowTitle">
<string>About SpineCreator</string>
</property>
<property name="windowIcon">
<iconset resource="icons.qrc">
<normaloff>:/icons/toolbar/icons/nrnico.png</normaloff>:/icons/toolbar/icons/nrnico.png</iconset>
</property>
<property name="styleSheet">
<string notr="true">background: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:1, stop:0.1 rgba(200, 200, 250, 255), stop:0.555 rgba(150, 150, 250, 255), stop:0.565 rgba(130, 130, 250 255), stop:1 rgba(120, 120, 250, 255), stop:0 rgba(255,255,255,255))</string>
</property>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry">
<rect>
<x>40</x>
<y>300</y>
<width>341</width>
<height>32</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Ok</set>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>50</x>
<y>0</y>
<width>301</width>
<height>151</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background: rgba(0,0,0,0)</string>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="icons.qrc">:/icons/toolbar/Spineml_logo_large.png</pixmap>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>65</x>
<y>150</y>
<width>291</width>
<height>151</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background: transparent; color: white</string>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;SpineCreator&lt;/span&gt;&lt;/p&gt;&lt;p&gt;(C) Alex Cope and Paul Richmond 2013 &lt;/p&gt;&lt;p&gt;Includes QCustomPlot for graphing &lt;/p&gt;&lt;p&gt;(C) Emanuel Eichhammer &lt;/p&gt;&lt;p&gt;This software is licensed under the GNU General Public License (GPL) v3&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</widget>
<resources>
<include location="icons.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>AboutDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>AboutDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>
Binary file added acptShad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added addShad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 437f468

Please sign in to comment.