Ignore:
Timestamp:
May 24, 2007, 4:43:17 PM (17 years ago)
Author:
chou
Message:

Morpheo Viewer Release 4.0 :
changements graphiques .

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/include/window.h

    r26 r30  
    3939#include <qdirmodel.h>
    4040#include <qevent.h>
     41#include <qfiledialog.h>
    4142
    4243
     
    7475   
    7576  void _open(); //open a file
    76   void _open_end();
    77   void _open_error();
     77 void _open_error();
    7878
    7979  void _save(); //save a file
     
    111111  void drawPort(int x,int y,int pos,string dir); //draw the components ports
    112112  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 window
    114   void write_size(int x, int y);//write the size of the component clicked in the informations window
    115113  void write_comment(string comment);
    116   void erase_position();
    117   void erase_size();
     114  void write_type(string t);
    118115
    119116  QList <Port> port_east; //ports lists
     
    127124  QWidget *ws;
    128125  QWidget *wq;
    129   QWidget *wo;
    130126  QWidget *wa;
    131127
     
    148144  QString current_name; //name of the current file opened
    149145
    150   /*items of the parameters window*/
    151   QLineEdit *positionX; //x position
    152   QLineEdit *positionY;//y position
    153   QLineEdit *sizeX;//x size
    154   QLineEdit *sizeY;//y size
    155  
    156146  /*items of the informations window*/
    157147  QLabel *lname;//name of the component clicked
     148  QLabel *ln;
    158149  QLineEdit *comment;//comment associated with the component clicked
     150  QLabel *lt;
     151  QLabel *ltype;//type of the component
     152 
    159153  int level; //level of architecture
    160154  int mouseX; //mouse position
     
    185179  bool paint; //(re)paint or not
    186180  bool wq_open; //know if Quit/Open ( 2 windows possible)/Save window is open
    187   bool wo_open;
    188   bool ws_open;
    189181  bool wa_open;
    190182  bool quit_demand;//know if user clicked on "quit" (used for saving file before quit)
    191183  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 created
    193184  bool signalName;//show or hide signals name
    194185  bool componentName;//show or hide components name
Note: See TracChangeset for help on using the changeset viewer.