Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
qucs.h
Go to the documentation of this file.
1 /***************************************************************************
2  qucs.h
3  --------
4  begin : Thu Aug 28 2003
5  copyright : (C) 2003 by Michael Margraf
6  email : michael.margraf@alumni.tu-berlin.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef QUCS_H
19 #define QUCS_H
20 
21 #include <QtGui>
22 //#include <Q3MainWindow>
23 #include <QMainWindow>
24 #include <QString>
25 #include <QDir>
26 //Added by qt3to4:
27 #include <QLabel>
28 #include <Q3PtrList>
29 //#include <Q3PopupMenu>
30 #include <QMouseEvent>
31 #include <QCloseEvent>
32 #include <Q3ScrollView>
33 #include <QMenu>
34 #include <QToolBar>
35 #include <QAction>
36 #include <QTabWidget>
37 #include <QDockWidget>
38 //#include <QListWidget>
39 #include <QSettings>
40 
41 class QucsDoc;
42 class Schematic;
43 class SimMessage;
44 class MouseActions;
45 class SearchDialog;
46 class QLabel;
47 class QAction;
48 class QPrinter;
49 class QLineEdit;
50 class QComboBox;
51 class QTabWidget;
52 class Q3ListView;
53 class Q3ListViewItem;
54 class OctaveWindow;
55 class MessageDock;
56 
57 typedef bool (Schematic::*pToggleFunc) ();
58 typedef void (MouseActions::*pMouseFunc) (Schematic*, QMouseEvent*);
59 typedef void (MouseActions::*pMouseFunc2) (Schematic*, QMouseEvent*, float, float);
60 
61 class QucsApp : public QMainWindow {
62  Q_OBJECT
63 public:
64  QucsApp();
65  ~QucsApp();
66  QSettings *qucsSettings;
67  bool closeAllFiles();
68  static int testFile(const QString&);
69  bool gotoPage(const QString&); // to load a document
70  QucsDoc *getDoc(int No=-1);
71  QucsDoc* findDoc (QString, int * Pos = 0);
72  QString fileType (const QString&);
73 
74  QString ProjName; // name of the project, that is open
75  //QList<QString> qucsPathList; // the qucs path list for subcircuits and spice files
76  QHash<QString,QString> schNameHash; // QHash for the schematic files lookup
77  QStringList spiceExtensions; // List of extensions used for spice files
78  QString getSpiceFileFilter (void); // generate file filter string for spice files
79  QHash<QString,QString> spiceNameHash; // QHash for the spice files lookup
80 
81  QLineEdit *editText; // for edit component properties on schematic
82  SearchDialog *SearchDia; // global in order to keep values
83 
84  // current mouse methods
85  void (MouseActions::*MouseMoveAction) (Schematic*, QMouseEvent*);
86  void (MouseActions::*MousePressAction) (Schematic*, QMouseEvent*, float, float);
87  void (MouseActions::*MouseDoubleClickAction) (Schematic*, QMouseEvent*);
88  void (MouseActions::*MouseReleaseAction) (Schematic*, QMouseEvent*);
89 
90 protected:
91  void closeEvent(QCloseEvent*);
92 
93 public slots:
94  void slotFileNew(); // generate a new schematic in the view TabBar
95  void slotTextNew(); // generate a new text editor in the view TabBar
96  void slotFileOpen(); // open a document
97  void slotFileSave(); // save a document
98  void slotFileSaveAs(); // save a document under a different filename
99  void slotFileSaveAll(); // save all open documents
100  void slotFileClose(); // close the actual file
101  void slotFileExamples(); // show the examples in a file browser
102  void slotHelpTutorial(); // Open a pdf tutorial
103  void slotHelpReport(); // Open a pdf report
104  void slotHelpTechnical(); // Open a pdf technical document
105  void slotFileClose (int); // close the file with given index
106  void slotSymbolEdit(); // edit the symbol for the schematic
107  void slotFileSettings();// open dialog to change file settings
108  void slotFilePrint(); // print the current file
109  void slotFilePrintFit();// Print and fit to page
110  void slotFileQuit(); // exits the application
111  void slotEditCut(); // put marked object into clipboard and delete it
112  void slotEditCopy(); // put the marked object into the clipboard
113  void slotApplSettings();// open dialog to change application settings
114  void slotRefreshSchPath(); // refresh the schematic path hash
115 
116  void slotIntoHierarchy();
117  void slotPopHierarchy();
118 
119  void slotShowAll();
120  void slotShowOne();
121  void slotZoomOut(); // Zoom out by 2
122 
123  void slotToPage();
124  void slotSelectComponent(QListWidgetItem*);
125 
126  void slotEditElement();
127  void slotPowerMatching();
128  void slot2PortMatching();
129 
130  // for menu that appears by right click in content ListView
131  void slotShowContentMenu(const QPoint &);
132  //void slotShowContentMenu(Q3ListViewItem*, const QPoint&, int);
133  void slotCMenuOpen();
134  void slotCMenuCopy();
135  void slotCMenuRename();
136  void slotCMenuDelete();
137  void slotCMenuDelGroup();
138  void slotCMenuInsert();
139 
140 private slots:
141  void slotMenuOpenProject();
142  void slotOpenProject(QListWidgetItem*);
143  void slotMenuCloseProject();
144  void slotSelectSubcircuit(QTreeWidgetItem*);
145  void slotSelectLibComponent(QTreeWidgetItem*);
146  void slotOpenContent(QTreeWidgetItem*);
147  void slotSetCompView(int);
148  void slotProjNewButt();
149  void slotProjOpenButt();
150  void slotProjDelButt();
151  void slotMenuDelProject();
152  void slotChangeView(QWidget*);
153  void slotSimulate();
154  void slotAfterSimulation(int, SimMessage*);
155  void slotDCbias();
156  void slotChangePage(QString&, QString&);
157  void slotNextTab();
158  void slotHideEdit();
159 signals:
160  void signalKillEmAll();
161 
162 public:
164  QTabWidget *DocumentTab;
165  QListWidget *CompComps;
166  QTreeWidget *libTreeWidget;
167 
168  // menu appearing by right mouse button click on content listview
169  QMenu *ContentMenu;
170 
171  // corresponding actions
173 
178  *symEdit, *intoH, *popH, *simulate, *dpl_sch, *undo, *redo, *dcbias;
179 
180  QAction *exportAsImage;
181 
182  QAction *activeAction; // pointer to the action selected by the user
183 
184 private:
185  QPrinter *Printer; // printer is global (to remember the user settings)
186 
187 // ********* Widgets on the main area **********************************
188  QDockWidget *dock;
189  QTabWidget *TabView;
190  QDockWidget *octDock;
193 
194  QListWidget *Projects;
195  QTreeWidget *Content;
198 
199 
200  QComboBox *CompChoose;
201 
202 // ********** Properties ************************************************
203  Q3PtrList<QString> HierarchyHistory; // keeps track of "go into subcircuit"
204  QString QucsFileFilter;
205 
206 // ********** Methods ***************************************************
207  void initView();
208  void initCursorMenu();
209  void initContentListView();
210 
211  void printCurrentDocument(bool);
212  bool saveFile(QucsDoc *Doc=0);
213  bool saveAs();
214  void openProject(const QString&, const QString&);
215  bool deleteProject(const QString&, const QString&);
216  void updatePortNumber(QucsDoc*, int);
217  void fillComboBox(bool);
218  void switchSchematicDoc(bool);
219  void switchEditMode(bool);
221  bool deleteDirectoryContent(QDir& Dir);
222  bool isTextDocument(QWidget *);
223  void closeFile(int);
224 
225  void updateRecentFilesList(QString s);
226  void successExportMessages(bool ok);
227  void fillLibrariesTreeView (void);
228 
229 public:
230 
231  void readProjects();
232  void readProjectFiles();
233  void updatePathList(void); // update the list of paths, pruning non-existing paths
234  void updatePathList(QStringList);
235  void updateSchNameHash(void); // maps all schematic files in the path list
236  void updateSpiceNameHash(void); // maps all spice files in the path list
237 
238 /* **************************************************
239  ***** The following methods are located in *****
240  ***** "qucs_init.cpp". *****
241  ************************************************** */
242 
243 public slots:
244  void slotShowWarnings();
245  void slotResetWarnings();
246  void printCursorPosition(int, int);
247 
248 private slots:
249  void slotViewToolBar(bool toggle); // toggle the toolbar
250  void slotViewStatusBar(bool toggle); // toggle the statusbar
251  void slotViewBrowseDock(bool toggle); // toggle the dock window
252  void slotViewOctaveDock(bool); // toggle the dock window
253  void slotToggleOctave(bool);
254  void slotToggleDock(bool);
255  void slotHelpAbout(); // shows an about dialog
256  void slotHelpAboutQt(); // shows the standard about dialog for Qt
257 
258 private:
259  void initActions(); // initializes all QActions of the application
260  void initMenuBar(); // creates the menu_bar and inserts the menuitems
261  void initToolBar(); // creates the toolbars
262  void initStatusBar(); // setup the statusbar
263 
266 
267  // menus contain the items of their menubar
270 
271  // submenus for the PDF documents
273 
275 
276  // Shortcuts for scolling schematic / TextEdit
277  // This is rather cumbersome -> Make this with a QScrollView instead??
279 
280  QLabel *WarningLabel, *PositionLabel; // labels in status bar
281 
282 
283 
284 /* **************************************************
285  ***** The following methods are located in *****
286  ***** "qucs_actions.cpp". *****
287  ************************************************** */
288 
289 public:
290  void editFile(const QString&);
291 
301 
302 public slots:
303  void slotEditRotate(bool); // rotate the selected items
304  void slotEditMirrorX(bool); // mirror the selected items about X axis
305  void slotEditMirrorY(bool); // mirror the selected items about Y axis
306  void slotEditPaste(bool); // paste the clipboard into the document
307  void slotEditDelete(bool); // delete the selected items
308  void slotInsertEquation(bool);
309  void slotInsertGround(bool);
310  void slotInsertPort(bool);
311  void slotInsertEntity();
312  void slotSetWire(bool);
313  void slotEscape();
314  void slotSelect(bool);
315  void slotEditActivate(bool);
316  void slotInsertLabel(bool);
317  void slotSetMarker(bool);
318  void slotOnGrid(bool); // set selected elements on grid
319  void slotMoveText(bool); // move property text of components
320  void slotZoomIn(bool);
321  void slotEditUndo(); // makes the last operation undone
322  void slotEditRedo(); // makes the last undo undone
323  void slotEditFind(); // searches for a piece of text
324  void slotEditFindAgain(); // searches for the same piece of text again
325  void slotAlignTop(); // align selected elements with respect to top
326  void slotAlignBottom(); // align selected elements with respect to bottom
327  void slotAlignLeft(); // align selected elements with respect to left
328  void slotAlignRight(); // align selected elements with respect to right
329  void slotDistribHoriz();// distribute horizontally selected elements
330  void slotDistribVert(); // distribute vertically selected elements
331  void slotCenterHorizontal();
332  void slotCenterVertical();
333  void slotSelectAll();
334  void slotSelectMarker();
335  void slotShowLastMsg();
336  void slotShowLastNetlist();
337  void slotCallEditor();
338  void slotCallFilter();
339  void slotCallLine();
340  void slotCallLibrary();
341  void slotCallMatch();
342  void slotCallAtt();
343  void slotCallRes();
344  void slotHelpIndex(); // shows a HTML docu: Help Index
345  void slotGettingStarted(); // shows a HTML docu: Getting started
346  void slotChangeProps();
347  void slotAddToProject();
348  void slotApplyCompText();
349  void slotOpenRecent(int num);
351  void slotSaveSchematicToGraphicsFile(bool diagram = false);
352 
353 private slots:
354  void slotCursorLeft();
355  void slotCursorRight();
356  void slotCursorUp();
357  void slotCursorDown();
358  void slotResizePropEdit(const QString&);
359  void slotCreateLib();
360  void slotImportData();
361  void slotExportGraphAsCsv();
362  void slotCreatePackage();
363  void slotExtractPackage();
364  void slotUpdateRecentFiles();
365  void slotClearRecentFiles();
366  void slotLoadModule();
367  void slotBuildModule();
368 
369 private:
370  void showHTML(const QString&);
371  bool performToggleAction(bool, QAction*, pToggleFunc, pMouseFunc, pMouseFunc2);
372  friend class SaveDialog;
374 };
375 
376 #endif /* QUCS_H */
void slotResizePropEdit(const QString &)
void slotHelpReport()
Definition: qucs.cpp:1892
MessageDock * messageDock
Definition: qucs.h:192
void slotCursorRight()
void slotAddToProject()
QAction * selectAll
Definition: qucs.h:292
void slotShowOne()
Definition: qucs.cpp:2275
void slotZoomOut()
Definition: qucs.cpp:2282
void slotCMenuOpen()
Definition: qucs.cpp:861
QAction * alignTop
Definition: qucs.h:292
void slotCenterVertical()
void slotProjOpenButt()
Definition: qucs.cpp:1354
void closeFile(int)
Definition: qucs.cpp:1818
void readProjectFiles()
Definition: qucs.cpp:1222
void slotDCbias()
Definition: qucs.cpp:2406
QAction * callLib
Definition: qucs.h:292
void slotInsertPort(bool)
void slotClearRecentFiles()
QMenu * helpTechnical
Definition: qucs.h:272
QAction * filePrint
Definition: qucs.h:174
void slotMenuOpenProject()
Definition: qucs.cpp:1336
SearchDialog * SearchDia
Definition: qucs.h:82
void slotEditRedo()
void initToolBar()
Definition: qucs_init.cpp:877
QTreeWidgetItem * ConDatasets
Definition: qucs.h:196
QToolBar * fileToolbar
Definition: qucs.h:274
QTreeWidgetItem * ConOthers
Definition: qucs.h:196
QAction * setMarker
Definition: qucs.h:292
QAction * helpGetStart
Definition: qucs.h:292
void slotPopHierarchy()
Definition: qucs.cpp:2247
void slotShowAll()
Definition: qucs.cpp:2267
void slotProjNewButt()
Definition: qucs.cpp:1136
void updateSpiceNameHash(void)
Definition: qucs.cpp:3018
QAction * centerVert
Definition: qucs.h:292
void slotFilePrintFit()
Definition: qucs.cpp:2130
QAction * ActionCMenuInsert
Definition: qucs.h:172
void slotFilePrint()
Definition: qucs.cpp:2123
void slotFileClose()
Definition: qucs.cpp:1800
void slotZoomIn(bool)
QString fileType(const QString &)
Definition: qucs.cpp:1003
QAction * callFilter
Definition: qucs.h:292
bool gotoPage(const QString &)
Definition: qucs.cpp:1527
void showHTML(const QString &)
QComboBox * CompChoose
Definition: qucs.h:200
void slotShowLastNetlist()
void slotHelpTechnical()
Definition: qucs.cpp:1885
QAction * fileSave
Definition: qucs.h:174
void slotInsertLabel(bool)
void slotInsertEquation(bool)
QAction * magPlus
Definition: qucs.h:292
QAction * applSettings
Definition: qucs.h:174
void(MouseActions::* MouseMoveAction)(Schematic *, QMouseEvent *)
Definition: qucs.h:85
QSettings * qucsSettings
Definition: qucs.h:66
QAction * wire
Definition: qucs.h:292
void slotApplSettings()
Definition: qucs.cpp:1990
QAction * projOpen
Definition: qucs.h:174
void slotOnGrid(bool)
void slotCallLibrary()
void slotCallRes()
bool deleteProject(const QString &, const QString &)
Definition: qucs.cpp:1430
QAction * magAll
Definition: qucs.h:174
QAction * centerHor
Definition: qucs.h:292
void slotFileSaveAs()
Definition: qucs.cpp:1743
QAction * callRes
Definition: qucs.h:292
void slotSelectSubcircuit(QTreeWidgetItem *)
Definition: qucs.cpp:2573
void(MouseActions::* MousePressAction)(Schematic *, QMouseEvent *, float, float)
Definition: qucs.h:86
QTreeWidgetItem * ConOctave
Definition: qucs.h:196
void slotHelpAbout()
Definition: qucs_init.cpp:1053
~QucsApp()
Definition: qucs.cpp:181
void slotFileSettings()
Definition: qucs.cpp:1959
void slotFileSave()
Definition: qucs.cpp:1611
QAction * callEditor
Definition: qucs.h:292
QAction * ActionCMenuOpen
Definition: qucs.h:172
void slotDistribVert()
QShortcut * cursorDown
Definition: qucs.h:278
void signalKillEmAll()
void(MouseActions::* pMouseFunc2)(Schematic *, QMouseEvent *, float, float)
Definition: qucs.h:59
QAction * ActionCMenuCopy
Definition: qucs.h:172
QShortcut * cursorUp
Definition: qucs.h:278
QAction * ActionCMenuDelGroup
Definition: qucs.h:172
void slotCMenuInsert()
Definition: qucs.cpp:1097
QTreeWidgetItem * ConVerilog
Definition: qucs.h:196
void slotChangeView(QWidget *)
Definition: qucs.cpp:1903
void slotEditDelete(bool)
QAction * alignLeft
Definition: qucs.h:292
void slotChangeProps()
void slotHelpAboutQt()
Definition: qucs_init.cpp:1093
void slotMoveText(bool)
QAction * editFind
Definition: qucs.h:292
void switchEditMode(bool)
Definition: qucs.cpp:2731
QAction * viewOctaveDock
Definition: qucs.h:264
void slotToPage()
Definition: qucs.cpp:2477
void changeSchematicSymbolMode(Schematic *)
Definition: qucs.cpp:2751
void slotCallAtt()
void fillLibrariesTreeView(void)
Definition: qucs.cpp:404
QucsApp()
Definition: qucs.cpp:95
QAction * insEntity
Definition: qucs.h:292
void slotSymbolEdit()
Definition: qucs.cpp:2774
QMenu * simMenu
Definition: qucs.h:268
QToolBar * workToolbar
Definition: qucs.h:274
bool deleteDirectoryContent(QDir &Dir)
Definition: qucs.cpp:1397
QString ProjName
Definition: qucs.h:74
void updatePortNumber(QucsDoc *, int)
Definition: qucs.cpp:2013
QucsDoc * getDoc(int No=-1)
Definition: qucs.cpp:562
QAction * showNet
Definition: qucs.h:292
void slotSelectMarker()
QMenu * recentfilesMenu
Definition: qucs.h:268
QucsDoc * findDoc(QString, int *Pos=0)
Definition: qucs.cpp:582
QAction * magMinus
Definition: qucs.h:174
QLineEdit * editText
Definition: qucs.h:81
void slotEditFind()
QAction * editRotate
Definition: qucs.h:292
QAction * insEquation
Definition: qucs.h:292
QAction * insWire
Definition: qucs.h:292
void slotRefreshSchPath()
Definition: qucs.cpp:2001
void slotFileOpen()
Definition: qucs.cpp:1567
void initCursorMenu()
Definition: qucs.cpp:791
QAction * callAtt
Definition: qucs.h:292
QAction * fileOpen
Definition: qucs.h:174
QAction * editDelete
Definition: qucs.h:292
QMenu * helpReport
Definition: qucs.h:272
QTreeWidgetItem * ConVerilogA
Definition: qucs.h:196
void slotInsertGround(bool)
void slotCMenuRename()
Definition: qucs.cpp:939
void slotAlignTop()
QAction * helpAboutQt
Definition: qucs.h:264
void slotShowContentMenu(const QPoint &)
Definition: qucs.cpp:829
Q3PtrList< QString > HierarchyHistory
Definition: qucs.h:203
void slotIntoHierarchy()
Definition: qucs.cpp:2224
void slotEscape()
void slotProjDelButt()
Definition: qucs.cpp:1484
QAction * editCut
Definition: qucs.h:174
QShortcut * cursorRight
Definition: qucs.h:278
QToolBar * editToolbar
Definition: qucs.h:274
QStringList spiceExtensions
Definition: qucs.h:77
QLabel * PositionLabel
Definition: qucs.h:280
void printCursorPosition(int, int)
Definition: qucs_init.cpp:980
void slotCursorDown()
QAction * insGround
Definition: qucs.h:292
void slotCursorLeft()
void slotLoadModule()
QucsApp::slotLoadModule launches the dialog to select dynamic modueles.
QAction * filePrintFit
Definition: qucs.h:174
void slotHelpIndex()
void slotCallFilter()
void slotFileExamples()
Definition: qucs.cpp:1870
void slotEditPaste(bool)
QAction * loadModule
Definition: qucs.h:292
void slotDistribHoriz()
void switchSchematicDoc(bool)
Definition: qucs.cpp:2668
void slotSimulate()
QucsApp::slotSimulate is called when the simulate toolbar button is pressed.
Definition: qucs.cpp:2293
QAction * magOne
Definition: qucs.h:174
QAction * dcbias
Definition: qucs.h:174
QAction * intoH
Definition: qucs.h:174
void slotSetWire(bool)
QAction * callMatch
Definition: qucs.h:292
void slotEditUndo()
QAction * textNew
Definition: qucs.h:174
QAction * showMsg
Definition: qucs.h:292
QAction * dpl_sch
Definition: qucs.h:174
void slotHelpTutorial()
Definition: qucs.cpp:1878
QAction * extractPkg
Definition: qucs.h:292
QMenu * editMenu
Definition: qucs.h:268
QAction * alignRight
Definition: qucs.h:292
void printCurrentDocument(bool)
Definition: qucs.cpp:2074
void slotExtractPackage()
QTreeWidgetItem * ConDisplays
Definition: qucs.h:196
QAction * helpAboutApp
Definition: qucs.h:264
bool performToggleAction(bool, QAction *, pToggleFunc, pMouseFunc, pMouseFunc2)
void successExportMessages(bool ok)
Definition: qucs.cpp:3258
void slotCenterHorizontal()
QAction * insLabel
Definition: qucs.h:292
void slotBuildModule()
QucsApp::slotBuildModule runs admsXml, C++ compiler to build library.
QMenu * helpMenu
Definition: qucs.h:268
void slotEditElement()
Definition: qucs.cpp:2941
void slot2PortMatching()
Definition: qucs.cpp:2853
QAction * moveText
Definition: qucs.h:292
bool(Schematic::* pToggleFunc)()
Definition: qucs.h:57
void slotOpenRecent(int num)
QHash< QString, QString > spiceNameHash
Definition: qucs.h:79
void initActions()
QucsApp::initActions Initializes all QActions of the application.
Definition: qucs_init.cpp:32
void initStatusBar()
Definition: qucs_init.cpp:932
void slotMenuDelProject()
Definition: qucs.cpp:1461
QAction * undo
Definition: qucs.h:174
QListWidget * CompComps
Definition: qucs.h:165
bool saveAs()
Definition: qucs.cpp:1632
QAction * fileExamples
Definition: qucs.h:174
QAction * fileClose
Definition: qucs.h:174
MouseActions * view
Definition: qucs.h:163
void slotSelectAll()
void slotOpenContent(QTreeWidgetItem *)
Definition: qucs.cpp:2494
QAction * editMirrorY
Definition: qucs.h:292
QAction * redo
Definition: qucs.h:174
void initMenuBar()
Definition: qucs_init.cpp:659
QMenu * fileMenu
Definition: qucs.h:268
QMenu * alignMenu
Definition: qucs.h:268
QAction * symEdit
Definition: qucs.h:174
void(MouseActions::* MouseReleaseAction)(Schematic *, QMouseEvent *)
Definition: qucs.h:88
void slotToggleDock(bool)
Definition: qucs_init.cpp:1025
QAction * projDel
Definition: qucs.h:174
void slotSelectLibComponent(QTreeWidgetItem *)
Definition: qucs.cpp:2632
void slotMenuCloseProject()
Definition: qucs.cpp:1373
void initContentListView()
Definition: qucs.cpp:193
void initView()
QucsApp::initView Setup the layour of all widgets.
Definition: qucs.cpp:220
QAction * viewBrowseDock
Definition: qucs.h:264
QMenu * ContentMenu
Definition: qucs.h:169
QAction * editActivate
Definition: qucs.h:292
QTreeWidget * libTreeWidget
Definition: qucs.h:166
QDockWidget * octDock
Definition: qucs.h:190
void slotShowLastMsg()
QPrinter * Printer
Definition: qucs.h:185
void slotImportData()
QAction * importData
Definition: qucs.h:292
void slotCallMatch()
void slotApplyCompText()
void slotSelect(bool)
void slotExportGraphAsCsv()
void slotHideEdit()
Definition: qucs.cpp:2950
QAction * projClose
Definition: qucs.h:174
void updateRecentFilesList(QString s)
Definition: qucs.cpp:3089
void slotCallLine()
QString QucsFileFilter
Definition: qucs.h:204
void slotAlignBottom()
QString getSpiceFileFilter(void)
Definition: qucs.cpp:3001
QAction * fileNewDpl
Definition: qucs.h:174
void slotCMenuDelete()
Definition: qucs.cpp:975
void slotCMenuCopy()
Definition: qucs.cpp:870
void slotAlignLeft()
void slotResetWarnings()
Definition: qucs_init.cpp:970
QTreeWidgetItem * ConSchematics
Definition: qucs.h:196
void slotCMenuDelGroup()
Definition: qucs.cpp:1030
QAction * popH
Definition: qucs.h:174
QAction * editCopy
Definition: qucs.h:174
void fillComboBox(bool)
Definition: qucs.cpp:601
bool saveFile(QucsDoc *Doc=0)
Definition: qucs.cpp:1595
QTabWidget * DocumentTab
Definition: qucs.h:164
QMenu * helpTutorial
Definition: qucs.h:272
void slotPowerMatching()
Definition: qucs.cpp:2827
void openProject(const QString &, const QString &)
Definition: qucs.cpp:1302
QAction * activeAction
Definition: qucs.h:182
QAction * graph2csv
Definition: qucs.h:292
QAction * select
Definition: qucs.h:292
void slotFileNew()
Definition: qucs.cpp:1504
QAction * exportAsImage
Definition: qucs.h:180
QAction * distrHor
Definition: qucs.h:292
bool isTextDocument(QWidget *)
Definition: qucs.cpp:2764
void slotEditCut()
Definition: qucs.cpp:2177
QAction * fileSettings
Definition: qucs.h:174
QAction * changeProps
Definition: qucs.h:292
bool closeAllFiles()
Definition: qucs.cpp:1845
QAction * ActionCMenuDelete
Definition: qucs.h:172
QAction * editPaste
Definition: qucs.h:292
void slotEditMirrorX(bool)
void slotSaveSchematicToGraphicsFile(bool diagram=false)
Definition: qucs.cpp:3112
QMenu * insMenu
Definition: qucs.h:268
QDockWidget * dock
Definition: qucs.h:188
QAction * addToProj
Definition: qucs.h:292
void slotAfterSimulation(int, SimMessage *)
Definition: qucs.cpp:2354
void slotViewOctaveDock(bool)
Definition: qucs_init.cpp:1034
QAction * createPkg
Definition: qucs.h:292
QShortcut * cursorLeft
Definition: qucs.h:278
void slotChangePage(QString &, QString &)
Definition: qucs.cpp:2414
void editFile(const QString &)
void slotUpdateRecentFiles()
void slotFileQuit()
Definition: qucs.cpp:2137
void(MouseActions::* MouseDoubleClickAction)(Schematic *, QMouseEvent *)
Definition: qucs.h:87
void slotInsertEntity()
QAction * onGrid
Definition: qucs.h:292
QAction * ActionCMenuRename
Definition: qucs.h:172
QAction * fileSaveAll
Definition: qucs.h:174
void slotEditMirrorY(bool)
void readProjects()
Definition: qucs.cpp:1107
QAction * callLine
Definition: qucs.h:292
void slotEditCopy()
Definition: qucs.cpp:2201
QMenu * viewMenu
Definition: qucs.h:268
void slotSetCompView(int)
Definition: qucs.cpp:619
void slotEditRotate(bool)
QAction * distrVert
Definition: qucs.h:292
void slotGettingStarted()
void slotCreatePackage()
void slotAlignRight()
void slotViewBrowseDock(bool toggle)
Definition: qucs_init.cpp:1016
Definition: qucs.h:61
void slotCursorUp()
void slotCreateLib()
QListWidget * Projects
Definition: qucs.h:194
QAction * buildModule
Definition: qucs.h:292
QAction * projNew
Definition: qucs.h:174
QAction * simulate
Definition: qucs.h:174
void slotEditActivate(bool)
QAction * alignBottom
Definition: qucs.h:292
QString lastExportFilename
Definition: qucs.h:373
void slotEditFindAgain()
QAction * viewStatusBar
Definition: qucs.h:264
QTreeWidget * Content
Definition: qucs.h:195
QTabWidget * TabView
Definition: qucs.h:189
QToolBar * viewToolbar
Definition: qucs.h:274
QAction * fileNew
Definition: qucs.h:174
QAction * fileQuit
Definition: qucs.h:174
QAction * fileSaveAs
Definition: qucs.h:174
QAction * selectMarker
Definition: qucs.h:292
OctaveWindow * octave
Definition: qucs.h:191
QMenu * toolMenu
Definition: qucs.h:268
void slotViewStatusBar(bool toggle)
Definition: qucs_init.cpp:1006
void updatePathList(void)
Definition: qucs.cpp:3058
void slotCallEditor()
QAction * refreshSchPath
Definition: qucs.h:174
QAction * insPort
Definition: qucs.h:292
void updateSchNameHash(void)
Definition: qucs.cpp:2958
QAction * createLib
Definition: qucs.h:292
void slotToggleOctave(bool)
Definition: qucs_init.cpp:1045
void slotSelectComponent(QListWidgetItem *)
Definition: qucs.cpp:713
QTreeWidgetItem * ConSources
Definition: qucs.h:196
void(MouseActions::* pMouseFunc)(Schematic *, QMouseEvent *)
Definition: qucs.h:58
QHash< QString, QString > schNameHash
Definition: qucs.h:76
QAction * helpIndex
Definition: qucs.h:292
void slotTextNew()
Definition: qucs.cpp:1515
QAction * viewToolBar
Definition: qucs.h:264
void slotFileSaveAll()
Definition: qucs.cpp:1769
void slotNextTab()
Definition: qucs.cpp:1947
void slotShowWarnings()
Definition: qucs_init.cpp:946
void slotViewToolBar(bool toggle)
Definition: qucs_init.cpp:988
void slotSetMarker(bool)
static int testFile(const QString &)
Definition: qucs.cpp:1156
QMenu * projMenu
Definition: qucs.h:268
void closeEvent(QCloseEvent *)
Definition: qucs.cpp:2157
QAction * editFindAgain
Definition: qucs.h:292
void slotSaveDiagramToGraphicsFile()
Definition: qucs.cpp:3107
QLabel * WarningLabel
Definition: qucs.h:280
QAction * editMirror
Definition: qucs.h:292
void slotOpenProject(QListWidgetItem *)
Definition: qucs.cpp:1366