Qucs-GUI
0.0.19
|
#include <schematic.h>
Signals | |
void | signalCursorPosChanged (int, int) |
void | signalUndoState (bool) |
void | signalRedoState (bool) |
void | signalFileChanged (bool) |
Public Member Functions | |
Schematic (QucsApp *, const QString &) | |
~Schematic () | |
void | setName (const QString &) |
void | setChanged (bool, bool fillStack=false, char Op='*') |
void | paintGrid (ViewPainter *, int, int, int, int) |
void | print (QPrinter *, QPainter *, bool, bool) |
void | paintSchToViewpainter (ViewPainter *p, bool printAll, bool toImage, int screenDpiX=96, int printerDpiX=300) |
void | PostPaintEvent (PE pe, int x1=0, int y1=0, int x2=0, int y2=0, int a=0, int b=0, bool PaintOnViewport=false) |
float | textCorr () |
bool | sizeOfFrame (int &, int &) |
void | sizeOfAll (int &, int &, int &, int &) |
bool | rotateElements () |
bool | mirrorXComponents () |
bool | mirrorYComponents () |
void | setOnGrid (int &, int &) |
bool | elementsOnGrid () |
float | zoom (float) |
float | zoomBy (float) |
void | showAll () |
void | showNoZoom () |
void | enlargeView (int, int, int, int) |
void | switchPaintMode () |
int | adjustPortNumbers () |
void | reloadGraphs () |
bool | createSubcircuitSymbol () |
void | cut () |
void | copy () |
bool | paste (QTextStream *, Q3PtrList< Element > *) |
bool | load () |
int | save () |
int | saveSymbolCpp (void) |
int | saveSymbolJSON (void) |
void | becomeCurrent (bool) |
bool | undo () |
bool | redo () |
bool | scrollUp (int) |
bool | scrollDown (int) |
bool | scrollLeft (int) |
bool | scrollRight (int) |
QFileInfo | getFileInfo (void) |
Get (schematic) file reference. | |
void | setFileInfo (QString FileName) |
Set reference to file (schematic) | |
Node * | insertNode (int, int, Element *) |
Node * | selectedNode (int, int) |
int | insertWireNode1 (Wire *) |
bool | connectHWires1 (Wire *) |
bool | connectVWires1 (Wire *) |
int | insertWireNode2 (Wire *) |
bool | connectHWires2 (Wire *) |
bool | connectVWires2 (Wire *) |
int | insertWire (Wire *) |
void | selectWireLine (Element *, Node *, bool) |
Wire * | selectedWire (int, int) |
Wire * | splitWire (Wire *, Node *) |
bool | oneTwoWires (Node *) |
void | deleteWire (Wire *) |
Marker * | setMarker (int, int) |
void | markerLeftRight (bool, Q3PtrList< Element > *) |
void | markerUpDown (bool, Q3PtrList< Element > *) |
Element * | selectElement (float, float, bool, int *index=0) |
void | deselectElements (Element *) |
int | selectElements (int, int, int, int, bool) |
void | selectMarkers () |
void | newMovingWires (Q3PtrList< Element > *, Node *, int) |
int | copySelectedElements (Q3PtrList< Element > *) |
bool | deleteElements () |
bool | aligning (int) |
Schematic::aligning align selected elements. | |
bool | distributeHorizontal () |
Schematic::distributeHorizontal sort selection horizontally. | |
bool | distributeVertical () |
Schematic::distributeVertical sort selection vertically. | |
void | setComponentNumber (Component *) |
void | insertRawComponent (Component *, bool noOptimize=true) |
void | recreateComponent (Component *) |
void | insertComponent (Component *) |
void | activateCompsWithinRect (int, int, int, int) |
bool | activateSpecifiedComponent (int, int) |
bool | activateSelectedComponents () |
void | setCompPorts (Component *) |
Component * | selectCompText (int, int, int &, int &) |
Component * | searchSelSubcircuit () |
Component * | selectedComponent (int, int) |
void | deleteComp (Component *) |
void | oneLabel (Node *) |
int | placeNodeLabel (WireLabel *) |
Element * | getWireLabel (Node *) |
void | insertNodeLabel (WireLabel *) |
void | copyLabels (int &, int &, int &, int &, QList< Element * > *) |
Painting * | selectedPainting (float, float) |
void | copyPaintings (int &, int &, int &, int &, QList< Element * > *) |
void | getSelAreaWidthAndHeight (int &wsel, int &hsel, int &xmin_sel_, int &ymin_sel_) |
bool | createLibNetlist (QTextStream *, QPlainTextEdit *, int) |
bool | createSubNetlist (QTextStream *, int &, QStringList &, QPlainTextEdit *, int) |
void | createSubNetlistPlain (QTextStream *, QPlainTextEdit *, int) |
int | prepareNetlist (QTextStream &, QStringList &, QPlainTextEdit *) |
QString | createNetlist (QTextStream &, int) |
bool | loadDocument () |
Schematic::loadDocument tries to load a schematic document. | |
void | highlightWireLabels (void) |
Static Public Member Functions | |
static int | testFile (const QString &) |
Data Fields | |
Q3PtrList< Wire > * | Wires |
Q3PtrList< Wire > | DocWires |
Q3PtrList< Node > * | Nodes |
Q3PtrList< Node > | DocNodes |
Q3PtrList< Diagram > * | Diagrams |
Q3PtrList< Diagram > | DocDiags |
Q3PtrList< Painting > * | Paintings |
Q3PtrList< Painting > | DocPaints |
Q3PtrList< Component > * | Components |
Q3PtrList< Component > | DocComps |
Q3PtrList< Painting > | SymbolPaints |
QList< PostedPaintEvent > | PostedPaintEvents |
bool | symbolMode |
int | GridX |
int | GridY |
int | ViewX1 |
int | ViewY1 |
int | ViewX2 |
int | ViewY2 |
int | UsedX1 |
int | UsedY1 |
int | UsedX2 |
int | UsedY2 |
int | showFrame |
QString | Frame_Text0 |
QString | Frame_Text1 |
QString | Frame_Text2 |
QString | Frame_Text3 |
float | tmpScale |
int | tmpViewX1 |
int | tmpViewY1 |
int | tmpViewX2 |
int | tmpViewY2 |
int | tmpUsedX1 |
int | tmpUsedY1 |
int | tmpUsedX2 |
int | tmpUsedY2 |
int | undoActionIdx |
QVector< QString * > | undoAction |
int | undoSymbolIdx |
QVector< QString * > | undoSymbol |
bool | isAnalog |
bool | isVerilog |
bool | creatingLib |
Protected Slots | |
void | slotScrollUp () |
void | slotScrollDown () |
void | slotScrollLeft () |
void | slotScrollRight () |
Protected Member Functions | |
void | paintFrame (ViewPainter *) |
void | drawContents (QPainter *, int, int, int, int) |
void | contentsMouseMoveEvent (QMouseEvent *) |
void | contentsMousePressEvent (QMouseEvent *) |
void | contentsMouseDoubleClickEvent (QMouseEvent *) |
void | contentsMouseReleaseEvent (QMouseEvent *) |
void | contentsWheelEvent (QWheelEvent *) |
void | contentsDropEvent (QDropEvent *) |
void | contentsDragEnterEvent (QDragEnterEvent *) |
void | contentsDragLeaveEvent (QDragLeaveEvent *) |
void | contentsDragMoveEvent (QDragMoveEvent *) |
Private Member Functions | |
void | insertComponentNodes (Component *, bool) |
int | copyWires (int &, int &, int &, int &, QList< Element * > *) |
int | copyComponents (int &, int &, int &, int &, QList< Element * > *) |
void | copyComponents2 (int &, int &, int &, int &, QList< Element * > *) |
bool | copyComps2WiresPaints (int &, int &, int &, int &, QList< Element * > *) |
int | copyElements (int &, int &, int &, int &, QList< Element * > *) |
int | saveDocument () |
bool | loadProperties (QTextStream *) |
void | simpleInsertComponent (Component *) |
bool | loadComponents (QTextStream *, Q3PtrList< Component > *List=0) |
void | simpleInsertWire (Wire *) |
bool | loadWires (QTextStream *, Q3PtrList< Element > *List=0) |
bool | loadDiagrams (QTextStream *, Q3PtrList< Diagram > *) |
bool | loadPaintings (QTextStream *, Q3PtrList< Painting > *) |
bool | loadIntoNothing (QTextStream *) |
QString | createClipboardFile () |
bool | pasteFromClipboard (QTextStream *, Q3PtrList< Element > *) |
QString | createUndoString (char) |
bool | rebuild (QString *) |
QString | createSymbolUndoString (char) |
bool | rebuildSymbol (QString *) |
void | throughAllNodes (bool, QStringList &, int &) |
void | propagateNode (QStringList &, int &, Node *) |
void | collectDigitalSignals (void) |
bool | giveNodeNames (QTextStream *, int &, QStringList &, QPlainTextEdit *, int) |
void | beginNetlistDigital (QTextStream &) |
void | endNetlistDigital (QTextStream &) |
bool | throughAllComps (QTextStream *, int &, QStringList &, QPlainTextEdit *, int) |
Schematic::throughAllComps Goes through all schematic components and allows special component handling, e.g. | |
Static Private Member Functions | |
static void | createNodeSet (QStringList &, int &, Conductor *, Node *) |
Private Attributes | |
bool | dragIsOkay |
QFileInfo | FileInfo |
hold system-independent information about a schematic file | |
DigMap | Signals |
QStringList | PortTypes |
Definition at line 78 of file schematic.h.
Schematic::Schematic | ( | QucsApp * | App_, |
const QString & | Name_ | ||
) |
Definition at line 64 of file schematic.cpp.
Definition at line 130 of file schematic.cpp.
void Schematic::activateCompsWithinRect | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2 | ||
) |
Definition at line 2549 of file schematic_element.cpp.
Definition at line 2623 of file schematic_element.cpp.
bool Schematic::activateSpecifiedComponent | ( | int | x, |
int | y | ||
) |
Definition at line 2592 of file schematic_element.cpp.
int Schematic::adjustPortNumbers | ( | ) |
Definition at line 1381 of file schematic.cpp.
bool Schematic::aligning | ( | int | Mode | ) |
Schematic::aligning align selected elements.
Mode,: | top, bottom, left, right, center vertical, center horizontal |
Definition at line 1988 of file schematic_element.cpp.
void Schematic::becomeCurrent | ( | bool | update | ) | [virtual] |
Reimplemented from QucsDoc.
Definition at line 174 of file schematic.cpp.
void Schematic::beginNetlistDigital | ( | QTextStream & | stream | ) | [private] |
void Schematic::collectDigitalSignals | ( | void | ) | [private] |
bool Schematic::connectHWires1 | ( | Wire * | w | ) |
Definition at line 217 of file schematic_element.cpp.
bool Schematic::connectHWires2 | ( | Wire * | w | ) |
Definition at line 453 of file schematic_element.cpp.
bool Schematic::connectVWires1 | ( | Wire * | w | ) |
Definition at line 280 of file schematic_element.cpp.
bool Schematic::connectVWires2 | ( | Wire * | w | ) |
Definition at line 507 of file schematic_element.cpp.
void Schematic::contentsDragEnterEvent | ( | QDragEnterEvent * | Event | ) | [protected] |
void Schematic::contentsDragLeaveEvent | ( | QDragLeaveEvent * | ) | [protected] |
void Schematic::contentsDragMoveEvent | ( | QDragMoveEvent * | Event | ) | [protected] |
void Schematic::contentsDropEvent | ( | QDropEvent * | Event | ) | [protected] |
void Schematic::contentsMouseDoubleClickEvent | ( | QMouseEvent * | Event | ) | [protected] |
Definition at line 562 of file schematic.cpp.
void Schematic::contentsMouseMoveEvent | ( | QMouseEvent * | Event | ) | [protected] |
void Schematic::contentsMousePressEvent | ( | QMouseEvent * | Event | ) | [protected] |
void Schematic::contentsMouseReleaseEvent | ( | QMouseEvent * | Event | ) | [protected] |
Definition at line 555 of file schematic.cpp.
void Schematic::contentsWheelEvent | ( | QWheelEvent * | Event | ) | [protected] |
void Schematic::copy | ( | ) |
Definition at line 1270 of file schematic.cpp.
int Schematic::copyComponents | ( | int & | x1, |
int & | y1, | ||
int & | x2, | ||
int & | y2, | ||
QList< Element * > * | ElementCache | ||
) | [private] |
Definition at line 2769 of file schematic_element.cpp.
void Schematic::copyComponents2 | ( | int & | x1, |
int & | y1, | ||
int & | x2, | ||
int & | y2, | ||
QList< Element * > * | ElementCache | ||
) | [private] |
Definition at line 2813 of file schematic_element.cpp.
bool Schematic::copyComps2WiresPaints | ( | int & | x1, |
int & | y1, | ||
int & | x2, | ||
int & | y2, | ||
QList< Element * > * | ElementCache | ||
) | [private] |
Definition at line 1805 of file schematic_element.cpp.
int Schematic::copyElements | ( | int & | x1, |
int & | y1, | ||
int & | x2, | ||
int & | y2, | ||
QList< Element * > * | ElementCache | ||
) | [private] |
Definition at line 1823 of file schematic_element.cpp.
void Schematic::copyLabels | ( | int & | x1, |
int & | y1, | ||
int & | x2, | ||
int & | y2, | ||
QList< Element * > * | ElementCache | ||
) |
void Schematic::copyPaintings | ( | int & | x1, |
int & | y1, | ||
int & | x2, | ||
int & | y2, | ||
QList< Element * > * | ElementCache | ||
) |
Definition at line 3087 of file schematic_element.cpp.
int Schematic::copySelectedElements | ( | Q3PtrList< Element > * | p | ) |
Definition at line 1645 of file schematic_element.cpp.
int Schematic::copyWires | ( | int & | x1, |
int & | y1, | ||
int & | x2, | ||
int & | y2, | ||
QList< Element * > * | ElementCache | ||
) | [private] |
Definition at line 862 of file schematic_element.cpp.
QString Schematic::createClipboardFile | ( | ) | [private] |
Definition at line 54 of file schematic_file.cpp.
bool Schematic::createLibNetlist | ( | QTextStream * | stream, |
QPlainTextEdit * | ErrText, | ||
int | NumPorts | ||
) |
Definition at line 1445 of file schematic_file.cpp.
QString Schematic::createNetlist | ( | QTextStream & | stream, |
int | NumPorts | ||
) |
Definition at line 1914 of file schematic_file.cpp.
void Schematic::createNodeSet | ( | QStringList & | Collect, |
int & | countInit, | ||
Conductor * | pw, | ||
Node * | p1 | ||
) | [static, private] |
bool Schematic::createSubcircuitSymbol | ( | ) |
Definition at line 135 of file schematic.cpp.
bool Schematic::createSubNetlist | ( | QTextStream * | stream, |
int & | countInit, | ||
QStringList & | Collect, | ||
QPlainTextEdit * | ErrText, | ||
int | NumPorts | ||
) |
Definition at line 1753 of file schematic_file.cpp.
void Schematic::createSubNetlistPlain | ( | QTextStream * | stream, |
QPlainTextEdit * | ErrText, | ||
int | NumPorts | ||
) |
Definition at line 1485 of file schematic_file.cpp.
QString Schematic::createSymbolUndoString | ( | char | Op | ) | [private] |
Definition at line 964 of file schematic_file.cpp.
QString Schematic::createUndoString | ( | char | Op | ) | [private] |
Definition at line 930 of file schematic_file.cpp.
void Schematic::cut | ( | ) |
void Schematic::deleteComp | ( | Component * | c | ) |
Definition at line 2745 of file schematic_element.cpp.
bool Schematic::deleteElements | ( | ) |
Definition at line 1871 of file schematic_element.cpp.
void Schematic::deleteWire | ( | Wire * | w | ) |
Definition at line 827 of file schematic_element.cpp.
void Schematic::deselectElements | ( | Element * | e | ) |
bool Schematic::distributeHorizontal | ( | ) |
Schematic::distributeHorizontal sort selection horizontally.
Definition at line 2125 of file schematic_element.cpp.
bool Schematic::distributeVertical | ( | ) |
Schematic::distributeVertical sort selection vertically.
Definition at line 2240 of file schematic_element.cpp.
void Schematic::drawContents | ( | QPainter * | p, |
int | , | ||
int | , | ||
int | , | ||
int | |||
) | [protected] |
bool Schematic::elementsOnGrid | ( | ) |
Definition at line 1714 of file schematic.cpp.
void Schematic::endNetlistDigital | ( | QTextStream & | stream | ) | [private] |
void Schematic::enlargeView | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2 | ||
) |
QFileInfo Schematic::getFileInfo | ( | void | ) | [inline] |
Get (schematic) file reference.
Definition at line 161 of file schematic.h.
void Schematic::getSelAreaWidthAndHeight | ( | int & | wsel, |
int & | hsel, | ||
int & | xmin_sel_, | ||
int & | ymin_sel_ | ||
) |
Element * Schematic::getWireLabel | ( | Node * | pn_ | ) |
bool Schematic::giveNodeNames | ( | QTextStream * | stream, |
int & | countInit, | ||
QStringList & | Collect, | ||
QPlainTextEdit * | ErrText, | ||
int | NumPorts | ||
) | [private] |
Definition at line 1404 of file schematic_file.cpp.
void Schematic::highlightWireLabels | ( | void | ) |
Definition at line 1295 of file schematic_element.cpp.
void Schematic::insertComponent | ( | Component * | c | ) |
Definition at line 2507 of file schematic_element.cpp.
void Schematic::insertComponentNodes | ( | Component * | c, |
bool | noOptimize | ||
) | [private] |
Definition at line 2383 of file schematic_element.cpp.
Node * Schematic::insertNode | ( | int | x, |
int | y, | ||
Element * | e | ||
) |
Definition at line 33 of file schematic_element.cpp.
void Schematic::insertNodeLabel | ( | WireLabel * | pl | ) |
Definition at line 3007 of file schematic_element.cpp.
void Schematic::insertRawComponent | ( | Component * | c, |
bool | noOptimize = true |
||
) |
Definition at line 2423 of file schematic_element.cpp.
int Schematic::insertWire | ( | Wire * | w | ) |
Definition at line 563 of file schematic_element.cpp.
int Schematic::insertWireNode1 | ( | Wire * | w | ) |
Definition at line 95 of file schematic_element.cpp.
int Schematic::insertWireNode2 | ( | Wire * | w | ) |
Definition at line 345 of file schematic_element.cpp.
bool Schematic::load | ( | ) | [virtual] |
Reimplemented from QucsDoc.
Definition at line 1297 of file schematic.cpp.
bool Schematic::loadComponents | ( | QTextStream * | stream, |
Q3PtrList< Component > * | List = 0 |
||
) | [private] |
Definition at line 630 of file schematic_file.cpp.
bool Schematic::loadDiagrams | ( | QTextStream * | stream, |
Q3PtrList< Diagram > * | List | ||
) | [private] |
Definition at line 737 of file schematic_file.cpp.
bool Schematic::loadDocument | ( | ) |
Schematic::loadDocument tries to load a schematic document.
Definition at line 830 of file schematic_file.cpp.
bool Schematic::loadIntoNothing | ( | QTextStream * | stream | ) | [private] |
bool Schematic::loadPaintings | ( | QTextStream * | stream, |
Q3PtrList< Painting > * | List | ||
) | [private] |
Definition at line 780 of file schematic_file.cpp.
bool Schematic::loadProperties | ( | QTextStream * | stream | ) | [private] |
Definition at line 522 of file schematic_file.cpp.
bool Schematic::loadWires | ( | QTextStream * | stream, |
Q3PtrList< Element > * | List = 0 |
||
) | [private] |
Definition at line 700 of file schematic_file.cpp.
void Schematic::markerLeftRight | ( | bool | left, |
Q3PtrList< Element > * | Elements | ||
) |
Definition at line 936 of file schematic_element.cpp.
void Schematic::markerUpDown | ( | bool | up, |
Q3PtrList< Element > * | Elements | ||
) |
Definition at line 951 of file schematic_element.cpp.
bool Schematic::mirrorXComponents | ( | ) |
Definition at line 1125 of file schematic.cpp.
bool Schematic::mirrorYComponents | ( | ) |
Definition at line 1194 of file schematic.cpp.
void Schematic::newMovingWires | ( | Q3PtrList< Element > * | p, |
Node * | pn, | ||
int | pos | ||
) |
void Schematic::oneLabel | ( | Node * | n1 | ) |
bool Schematic::oneTwoWires | ( | Node * | n | ) |
Definition at line 783 of file schematic_element.cpp.
void Schematic::paintFrame | ( | ViewPainter * | p | ) | [protected] |
Definition at line 329 of file schematic.cpp.
void Schematic::paintGrid | ( | ViewPainter * | p, |
int | cX, | ||
int | cY, | ||
int | Width, | ||
int | Height | ||
) |
Definition at line 872 of file schematic.cpp.
void Schematic::paintSchToViewpainter | ( | ViewPainter * | p, |
bool | printAll, | ||
bool | toImage, | ||
int | screenDpiX = 96 , |
||
int | printerDpiX = 300 |
||
) |
Definition at line 635 of file schematic.cpp.
bool Schematic::paste | ( | QTextStream * | stream, |
Q3PtrList< Element > * | pe | ||
) |
Definition at line 1290 of file schematic.cpp.
bool Schematic::pasteFromClipboard | ( | QTextStream * | stream, |
Q3PtrList< Element > * | pe | ||
) | [private] |
Definition at line 121 of file schematic_file.cpp.
int Schematic::placeNodeLabel | ( | WireLabel * | pl | ) |
Definition at line 2933 of file schematic_element.cpp.
void Schematic::PostPaintEvent | ( | PE | pe, |
int | x1 = 0 , |
||
int | y1 = 0 , |
||
int | x2 = 0 , |
||
int | y2 = 0 , |
||
int | a = 0 , |
||
int | b = 0 , |
||
bool | PaintOnViewport = false |
||
) |
int Schematic::prepareNetlist | ( | QTextStream & | stream, |
QStringList & | Collect, | ||
QPlainTextEdit * | ErrText | ||
) |
Definition at line 1779 of file schematic_file.cpp.
void Schematic::print | ( | QPrinter * | , |
QPainter * | Painter, | ||
bool | printAll, | ||
bool | fitToPage | ||
) | [virtual] |
Reimplemented from QucsDoc.
Definition at line 569 of file schematic.cpp.
void Schematic::propagateNode | ( | QStringList & | Collect, |
int & | countInit, | ||
Node * | pn | ||
) | [private] |
Definition at line 1154 of file schematic_file.cpp.
bool Schematic::rebuild | ( | QString * | s | ) | [private] |
Definition at line 985 of file schematic_file.cpp.
bool Schematic::rebuildSymbol | ( | QString * | s | ) | [private] |
Definition at line 1008 of file schematic_file.cpp.
void Schematic::recreateComponent | ( | Component * | Comp | ) |
Definition at line 2444 of file schematic_element.cpp.
bool Schematic::redo | ( | ) |
Definition at line 1664 of file schematic.cpp.
void Schematic::reloadGraphs | ( | ) |
bool Schematic::rotateElements | ( | ) |
Definition at line 1026 of file schematic.cpp.
int Schematic::save | ( | ) | [virtual] |
Reimplemented from QucsDoc.
Definition at line 1346 of file schematic.cpp.
int Schematic::saveDocument | ( | ) | [private] |
Definition at line 340 of file schematic_file.cpp.
int Schematic::saveSymbolCpp | ( | void | ) |
Definition at line 187 of file schematic_file.cpp.
int Schematic::saveSymbolJSON | ( | void | ) |
Definition at line 255 of file schematic_file.cpp.
bool Schematic::scrollDown | ( | int | step | ) |
bool Schematic::scrollLeft | ( | int | step | ) |
bool Schematic::scrollRight | ( | int | step | ) |
bool Schematic::scrollUp | ( | int | step | ) |
Component * Schematic::selectCompText | ( | int | x_, |
int | y_, | ||
int & | w, | ||
int & | h | ||
) |
Component * Schematic::selectedComponent | ( | int | x, |
int | y | ||
) |
Node * Schematic::selectedNode | ( | int | x, |
int | y | ||
) |
Painting * Schematic::selectedPainting | ( | float | fX, |
float | fY | ||
) |
Wire * Schematic::selectedWire | ( | int | x, |
int | y | ||
) |
Element * Schematic::selectElement | ( | float | fX, |
float | fY, | ||
bool | flag, | ||
int * | index = 0 |
||
) |
Definition at line 980 of file schematic_element.cpp.
int Schematic::selectElements | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2, | ||
bool | flag | ||
) |
Definition at line 1381 of file schematic_element.cpp.
void Schematic::selectMarkers | ( | ) |
void Schematic::selectWireLine | ( | Element * | pe, |
Node * | pn, | ||
bool | ctrl | ||
) |
void Schematic::setChanged | ( | bool | c, |
bool | fillStack = false , |
||
char | Op = '*' |
||
) |
Definition at line 245 of file schematic.cpp.
void Schematic::setComponentNumber | ( | Component * | c | ) |
void Schematic::setCompPorts | ( | Component * | pc | ) |
Definition at line 2654 of file schematic_element.cpp.
void Schematic::setFileInfo | ( | QString | FileName | ) | [inline] |
Set reference to file (schematic)
Definition at line 163 of file schematic.h.
Marker * Schematic::setMarker | ( | int | x, |
int | y | ||
) |
Definition at line 922 of file schematic_element.cpp.
void Schematic::setName | ( | const QString & | Name_ | ) | [virtual] |
Reimplemented from QucsDoc.
Definition at line 229 of file schematic.cpp.
void Schematic::setOnGrid | ( | int & | x, |
int & | y | ||
) |
void Schematic::showAll | ( | ) | [virtual] |
Reimplemented from QucsDoc.
Definition at line 778 of file schematic.cpp.
void Schematic::showNoZoom | ( | ) | [virtual] |
Reimplemented from QucsDoc.
Definition at line 803 of file schematic.cpp.
void Schematic::signalCursorPosChanged | ( | int | , |
int | |||
) | [signal] |
void Schematic::signalFileChanged | ( | bool | ) | [signal] |
void Schematic::signalRedoState | ( | bool | ) | [signal] |
void Schematic::signalUndoState | ( | bool | ) | [signal] |
void Schematic::simpleInsertComponent | ( | Component * | c | ) | [private] |
void Schematic::simpleInsertWire | ( | Wire * | pw | ) | [private] |
void Schematic::sizeOfAll | ( | int & | xmin, |
int & | ymin, | ||
int & | xmax, | ||
int & | ymax | ||
) |
Definition at line 935 of file schematic.cpp.
bool Schematic::sizeOfFrame | ( | int & | xall, |
int & | yall | ||
) |
void Schematic::slotScrollDown | ( | ) | [protected, slot] |
void Schematic::slotScrollLeft | ( | ) | [protected, slot] |
void Schematic::slotScrollRight | ( | ) | [protected, slot] |
void Schematic::slotScrollUp | ( | ) | [protected, slot] |
Wire * Schematic::splitWire | ( | Wire * | pw, |
Node * | pn | ||
) |
void Schematic::switchPaintMode | ( | ) |
int Schematic::testFile | ( | const QString & | DocName | ) | [static] |
Definition at line 1073 of file schematic_file.cpp.
float Schematic::textCorr | ( | ) |
bool Schematic::throughAllComps | ( | QTextStream * | stream, |
int & | countInit, | ||
QStringList & | Collect, | ||
QPlainTextEdit * | ErrText, | ||
int | NumPorts | ||
) | [private] |
Schematic::throughAllComps Goes through all schematic components and allows special component handling, e.g.
like subcircuit netlisting.
stream | is a pointer to the text stream used to collect the netlist |
countInit | is the reference to a counter for nodesets (initial conditions) |
Collect | is the reference to a list of collected nodesets |
ErrText | is pointer to the QPlainTextEdit used for error messages |
NumPorts | counter for the number of ports |
Definition at line 1206 of file schematic_file.cpp.
void Schematic::throughAllNodes | ( | bool | User, |
QStringList & | Collect, | ||
int & | countInit | ||
) | [private] |
Definition at line 1042 of file schematic_file.cpp.
bool Schematic::undo | ( | ) |
Definition at line 1617 of file schematic.cpp.
float Schematic::zoom | ( | float | s | ) |
float Schematic::zoomBy | ( | float | s | ) | [virtual] |
Reimplemented from QucsDoc.
Definition at line 768 of file schematic.cpp.
Q3PtrList<Component>* Schematic::Components |
Definition at line 134 of file schematic.h.
Definition at line 320 of file schematic.h.
Q3PtrList<Diagram>* Schematic::Diagrams |
Definition at line 132 of file schematic.h.
Q3PtrList<Component> Schematic::DocComps |
Definition at line 134 of file schematic.h.
Q3PtrList<Diagram> Schematic::DocDiags |
Definition at line 132 of file schematic.h.
Q3PtrList<Node> Schematic::DocNodes |
Definition at line 131 of file schematic.h.
Q3PtrList<Painting> Schematic::DocPaints |
Definition at line 133 of file schematic.h.
Q3PtrList<Wire> Schematic::DocWires |
Definition at line 130 of file schematic.h.
bool Schematic::dragIsOkay [private] |
Definition at line 193 of file schematic.h.
QFileInfo Schematic::FileInfo [private] |
hold system-independent information about a schematic file
Definition at line 195 of file schematic.h.
QString Schematic::Frame_Text0 |
Definition at line 147 of file schematic.h.
QString Schematic::Frame_Text1 |
Definition at line 147 of file schematic.h.
QString Schematic::Frame_Text2 |
Definition at line 147 of file schematic.h.
QString Schematic::Frame_Text3 |
Definition at line 147 of file schematic.h.
int Schematic::GridX |
Definition at line 142 of file schematic.h.
int Schematic::GridY |
Definition at line 142 of file schematic.h.
bool Schematic::isAnalog |
Definition at line 318 of file schematic.h.
bool Schematic::isVerilog |
Definition at line 319 of file schematic.h.
Q3PtrList<Node>* Schematic::Nodes |
Definition at line 131 of file schematic.h.
Q3PtrList<Painting>* Schematic::Paintings |
Definition at line 133 of file schematic.h.
QStringList Schematic::PortTypes [private] |
Definition at line 315 of file schematic.h.
Definition at line 138 of file schematic.h.
Definition at line 146 of file schematic.h.
DigMap Schematic::Signals [private] |
Definition at line 314 of file schematic.h.
Definition at line 139 of file schematic.h.
Q3PtrList<Painting> Schematic::SymbolPaints |
Definition at line 136 of file schematic.h.
float Schematic::tmpScale |
Definition at line 151 of file schematic.h.
Definition at line 153 of file schematic.h.
Definition at line 153 of file schematic.h.
Definition at line 153 of file schematic.h.
Definition at line 153 of file schematic.h.
Definition at line 152 of file schematic.h.
Definition at line 152 of file schematic.h.
Definition at line 152 of file schematic.h.
Definition at line 152 of file schematic.h.
QVector<QString *> Schematic::undoAction |
Definition at line 156 of file schematic.h.
Definition at line 155 of file schematic.h.
QVector<QString *> Schematic::undoSymbol |
Definition at line 158 of file schematic.h.
Definition at line 157 of file schematic.h.
Definition at line 144 of file schematic.h.
Definition at line 144 of file schematic.h.
Definition at line 144 of file schematic.h.
Definition at line 144 of file schematic.h.
Definition at line 143 of file schematic.h.
Definition at line 143 of file schematic.h.
Definition at line 143 of file schematic.h.
Definition at line 143 of file schematic.h.
Q3PtrList<Wire>* Schematic::Wires |
Definition at line 130 of file schematic.h.