38 fileNew =
new QAction(QIcon((
":/bitmaps/filenew.png")), tr(
"&New"),
this);
39 fileNew->setShortcut(Qt::CTRL+Qt::Key_N);
40 fileNew->setStatusTip(tr(
"Creates a new document"));
42 tr(
"New\n\nCreates a new schematic or data display document"));
45 textNew =
new QAction(QIcon((
":/bitmaps/textnew.png")), tr(
"New &Text"),
this);
46 textNew->setShortcut(Qt::CTRL+Qt::SHIFT+Qt::Key_V);
47 textNew->setStatusTip(tr(
"Creates a new text document"));
48 textNew->setWhatsThis(tr(
"New Text\n\nCreates a new text document"));
51 fileOpen =
new QAction(QIcon((
":/bitmaps/fileopen.png")), tr(
"&Open..."),
this);
52 fileOpen->setShortcut(Qt::CTRL+Qt::Key_O);
53 fileOpen->setStatusTip(tr(
"Opens an existing document"));
54 fileOpen->setWhatsThis(tr(
"Open File\n\nOpens an existing document"));
57 fileSave =
new QAction(QIcon((
":/bitmaps/filesave.png")), tr(
"&Save"),
this);
58 fileSave->setShortcut(Qt::CTRL+Qt::Key_S);
59 fileSave->setStatusTip(tr(
"Saves the current document"));
60 fileSave->setWhatsThis(tr(
"Save File\n\nSaves the current document"));
63 fileSaveAs =
new QAction(tr(
"Save as..."),
this);
64 fileSaveAs->setShortcut(Qt::CTRL+Qt::Key_Minus);
66 tr(
"Saves the current document under a new filename"));
68 tr(
"Save As\n\nSaves the current document under a new filename"));
71 fileSaveAll =
new QAction(QIcon((
":/bitmaps/filesaveall.png")), tr(
"Save &All"),
this);
73 fileSaveAll->setStatusTip(tr(
"Saves all open documents"));
74 fileSaveAll->setWhatsThis(tr(
"Save All Files\n\nSaves all open documents"));
77 fileClose =
new QAction(QIcon((
":/bitmaps/fileclose.png")), tr(
"&Close"),
this);
78 fileClose->setShortcut(Qt::CTRL+Qt::Key_W);
79 fileClose->setStatusTip(tr(
"Closes the current document"));
80 fileClose->setWhatsThis(tr(
"Close File\n\nCloses the current document"));
84 fileExamples->setStatusTip(tr(
"Opens a file explorer with example documents"));
86 tr(
"Examples\n\nOpens a file explorer with example documents"));
90 symEdit =
new QAction(tr(
"&Edit Circuit Symbol"),
this);
91 symEdit->setShortcut(Qt::Key_F9);
92 symEdit->setStatusTip(tr(
"Edits the symbol for this schematic"));
94 tr(
"Edit Circuit Symbol\n\nEdits the symbol for this schematic"));
97 fileSettings =
new QAction(tr(
"&Document Settings..."),
this);
100 fileSettings->setWhatsThis(tr(
"Settings\n\nSets properties of the file"));
103 filePrint =
new QAction(QIcon((
":/bitmaps/fileprint.png")), tr(
"&Print..."),
this);
104 filePrint->setShortcut(Qt::CTRL+Qt::Key_P);
105 filePrint->setStatusTip(tr(
"Prints the current document"));
106 filePrint->setWhatsThis(tr(
"Print File\n\nPrints the current document"));
109 filePrintFit =
new QAction(tr(
"Print Fit to Page..."),
this);
110 filePrintFit->setShortcut(Qt::CTRL+Qt::SHIFT+Qt::Key_P);
113 tr(
"Print Fit to Page\n\n"
114 "Print and fit content to the page size"));
117 fileQuit =
new QAction(tr(
"E&xit"),
this);
118 fileQuit->setShortcut(Qt::CTRL+Qt::Key_Q);
119 fileQuit->setStatusTip(tr(
"Quits the application"));
120 fileQuit->setWhatsThis(tr(
"Exit\n\nQuits the application"));
123 applSettings =
new QAction(tr(
"Application Settings..."),
this);
127 tr(
"Qucs Settings\n\nSets properties of the application"));
134 tr(
"Refresh Path\n\nRechecks the list of paths for subcircuit files."));
137 alignTop =
new QAction(tr(
"Align top"),
this);
138 alignTop->setShortcut(Qt::CTRL+Qt::Key_T);
139 alignTop->setStatusTip(tr(
"Align top selected elements"));
141 tr(
"Align top\n\nAlign selected elements to their upper edge"));
144 alignBottom =
new QAction(tr(
"Align bottom"),
this);
145 alignBottom->setStatusTip(tr(
"Align bottom selected elements"));
147 tr(
"Align bottom\n\nAlign selected elements to their lower edge"));
150 alignLeft =
new QAction(tr(
"Align left"),
this);
151 alignLeft->setStatusTip(tr(
"Align left selected elements"));
153 tr(
"Align left\n\nAlign selected elements to their left edge"));
156 alignRight =
new QAction(tr(
"Align right"),
this);
157 alignRight->setStatusTip(tr(
"Align right selected elements"));
159 tr(
"Align right\n\nAlign selected elements to their right edge"));
162 distrHor =
new QAction(tr(
"Distribute horizontally"),
this);
163 distrHor->setStatusTip(tr(
"Distribute equally horizontally"));
165 tr(
"Distribute horizontally\n\n"
166 "Distribute horizontally selected elements"));
169 distrVert =
new QAction(tr(
"Distribute vertically"),
this);
170 distrVert->setStatusTip(tr(
"Distribute equally vertically"));
172 tr(
"Distribute vertically\n\n"
173 "Distribute vertically selected elements"));
176 centerHor =
new QAction(tr(
"Center horizontally"),
this);
177 centerHor->setStatusTip(tr(
"Center horizontally selected elements"));
179 tr(
"Center horizontally\n\nCenter horizontally selected elements"));
182 centerVert =
new QAction(tr(
"Center vertically"),
this);
183 centerVert->setStatusTip(tr(
"Center vertically selected elements"));
185 tr(
"Center vertically\n\nCenter vertically selected elements"));
188 onGrid =
new QAction(tr(
"Set on Grid"),
this);
189 onGrid->setShortcut(Qt::CTRL+Qt::Key_U);
190 onGrid->setStatusTip(tr(
"Sets selected elements on grid"));
192 tr(
"Set on Grid\n\nSets selected elements on grid"));
193 onGrid->setToggleAction(
true);
196 moveText =
new QAction(tr(
"Move Component Text"),
this);
197 moveText->setShortcut(Qt::CTRL+Qt::Key_K);
198 moveText->setStatusTip(tr(
"Moves the property text of components"));
200 tr(
"Move Component Text\n\nMoves the property text of components"));
206 changeProps->setStatusTip(tr(
"Replace component properties or VHDL code"));
208 tr(
"Replace\n\nChange component properties\nor\ntext in VHDL code"));
211 editCut =
new QAction(QIcon((
":/bitmaps/editcut.png")), tr(
"Cu&t"),
this);
212 editCut->setShortcut(Qt::CTRL+Qt::Key_X);
214 tr(
"Cuts out the selection and puts it into the clipboard"));
216 tr(
"Cut\n\nCuts out the selection and puts it into the clipboard"));
219 editCopy =
new QAction(QIcon((
":/bitmaps/editcopy.png")), tr(
"&Copy"),
this);
220 editCopy->setShortcut(Qt::CTRL+Qt::Key_C);
222 tr(
"Copies the selection into the clipboard"));
224 tr(
"Copy\n\nCopies the selection into the clipboard"));
227 editPaste =
new QAction(QIcon((
":/bitmaps/editpaste.png")), tr(
"&Paste"),
this);
228 editPaste->setShortcut(Qt::CTRL+Qt::Key_V);
230 tr(
"Pastes the clipboard contents to the cursor position"));
232 tr(
"Paste\n\nPastes the clipboard contents to the cursor position"));
236 editDelete =
new QAction(QIcon((
":/bitmaps/editdelete.png")), tr(
"&Delete"),
this);
238 editDelete->setStatusTip(tr(
"Deletes the selected components"));
239 editDelete->setWhatsThis(tr(
"Delete\n\nDeletes the selected components"));
243 editFind =
new QAction(tr(
"Find..."),
this);
244 editFind->setShortcut(Qt::CTRL+Qt::Key_F);
245 editFind->setStatusTip(tr(
"Find a piece of text"));
246 editFind->setWhatsThis(tr(
"Find\n\nSearches for a piece of text"));
253 tr(
"Find\n\nSearches for the same piece of text again"));
265 cursorLeft =
new QShortcut(QKeySequence(Qt::Key_Left),
this);
268 cursorRight =
new QShortcut(QKeySequence(Qt::Key_Right),
this);
271 cursorUp =
new QShortcut(QKeySequence(Qt::Key_Up),
this);
274 cursorDown =
new QShortcut(QKeySequence(Qt::Key_Down),
this);
291 undo =
new QAction(QIcon((
":/bitmaps/undo.png")), tr(
"&Undo"),
this);
292 undo->setShortcut(Qt::CTRL+Qt::Key_Z);
293 undo->setStatusTip(tr(
"Undoes the last command"));
294 undo->setWhatsThis(tr(
"Undo\n\nMakes the last action undone"));
297 redo =
new QAction(QIcon((
":/bitmaps/redo.png")), tr(
"&Redo"),
this);
298 redo->setShortcut(Qt::CTRL+Qt::Key_Y);
299 redo->setStatusTip(tr(
"Redoes the last command"));
300 redo->setWhatsThis(tr(
"Redo\n\nRepeats the last action once more"));
303 projNew =
new QAction(tr(
"&New Project..."),
this);
304 projNew->setShortcut(Qt::CTRL+Qt::SHIFT+Qt::Key_N);
305 projNew->setStatusTip(tr(
"Creates a new project"));
306 projNew->setWhatsThis(tr(
"New Project\n\nCreates a new project"));
309 projOpen =
new QAction(tr(
"&Open Project..."),
this);
310 projOpen->setShortcut(Qt::CTRL+Qt::SHIFT+Qt::Key_O);
311 projOpen->setStatusTip(tr(
"Opens an existing project"));
312 projOpen->setWhatsThis(tr(
"Open Project\n\nOpens an existing project"));
315 projDel =
new QAction(tr(
"&Delete Project..."),
this);
316 projDel->setShortcut(Qt::CTRL+Qt::SHIFT+Qt::Key_D);
317 projDel->setStatusTip(tr(
"Deletes an existing project"));
318 projDel->setWhatsThis(tr(
"Delete Project\n\nDeletes an existing project"));
321 projClose =
new QAction(tr(
"&Close Project"),
this);
322 projClose->setShortcut(Qt::CTRL+Qt::SHIFT+Qt::Key_W);
323 projClose->setStatusTip(tr(
"Closes the current project"));
324 projClose->setWhatsThis(tr(
"Close Project\n\nCloses the current project"));
327 addToProj =
new QAction(tr(
"&Add Files to Project..."),
this);
328 addToProj->setShortcut(Qt::CTRL+Qt::SHIFT+Qt::Key_A);
329 addToProj->setStatusTip(tr(
"Copies files to project directory"));
331 tr(
"Add Files to Project\n\nCopies files to project directory"));
334 createLib =
new QAction(tr(
"Create &Library..."),
this);
335 createLib->setShortcut(Qt::CTRL+Qt::SHIFT+Qt::Key_L);
336 createLib->setStatusTip(tr(
"Create Library from Subcircuits"));
338 tr(
"Create Library\n\nCreate Library from Subcircuits"));
341 createPkg =
new QAction(tr(
"Create &Package..."),
this);
342 createPkg->setShortcut(Qt::CTRL+Qt::SHIFT+Qt::Key_Z);
343 createPkg->setStatusTip(tr(
"Create compressed Package from Projects"));
345 tr(
"Create Package\n\nCreate compressed Package from complete Projects"));
348 extractPkg =
new QAction(tr(
"E&xtract Package..."),
this);
349 extractPkg->setShortcut(Qt::CTRL+Qt::SHIFT+Qt::Key_X);
350 extractPkg->setStatusTip(tr(
"Install Content of a Package"));
352 tr(
"Extract Package\n\nInstall Content of a Package"));
355 importData =
new QAction(tr(
"&Import/Export Data..."),
this);
356 importData->setShortcut(Qt::CTRL+Qt::SHIFT+Qt::Key_I);
357 importData->setStatusTip(tr(
"Convert data file"));
359 tr(
"Import/Export Data\n\nConvert data file to various file formats"));
362 graph2csv =
new QAction(tr(
"Export to &CSV..."),
this);
363 graph2csv->setShortcut(Qt::CTRL+Qt::SHIFT+Qt::Key_C);
364 graph2csv->setStatusTip(tr(
"Convert graph data to CSV file"));
366 tr(
"Export to CSV\n\nConvert graph data to CSV file"));
369 buildModule =
new QAction(tr(
"Build Verilog-A module..."),
this);
370 buildModule->setStatusTip(tr(
"Run admsXml and C++ compiler"));
371 buildModule->setWhatsThis(tr(
"Build Verilog-A module\nRuns amdsXml and C++ compiler"));
374 loadModule =
new QAction(tr(
"Load Verilog-A module..."),
this);
375 loadModule->setStatusTip(tr(
"Select Verilog-A symbols to be loaded"));
376 loadModule->setWhatsThis(tr(
"Load Verilog-A module\nLet the user select and load symbols"));
379 magAll =
new QAction(QIcon((
":/bitmaps/viewmagfit.png")), tr(
"View All"),
this);
380 magAll->setShortcut(Qt::Key_0);
381 magAll->setStatusTip(tr(
"Show the whole page"));
382 magAll->setWhatsThis(tr(
"View All\n\nShows the whole page content"));
385 magOne =
new QAction(QIcon((
":/bitmaps/viewmag1.png")), tr(
"View 1:1"),
this);
386 magOne->setShortcut(Qt::Key_1);
387 magOne->setStatusTip(tr(
"Views without magnification"));
388 magOne->setWhatsThis(tr(
"View 1:1\n\nShows the page content without magnification"));
391 magPlus =
new QAction(QIcon((
":/bitmaps/viewmag+.png")), tr(
"Zoom in"),
this);
392 magPlus->setShortcut(Qt::Key_Plus);
393 magPlus->setStatusTip(tr(
"Zooms into the current view"));
394 magPlus->setWhatsThis(tr(
"Zoom in\n\nZooms the current view"));
395 magPlus->setToggleAction(
true);
398 magMinus =
new QAction(QIcon((
":/bitmaps/viewmag-.png")), tr(
"Zoom out"),
this);
399 magMinus->setShortcut(Qt::Key_Minus);
400 magMinus->setStatusTip(tr(
"Zooms out the current view"));
401 magMinus->setWhatsThis(tr(
"Zoom out\n\nZooms out the current view"));
404 QAction *escape =
new QAction(
this);
405 escape->setShortcut(Qt::Key_Escape);
406 connect(escape, SIGNAL(activated()), SLOT(
slotEscape()));
407 this->addAction(escape);
409 select =
new QAction(QIcon((
":/bitmaps/pointer.png")), tr(
"Select"),
this);
410 select->setStatusTip(tr(
"Activate select mode"));
411 select->setWhatsThis(tr(
"Select\n\nActivates select mode"));
412 select->setToggleAction(
true);
415 selectAll =
new QAction(tr(
"Select All"),
this);
416 selectAll->setShortcut(Qt::CTRL+Qt::Key_A);
417 selectAll->setStatusTip(tr(
"Selects all elements"));
419 tr(
"Select All\n\nSelects all elements of the document"));
423 selectMarker->setShortcut(Qt::CTRL+Qt::SHIFT+Qt::Key_M);
426 tr(
"Select Markers\n\nSelects all diagram markers of the document"));
429 editRotate =
new QAction(QIcon((
":/bitmaps/rotate_ccw.png")), tr(
"Rotate"),
this);
431 editRotate->setStatusTip(tr(
"Rotates the selected component by 90\x00B0"));
433 tr(
"Rotate\n\nRotates the selected component by 90\x00B0 counter-clockwise"));
437 editMirror =
new QAction(QIcon((
":/bitmaps/mirror.png")), tr(
"Mirror about X Axis"),
this);
439 editMirror->setStatusTip(tr(
"Mirrors the selected item about X Axis"));
441 tr(
"Mirror about X Axis\n\nMirrors the selected item about X Axis"));
445 editMirrorY =
new QAction(QIcon((
":/bitmaps/mirrory.png")), tr(
"Mirror about Y Axis"),
this);
447 editMirrorY->setStatusTip(tr(
"Mirrors the selected item about Y Axis"));
449 tr(
"Mirror about Y Axis\n\nMirrors the selected item about Y Axis"));
453 intoH =
new QAction(QIcon((
":/bitmaps/bottom.png")), tr(
"Go into Subcircuit"),
this);
454 intoH->setShortcut(Qt::CTRL+Qt::Key_I);
455 intoH->setStatusTip(tr(
"Goes inside the selected subcircuit"));
457 tr(
"Go into Subcircuit\n\nGoes inside the selected subcircuit"));
460 popH =
new QAction(QIcon((
":/bitmaps/top.png")), tr(
"Pop out"),
this);
461 popH->setShortcut(Qt::CTRL+Qt::Key_H);
462 popH->setStatusTip(tr(
"Pop outside subcircuit"));
464 tr(
"Pop out\n\nGoes up one hierarchy level, i.e. leaves subcircuit"));
466 popH->setEnabled(
false);
468 editActivate =
new QAction(QIcon((
":/bitmaps/deactiv.png")), tr(
"Deactivate/Activate"),
this);
470 editActivate->setStatusTip(tr(
"Deactivate/Activate selected components"));
472 tr(
"Deactivate/Activate\n\nDeactivate/Activate the selected components"));
476 insEquation =
new QAction(QIcon((
":/bitmaps/equation.png")), tr(
"Insert Equation"),
this);
478 insEquation->setStatusTip(tr(
"Inserts an equation"));
480 tr(
"Insert Equation\n\nInserts a user defined equation"));
484 insGround =
new QAction(QIcon((
":/bitmaps/ground.png")), tr(
"Insert Ground"),
this);
485 insGround->setShortcut(Qt::CTRL+Qt::Key_G);
486 insGround->setStatusTip(tr(
"Inserts a ground symbol"));
487 insGround->setWhatsThis(tr(
"Insert Ground\n\nInserts a ground symbol"));
491 insPort =
new QAction(QIcon((
":/bitmaps/port.png")), tr(
"Insert Port"),
this);
492 insPort->setStatusTip(tr(
"Inserts a port symbol"));
493 insPort->setWhatsThis(tr(
"Insert Port\n\nInserts a port symbol"));
494 insPort->setToggleAction(
true);
497 insWire =
new QAction(QIcon((
":/bitmaps/wire.png")), tr(
"Wire"),
this);
498 insWire->setShortcut(Qt::CTRL+Qt::Key_E);
499 insWire->setStatusTip(tr(
"Inserts a wire"));
500 insWire->setWhatsThis(tr(
"Wire\n\nInserts a wire"));
501 insWire->setToggleAction(
true);
504 insLabel =
new QAction(QIcon((
":/bitmaps/nodename.png")), tr(
"Wire Label"),
this);
505 insLabel->setShortcut(Qt::CTRL+Qt::Key_L);
506 insLabel->setStatusTip(tr(
"Inserts a wire or pin label"));
507 insLabel->setWhatsThis(tr(
"Wire Label\n\nInserts a wire or pin label"));
511 insEntity =
new QAction(tr(
"VHDL entity"),
this);
512 insEntity->setShortcut(Qt::CTRL+Qt::Key_Space);
513 insEntity->setStatusTip(tr(
"Inserts skeleton of VHDL entity"));
515 tr(
"VHDL entity\n\nInserts the skeleton of a VHDL entity"));
518 callEditor =
new QAction(tr(
"Text Editor"),
this);
520 callEditor->setStatusTip(tr(
"Starts the Qucs text editor"));
521 callEditor->setWhatsThis(tr(
"Text editor\n\nStarts the Qucs text editor"));
524 callFilter =
new QAction(tr(
"Filter synthesis"),
this);
526 callFilter->setStatusTip(tr(
"Starts QucsFilter"));
527 callFilter->setWhatsThis(tr(
"Filter synthesis\n\nStarts QucsFilter"));
530 callLine =
new QAction(tr(
"Line calculation"),
this);
531 callLine->setShortcut(Qt::CTRL+Qt::Key_3);
532 callLine->setStatusTip(tr(
"Starts QucsTrans"));
534 tr(
"Line calculation\n\nStarts transmission line calculator"));
537 callLib =
new QAction(tr(
"Component Library"),
this);
538 callLib->setShortcut(Qt::CTRL+Qt::Key_4);
539 callLib->setStatusTip(tr(
"Starts QucsLib"));
541 tr(
"Component Library\n\nStarts component library program"));
544 callMatch =
new QAction(tr(
"Matching Circuit"),
this);
545 callMatch->setShortcut(Qt::CTRL+Qt::Key_5);
546 callMatch->setStatusTip(tr(
"Creates Matching Circuit"));
548 tr(
"Matching Circuit\n\nDialog for Creating Matching Circuit"));
551 callAtt =
new QAction(tr(
"Attenuator synthesis"),
this);
552 callAtt->setShortcut(Qt::CTRL+Qt::Key_6);
553 callAtt->setStatusTip(tr(
"Starts QucsAttenuator"));
555 tr(
"Attenuator synthesis\n\nStarts attenuator calculation program"));
558 callRes =
new QAction(tr(
"Resistor color codes"),
this);
559 callRes->setShortcut(Qt::CTRL+Qt::Key_7);
560 callRes->setStatusTip(tr(
"Starts Qucs resistor color codes"));
562 tr(
"Resistor color codes\n\nStarts standard resistor color code computation program"));
565 simulate =
new QAction(QIcon((
":/bitmaps/gear.png")), tr(
"Simulate"),
this);
567 simulate->setStatusTip(tr(
"Simulates the current schematic"));
568 simulate->setWhatsThis(tr(
"Simulate\n\nSimulates the current schematic"));
571 dpl_sch =
new QAction(QIcon((
":/bitmaps/rebuild.png")), tr(
"View Data Display/Schematic"),
this);
572 dpl_sch->setShortcut(Qt::Key_F4);
573 dpl_sch->setStatusTip(tr(
"Changes to data display or schematic page"));
575 tr(
"View Data Display/Schematic\n\n")+
576 tr(
"Changes to data display or schematic page"));
579 dcbias =
new QAction(tr(
"Calculate DC bias"),
this);
580 dcbias->setShortcut(Qt::Key_F8);
581 dcbias->setStatusTip(tr(
"Calculates DC bias and shows it"));
583 tr(
"Calculate DC bias\n\nCalculates DC bias and shows it"));
586 setMarker =
new QAction(QIcon((
":/bitmaps/marker.png")), tr(
"Set Marker on Graph"),
this);
587 setMarker->setShortcut(Qt::CTRL+Qt::Key_B);
588 setMarker->setStatusTip(tr(
"Sets a marker on a diagram's graph"));
590 tr(
"Set Marker\n\nSets a marker on a diagram's graph"));
594 showMsg =
new QAction(tr(
"Show Last Messages"),
this);
595 showMsg->setShortcut(Qt::Key_F5);
596 showMsg->setStatusTip(tr(
"Shows last simulation messages"));
598 tr(
"Show Last Messages\n\nShows the messages of the last simulation"));
601 showNet =
new QAction(tr(
"Show Last Netlist"),
this);
602 showNet->setShortcut(Qt::Key_F6);
603 showNet->setStatusTip(tr(
"Shows last simulation netlist"));
605 tr(
"Show Last Netlist\n\nShows the netlist of the last simulation"));
610 viewToolBar->setStatusTip(tr(
"Enables/disables the toolbar"));
611 viewToolBar->setWhatsThis(tr(
"Toolbar\n\nEnables/disables the toolbar"));
616 viewStatusBar->setStatusTip(tr(
"Enables/disables the statusbar"));
618 tr(
"Statusbar\n\nEnables/disables the statusbar"));
623 viewBrowseDock->setStatusTip(tr(
"Enables/disables the browse dock window"));
625 tr(
"Browse Window\n\nEnables/disables the browse dock window"));
630 viewOctaveDock->setStatusTip(tr(
"Shows/hides the Octave dock window"));
632 tr(
"Octave Window\n\nShows/hides the Octave dock window"));
635 helpIndex =
new QAction(tr(
"Help Index..."),
this);
637 helpIndex->setStatusTip(tr(
"Index of Qucs Help"));
638 helpIndex->setWhatsThis(tr(
"Help Index\n\nIndex of intern Qucs help"));
641 helpGetStart =
new QAction(tr(
"Getting Started..."),
this);
642 helpGetStart->setStatusTip(tr(
"Getting Started with Qucs"));
644 tr(
"Getting Started\n\nShort introduction into Qucs"));
648 helpAboutApp->setStatusTip(tr(
"About the application"));
649 helpAboutApp->setWhatsThis(tr(
"About\n\nAbout the application"));
652 helpAboutQt =
new QAction(tr(
"About Qt..."),
this);
654 helpAboutQt->setWhatsThis(tr(
"About Qt\n\nAbout Qt by Trolltech"));
714 alignMenu =
new QMenu(tr(
"P&ositioning"));
731 insMenu =
new QMenu(tr(
"&Insert"));
741 projMenu =
new QMenu(tr(
"&Project"));
770 simMenu =
new QMenu(tr(
"&Simulation"));
801 if(TechnicalDir.cd(
"technical"))
805 TechnicalDir.setFilter(QDir::Files);
806 QStringList entries = TechnicalDir.entryList();
807 for(
int i=0;i<entries.size();i++)
809 QAction* helpTechnicalActions =
new QAction(entries[i],
this);
810 helpTechnicalActions->setObjectName ( entries[i] );
811 helpTechnicalActions->setStatusTip(tr(
"Open ")+entries[i]);
812 helpTechnicalActions->setWhatsThis(tr(entries[i]+
"\n\nOpen "+entries[i]));
821 if(ReportDir.cd(
"report"))
823 helpReport =
new QMenu(tr(
"Technical &Reports"));
825 ReportDir.setFilter(QDir::Files);
826 QStringList entries = ReportDir.entryList();
827 for(
int i=0;i<entries.size();i++)
829 QAction* helpReportActions =
new QAction(entries[i],
this);
830 helpReportActions->setObjectName ( entries[i] );
831 helpReportActions->setStatusTip(tr(
"Open ")+entries[i]);
832 helpReportActions->setWhatsThis(tr(entries[i]+
"\n\nOpen "+entries[i]));
833 connect(helpReportActions, SIGNAL(activated()), SLOT(
slotHelpReport()));
840 if(TutorialDir.cd(
"tutorial"))
844 TutorialDir.setFilter(QDir::Files);
845 QStringList entries = TutorialDir.entryList();
846 for(
int i=0;i<entries.size();i++)
848 QAction* helpTutorialActions =
new QAction(entries[i],
this);
849 helpTutorialActions->setObjectName ( entries[i] );
850 helpTutorialActions->setStatusTip(tr(
"Open ")+entries[i]);
851 helpTutorialActions->setWhatsThis(tr(entries[i]+
"\n\nOpen "+entries[i]));
852 connect(helpTutorialActions, SIGNAL(activated()), SLOT(
slotHelpTutorial()));
871 menuBar()->insertSeparator();
935 WarningLabel =
new QLabel(tr(
"no warnings"), statusBar());
942 statusBar()->message(tr(
"Ready."), 2000);
948 static int ResultState = 0;
950 if(ResultState == 0) {
952 f.setWeight(QFont::DemiBold);
954 WarningLabel->setText(tr(
"Warnings in last simulation! Press F5"));
973 f.setWeight(QFont::Normal);
982 PositionLabel->setText(QString::number(x)+
" : "+QString::number(y));
990 if (toggle==
false) {
1008 if (toggle ==
false)
1009 statusBar()->hide();
1011 statusBar()->show();
1018 if (toggle ==
false)
1055 QMessageBox::about(
this, tr(
"About..."),
1056 tr(
"Qucs Version")+
" "+PACKAGE_VERSION+
"\n"+
1057 tr(
"Quite Universal Circuit Simulator")+
"\n"+
1058 tr(
"Copyright (C)")+
" 2003-2009 "+
1059 tr(
"by Michael Margraf")+
"\n"+
1060 tr(
"Copyright (C)")+
" 2011-2014 "+
1061 tr(
"Qucs Team")+
"\n"+
1062 "\nThis is free software; see the source for copying conditions."
1063 "\nThere is NO warranty; not even for MERCHANTABILITY or "
1064 "\nFITNESS FOR A PARTICULAR PURPOSE.\n\n"+
1065 tr(
"Simulator by Stefan Jahn")+
"\n"+
1066 tr(
"VHDL simulator 'FreeHDL' by Edwin Naroska and Marius Vollmer")+
"\n"+
1067 tr(
"Special thanks to Jens Flucke and Raimund Jacob")+
"\n"+
1068 tr(
"Many thanks to Mike Brinson for correcting the VHDL output")+
"\n"+
1069 tr(
"GUI improvements by Gopala Krishna A")+
"\n"+
1070 tr(
"Verilog-AMS interface by Helene Parruitte")+
"\n"+
1071 tr(
"Verilog-AMS dynamic loader by Guilherme Brondani Torri")+
"\n\n"+
1072 tr(
"Translations:")+
"\n"+
1073 tr(
"German by Stefan Jahn")+
"\n"+
1074 tr(
"Polish by Dariusz Pienkowski")+
"\n"+
1075 tr(
"Romanian by Radu Circa")+
"\n"+
1076 tr(
"French by Vincent Habchi, F5RCS")+
"\n"+
1077 tr(
"Portuguese by Luciano Franca, Helio de Sousa, Guilherme Brondani Torri")+
"\n"+
1078 tr(
"Spanish by Jose L. Redrejo Rodriguez")+
"\n"+
1079 tr(
"Japanese by Toyoyuki Ishikawa")+
"\n"+
1080 tr(
"Italian by Giorgio Luparia and Claudio Girardi")+
"\n"+
1081 tr(
"Hebrew by Dotan Nahum")+
"\n"+
1082 tr(
"Swedish by Peter Landgren")+
"\n"+
1083 tr(
"Turkish by Onur and Ozgur Cobanoglu")+
"\n"+
1084 tr(
"Hungarian by Jozsef Bus")+
"\n"+
1085 tr(
"Russian by Igor Gorbounov")+
"\n"+
1086 tr(
"Czech by Marek Straka")+
"\n"+
1087 tr(
"Catalan by Antoni Subirats")+
"\n"+
1088 tr(
"Arabic by Chabane Noureddine")+
"\n"+
1089 tr(
"Kazakh by Erbol Keshubaev"));
1095 QMessageBox::aboutQt(
this, tr(
"About Qt"));
void slotCenterVertical()
void slotInsertPort(bool)
void slotMenuOpenProject()
void slotShowLastNetlist()
void slotInsertLabel(bool)
void slotInsertEquation(bool)
tQucsSettings QucsSettings
void slotEditDelete(bool)
Definitions and declarations for the main application.
void slotRefreshSchPath()
void slotInsertGround(bool)
void printCursorPosition(int, int)
void slotLoadModule()
QucsApp::slotLoadModule launches the dialog to select dynamic modueles.
void slotSimulate()
QucsApp::slotSimulate is called when the simulate toolbar button is pressed.
void slotExtractPackage()
void slotCenterHorizontal()
void slotBuildModule()
QucsApp::slotBuildModule runs admsXml, C++ compiler to build library.
void initActions()
QucsApp::initActions Initializes all QActions of the application.
void slotMenuDelProject()
void slotToggleDock(bool)
void slotMenuCloseProject()
void slotExportGraphAsCsv()
void slotEditMirrorX(bool)
void slotSaveSchematicToGraphicsFile(bool diagram=false)
void slotViewOctaveDock(bool)
void slotUpdateRecentFiles()
void slotEditMirrorY(bool)
void slotEditRotate(bool)
void slotGettingStarted()
void slotViewBrowseDock(bool toggle)
void slotEditActivate(bool)
void slotViewStatusBar(bool toggle)
void slotToggleOctave(bool)
void slotViewToolBar(bool toggle)