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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user