1
0
mirror of git://projects.qi-hardware.com/nn-usb-fpga.git synced 2025-04-21 12:27:27 +03:00

Adding bases to the code generator. Code text edit, fixing input/output ID control, etc.

This commit is contained in:
Juan64Bits
2010-11-20 16:19:34 -05:00
parent 9d578912b7
commit 2efe106cf3
29 changed files with 531 additions and 157 deletions

View File

@@ -50,6 +50,7 @@
#include "diagramtextitem.h"
#include "lineitem.h"
#include "arrow.h"
#include <QtGui>
class DiagramScene;
@@ -80,6 +81,9 @@ public:
{ return QDir::currentPath();}
void saveIfNeeded();
void updateProt();
QStatusBar *statusBar;
private slots:
void deleteItem();
@@ -97,6 +101,7 @@ private:
void createActions();
void createMenus();
void createToolbars();
QWidget *createToolButton(int ID, QString type,QIcon icon);
DiagramScene *scene;
@@ -126,6 +131,14 @@ private:
QButtonGroup *buttonGroup;
QLabel * headerLabel;
QTextEdit * headerTextEdit;
QLabel * prototypeLabel;
QTextEdit * blockTextEdit;
QLabel * extraLabel;
QTextEdit * extraTextEdit;
int selectedButton;
QString myFilePath;