-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
310 changed files
with
77,833 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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><html><head/><body><p><span style=" font-weight:600;">SpineCreator</span></p><p>(C) Alex Cope and Paul Richmond 2013 </p><p>Includes QCustomPlot for graphing </p><p>(C) Emanuel Eichhammer </p><p>This software is licensed under the GNU General Public License (GPL) v3</p></body></html></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> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.