Changeset 21 for trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_main_window.cpp
- Timestamp:
- May 9, 2007, 7:52:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_main_window.cpp
r20 r21 12 12 is_parse = false; 13 13 window_height = 620; 14 window_width = 6 00;15 margeX = 50;16 m argeY = 70;17 14 window_width = 620; 15 charg_open = false; 16 mess_open = false; 17 18 18 /*menu bar*/ 19 19 QMenuBar *menu_bar = new QMenuBar(this); … … 78 78 connect(paramAct,SIGNAL(triggered()),this,SLOT(_parameters())); 79 79 80 81 QAction *compoNameAct; 82 compoNameAct = new QAction(tr("&components name"),this); 83 connect(compoNameAct,SIGNAL(triggered()),this,SLOT(_component_name())); 84 85 QAction *signalNameAct; 86 signalNameAct = new QAction(tr("&signals name"),this); 87 connect(signalNameAct,SIGNAL(triggered()),this,SLOT(_signal_name())); 88 80 89 /*add the menu "tools" to the menu bar*/ 81 90 tools = menu_bar->addMenu(tr("&Tools")); 82 tools->addAction(zoomInAct); 83 tools->addAction(zoomOutAct); 84 tools->addAction(defautZoomAct); 85 tools->addAction(levelAct); 91 //tools->addAction(zoomInAct); 92 //tools->addAction(zoomOutAct); 93 //tools->addAction(defautZoomAct); 94 tools->addAction(compoNameAct); 95 tools->addAction(signalNameAct); 96 //tools->addAction(levelAct); 86 97 tools->addAction(infoAct); 87 98 tools->addAction(paramAct); … … 96 107 help->addAction(aboutAct); 97 108 98 99 109 /*add the menu bar to the main window*/ 100 110 this->setMenuWidget(menu_bar); … … 108 118 109 119 /*defaut position*/ 110 this->move( 0,0);120 this->move(50,50); 111 121 112 122 /*main window title*/ … … 130 140 wa_open = false; 131 141 142 signalName = true; 143 componentName = true; 144 132 145 /*file unsaved at init*/ 133 146 save_as = false;
Note: See TracChangeset
for help on using the changeset viewer.