- Timestamp:
- May 24, 2007, 4:43:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/include/window.h
r26 r30 39 39 #include <qdirmodel.h> 40 40 #include <qevent.h> 41 #include <qfiledialog.h> 41 42 42 43 … … 74 75 75 76 void _open(); //open a file 76 void _open_end(); 77 void _open_error(); 77 void _open_error(); 78 78 79 79 void _save(); //save a file … … 111 111 void drawPort(int x,int y,int pos,string dir); //draw the components ports 112 112 void write_name(string name); //write the name of the component clicked name in the informations window 113 void write_position(int x, int y);//write the position of the position clicked in the informations window114 void write_size(int x, int y);//write the size of the component clicked in the informations window115 113 void write_comment(string comment); 116 void erase_position(); 117 void erase_size(); 114 void write_type(string t); 118 115 119 116 QList <Port> port_east; //ports lists … … 127 124 QWidget *ws; 128 125 QWidget *wq; 129 QWidget *wo;130 126 QWidget *wa; 131 127 … … 148 144 QString current_name; //name of the current file opened 149 145 150 /*items of the parameters window*/151 QLineEdit *positionX; //x position152 QLineEdit *positionY;//y position153 QLineEdit *sizeX;//x size154 QLineEdit *sizeY;//y size155 156 146 /*items of the informations window*/ 157 147 QLabel *lname;//name of the component clicked 148 QLabel *ln; 158 149 QLineEdit *comment;//comment associated with the component clicked 150 QLabel *lt; 151 QLabel *ltype;//type of the component 152 159 153 int level; //level of architecture 160 154 int mouseX; //mouse position … … 185 179 bool paint; //(re)paint or not 186 180 bool wq_open; //know if Quit/Open ( 2 windows possible)/Save window is open 187 bool wo_open;188 bool ws_open;189 181 bool wa_open; 190 182 bool quit_demand;//know if user clicked on "quit" (used for saving file before quit) 191 183 bool file_open;//know if a file is still open (used if user wants to open another file) 192 bool is_parse;//know is the base has been created193 184 bool signalName;//show or hide signals name 194 185 bool componentName;//show or hide components name
Note: See TracChangeset
for help on using the changeset viewer.