Ignore:
Timestamp:
May 22, 2007, 1:09:15 PM (17 years ago)
Author:
chou
Message:

Release 3 du viewer:
Etape 1 et 2 du projet complet et à jour.

File:
1 edited

Legend:

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

    r21 r26  
    9797  void _signal_name(); //show or hide the signals name
    9898
    99   void _back();
     99  void _back();//return to the previous view
     100  void _cancel_selection();
     101  void _apply();
    100102
    101103 protected :
    102   void mousePressEvent (QMouseEvent *); //mouse handler
    103  
     104  void mousePressEvent (QMouseEvent *); //mouse handler when mouse pressed
     105  void mouseMoveEvent (QMouseEvent *); //mouse handler in other case
    104106 private :
    105107  void wparameters(); // parameters window builder
     
    111113  void write_position(int x, int y);//write the position of the position clicked in the informations window
    112114  void write_size(int x, int y);//write the size of the component clicked in the informations window
    113   void write_ports(int x);//write the number of the component clicked in the informations window
     115  void write_comment(string comment);
     116  void erase_position();
     117  void erase_size();
    114118
    115119  QList <Port> port_east; //ports lists
     
    144148  QString current_name; //name of the current file opened
    145149
    146   /*items of the informations window*/
    147   QLabel *lname; //name of the component clicked
     150  /*items of the parameters window*/
    148151  QLineEdit *positionX; //x position
    149152  QLineEdit *positionY;//y position
    150153  QLineEdit *sizeX;//x size
    151154  QLineEdit *sizeY;//y size
    152   QLineEdit *nb_ports;
    153 
    154   int cpt_ports;//nb ports of component clicked
    155 
     155 
     156  /*items of the informations window*/
     157  QLabel *lname;//name of the component clicked
     158  QLineEdit *comment;//comment associated with the component clicked
     159  int level; //level of architecture
    156160  int mouseX; //mouse position
    157161  int mouseY;
     
    167171  int tailleX;
    168172  int tailleY;
     173
     174  int cpt_level;
     175  QString tab[50];
    169176
    170177  QString father;//father name
     
    188195  bool charg_open;//back chargement message box opened or not
    189196  bool mess_open;//chargment message box opened or not
     197  bool component_clicked;//if user clicked on a component to modify its parameters
     198
    190199
    191200};
Note: See TracChangeset for help on using the changeset viewer.