Commit graph

108 commits

Author SHA1 Message Date
dfighter1985
a96eb529e5 Save expression. 2014-09-17 15:47:49 +02:00
dfighter1985
ec657d4207 Expression can now be built. 2014-09-17 15:31:54 +02:00
dfighter1985
1e1a86a4c1 A root node can now be set. The root node is where the evaluation will start. 2014-09-17 14:41:57 +02:00
dfighter1985
8e0bd853ab Added sample expression files. 2014-09-16 15:54:53 +02:00
dfighter1985
045fa34e43 When changing the value of a node, change the size the node if needed. 2014-09-16 15:31:06 +02:00
dfighter1985
83b6e2a18b Allow to set and change values of value nodes. 2014-09-16 15:15:31 +02:00
dfighter1985
754393064d Only allow variable nodes to have their number of slots changed. 2014-09-16 03:45:26 +02:00
dfighter1985
d027afbaeb Set the number of slots and their names from the data loaded from XMLs. 2014-09-16 03:38:21 +02:00
dfighter1985
48b46dcc8c Parse expression files, and build the expression tree from the expressions parsed from these files. 2014-09-16 02:32:10 +02:00
dfighter1985
580ded1bd4 Slot count can now be changed. 2014-09-15 01:25:01 +02:00
dfighter1985
29176b7bc6 Expression Editor is now a QMainWindow subclass. Also added an expression tree, with some sample nodes. 2014-09-14 21:00:40 +02:00
dfighter1985
4f79371896 Show the node names as title, in the link dialog. 2014-09-14 17:19:11 +02:00
dfighter1985
171e383b14 Add serial number to nodes. 2014-09-14 17:04:42 +02:00
dfighter1985
035f824a93 Allow painting of arbitrary number of connection slots. 2014-09-14 16:57:56 +02:00
dfighter1985
4a923a0dc7 A little refactoring. 2014-09-14 16:43:45 +02:00
dfighter1985
97e2b3d1e4 Support for adding nodes with different slot count. 2014-09-14 16:37:17 +02:00
dfighter1985
1df2e53239 Added unlinking support. 2014-09-14 15:36:41 +02:00
dfighter1985
13b41d2fa6 Improved linking 2014-09-14 15:15:20 +02:00
dfighter1985
7f178d6c86 There are more than 1 slots available now. 2014-09-13 23:54:25 +02:00
dfighter1985
61b3f60e47 More refactoring. 2014-09-13 22:54:50 +02:00
dfighter1985
ab163ff063 More refactoring. 2014-09-13 22:39:00 +02:00
dfighter1985
e9515a4ee0 Refactoring 2014-09-13 22:31:48 +02:00
dfighter1985
4591673dfe Connection slots are now managed by their own object, and linking is now done to their positions. 2014-09-13 22:26:11 +02:00
dfighter1985
ab7c580ce7 Paint the connection text, boxes separately. 2014-09-13 21:34:47 +02:00
dfighter1985
8da5ba9296 Add a little style. 2014-09-13 18:03:02 +02:00
dfighter1985
69f89d4c74 Throw an error message when trying to link nodes that are already linked. 2014-09-13 00:54:37 +02:00
dfighter1985
4b7e1c95a6 Link nodes and remove and delete the link too when deleting one of the nodes. 2014-09-13 00:43:00 +02:00
dfighter1985
7c0bbf71f9 Subclassed QGraphicsItem and QGraphicsItemLine. 2014-09-12 23:45:57 +02:00
dfighter1985
d905a2f237 Added link action. 2014-09-12 21:01:29 +02:00
dfighter1985
dc76072a90 We can select multiple items 2014-09-12 19:47:28 +02:00
dfighter1985
b0553f8918 Added GUI for expression editor. 2014-09-12 19:19:51 +02:00
dfighter1985
32a085fb33 Merged default. 2014-09-10 20:18:00 +02:00
dfighter1985
d5d14619b0 Offer to save changes when closing a dialog. 2014-09-10 19:59:38 +02:00
dfighter1985
8394ce3796 When closing a dialog, remove it from the docked dialogs, and delete it. 2014-09-10 19:52:35 +02:00
dfighter1985
c8c28a8d90 Allow editing of the comment section, and save comments when saving. 2014-09-10 19:14:26 +02:00
dfighter1985
5392096bb5 Raise the widget after adding. 2014-09-10 18:50:07 +02:00
dfighter1985
f6650c9c5c WTF? 2014-09-10 18:49:34 +02:00
dfighter1985
bc057ebc20 oups 2014-09-10 18:04:55 +02:00
dfighter1985
eaffda3549 Use a file browser for setting files. 2014-09-10 17:59:22 +02:00
dfighter1985
4a5016c055 A little refactoring 2014-09-10 17:02:51 +02:00
dfighter1985
8add268df1 Store the filename only in the Dfn value. 2014-09-10 16:44:49 +02:00
dfighter1985
403df9d1ed Properly support color types. 2014-09-10 16:22:08 +02:00
nimetu
ea266910b2 Fix #199 Studio object viewer plugin font 2014-09-10 12:19:11 +02:00
botanic
f3fea6941a fix windows warnings in sync 2014-09-09 17:20:23 -07:00
dfighter1985
05b5728d41 Create vstruct node when needed. 2014-09-10 00:36:55 +02:00
dfighter1985
8decd3cb57 Instead of storing the node, store the name and the node type. 2014-09-10 00:28:03 +02:00
dfighter1985
f9e539dbef Don't add Virtual Structs to the property browser! 2014-09-09 22:01:52 +02:00
dfighter1985
ee76b77160 Added support for Virtual Structs. 2014-09-09 21:57:30 +02:00
dfighter1985
9554a827ca Merged default. 2014-09-05 22:28:11 +02:00
dfighter1985
dbee4924b9 Get type info from DFN. 2014-09-05 21:42:14 +02:00