Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields | Protected Slots | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
Schematic Class Reference

#include <schematic.h>

Inheritance diagram for Schematic:
QucsDoc

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 ()
 
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 ()
 
QString copySelected (bool)
 
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)
 
NodeinsertNode (int, int, Element *)
 
NodeselectedNode (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)
 
WireselectedWire (int, int)
 
WiresplitWire (Wire *, Node *)
 
bool oneTwoWires (Node *)
 
void deleteWire (Wire *)
 
MarkersetMarker (int, int)
 
void markerLeftRight (bool, Q3PtrList< Element > *)
 
void markerUpDown (bool, Q3PtrList< Element > *)
 
ElementselectElement (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)
 
bool distributeHorizontal ()
 
bool distributeVertical ()
 
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 *)
 
ComponentselectCompText (int, int, int &, int &)
 
ComponentsearchSelSubcircuit ()
 
ComponentselectedComponent (int, int)
 
void deleteComp (Component *)
 
void oneLabel (Node *)
 
int placeNodeLabel (WireLabel *)
 
ElementgetWireLabel (Node *)
 
void insertNodeLabel (WireLabel *)
 
void copyLabels (int &, int &, int &, int &, Q3PtrList< Element > *)
 
PaintingselectedPainting (float, float)
 
void copyPaintings (int &, int &, int &, int &, Q3PtrList< Element > *)
 
void getSchWidthAndHeight (int &w, int &h, int &xmin_, int &ymin_)
 
void getSelAreaWidthAndHeight (int &wsel, int &hsel, int &xmin_sel_, int &ymin_sel_)
 
bool createLibNetlist (QTextStream *, QTextEdit *, int)
 
bool createSubNetlist (QTextStream *, int &, QStringList &, QTextEdit *, int)
 
void createSubNetlistPlain (QTextStream *, QTextEdit *, int)
 
int prepareNetlist (QTextStream &, QStringList &, QTextEdit *)
 
QString createNetlist (QTextStream &, int)
 
bool loadDocument ()
 
void highlightWireLabels (void)
 
- Public Member Functions inherited from QucsDoc
 QucsDoc (QucsApp *, const QString &)
 
virtual ~QucsDoc ()
 
QString fileSuffix (void)
 
QString fileBase (void)
 

Data Fields

Q3PtrList< Wire > * Wires
 
Q3PtrList< WireDocWires
 
Q3PtrList< Node > * Nodes
 
Q3PtrList< NodeDocNodes
 
Q3PtrList< Diagram > * Diagrams
 
Q3PtrList< DiagramDocDiags
 
Q3PtrList< Painting > * Paintings
 
Q3PtrList< PaintingDocPaints
 
Q3PtrList< Component > * Components
 
Q3PtrList< ComponentDocComps
 
Q3PtrList< PaintingSymbolPaints
 
QList< PostedPaintEventPostedPaintEvents
 
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
 
Q3PtrList< QString > UndoStack
 
Q3PtrList< QString > UndoSymbol
 
bool isAnalog
 
bool isVerilog
 
bool creatingLib
 
- Data Fields inherited from QucsDoc
QString DocName
 
QString DataSet
 
QString DataDisplay
 
QString Script
 
QString SimTime
 
QDateTime lastSaved
 
float Scale
 
QucsAppApp
 
bool DocChanged
 
bool SimOpenDpl
 
bool SimRunScript
 
int showBias
 
bool GridOn
 
int tmpPosX
 
int tmpPosY
 

Protected Slots

void slotScrollUp ()
 
void slotScrollDown ()
 
void slotScrollLeft ()
 
void slotScrollRight ()
 

Protected Member Functions

bool sizeOfFrame (int &, int &)
 
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 &, Q3PtrList< Element > *)
 
int copyComponents (int &, int &, int &, int &, Q3PtrList< Element > *)
 
void copyComponents2 (int &, int &, int &, int &, Q3PtrList< Element > *)
 
bool copyComps2WiresPaints (int &, int &, int &, int &, Q3PtrList< Element > *)
 
int copyElements (int &, int &, int &, int &, Q3PtrList< 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 &, QTextEdit *, int)
 
void beginNetlistDigital (QTextStream &)
 
void endNetlistDigital (QTextStream &)
 
bool throughAllComps (QTextStream *, int &, QStringList &, QTextEdit *, int)
 

Static Private Member Functions

static void createNodeSet (QStringList &, int &, Conductor *, Node *)
 

Private Attributes

bool dragIsOkay
 
QFileInfo FileInfo
 
DigMap Signals
 
QStringList PortTypes
 

Additional Inherited Members

- Static Public Member Functions inherited from QucsDoc
static QString fileSuffix (const QString &)
 
static QString fileBase (const QString &)
 

Detailed Description

Definition at line 69 of file schematic.h.

Constructor & Destructor Documentation

Schematic::Schematic ( QucsApp App_,
const QString &  Name_ 
)

Definition at line 70 of file schematic.cpp.

Schematic::~Schematic ( )

Definition at line 149 of file schematic.cpp.

Member Function Documentation

void Schematic::activateCompsWithinRect ( int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 2533 of file schematic_element.cpp.

bool Schematic::activateSelectedComponents ( )

Definition at line 2607 of file schematic_element.cpp.

bool Schematic::activateSpecifiedComponent ( int  x,
int  y 
)

Definition at line 2576 of file schematic_element.cpp.

int Schematic::adjustPortNumbers ( )

Definition at line 1350 of file schematic.cpp.

bool Schematic::aligning ( int  Mode)

Definition at line 1994 of file schematic_element.cpp.

void Schematic::becomeCurrent ( bool  update)
virtual

Reimplemented from QucsDoc.

Definition at line 197 of file schematic.cpp.

void Schematic::beginNetlistDigital ( QTextStream &  stream)
private

Definition at line 1784 of file schematic_file.cpp.

void Schematic::collectDigitalSignals ( void  )
private

Definition at line 1063 of file schematic_file.cpp.

bool Schematic::connectHWires1 ( Wire w)

Definition at line 225 of file schematic_element.cpp.

bool Schematic::connectHWires2 ( Wire w)

Definition at line 461 of file schematic_element.cpp.

bool Schematic::connectVWires1 ( Wire w)

Definition at line 288 of file schematic_element.cpp.

bool Schematic::connectVWires2 ( Wire w)

Definition at line 515 of file schematic_element.cpp.

void Schematic::contentsDragEnterEvent ( QDragEnterEvent *  Event)
protected

Definition at line 2069 of file schematic.cpp.

void Schematic::contentsDragLeaveEvent ( QDragLeaveEvent *  )
protected

Definition at line 2123 of file schematic.cpp.

void Schematic::contentsDragMoveEvent ( QDragMoveEvent *  Event)
protected

Definition at line 2140 of file schematic.cpp.

void Schematic::contentsDropEvent ( QDropEvent *  Event)
protected

Definition at line 2034 of file schematic.cpp.

void Schematic::contentsMouseDoubleClickEvent ( QMouseEvent *  Event)
protected

Definition at line 582 of file schematic.cpp.

void Schematic::contentsMouseMoveEvent ( QMouseEvent *  Event)
protected

Definition at line 543 of file schematic.cpp.

void Schematic::contentsMousePressEvent ( QMouseEvent *  Event)
protected

Definition at line 550 of file schematic.cpp.

void Schematic::contentsMouseReleaseEvent ( QMouseEvent *  Event)
protected

Definition at line 575 of file schematic.cpp.

void Schematic::contentsWheelEvent ( QWheelEvent *  Event)
protected

Definition at line 1850 of file schematic.cpp.

int Schematic::copyComponents ( int &  x1,
int &  y1,
int &  x2,
int &  y2,
Q3PtrList< Element > *  ElementCache 
)
private

Definition at line 2756 of file schematic_element.cpp.

void Schematic::copyComponents2 ( int &  x1,
int &  y1,
int &  x2,
int &  y2,
Q3PtrList< Element > *  ElementCache 
)
private

Definition at line 2800 of file schematic_element.cpp.

bool Schematic::copyComps2WiresPaints ( int &  x1,
int &  y1,
int &  x2,
int &  y2,
Q3PtrList< Element > *  ElementCache 
)
private

Definition at line 1823 of file schematic_element.cpp.

int Schematic::copyElements ( int &  x1,
int &  y1,
int &  x2,
int &  y2,
Q3PtrList< Element > *  ElementCache 
)
private

Definition at line 1841 of file schematic_element.cpp.

void Schematic::copyLabels ( int &  x1,
int &  y1,
int &  x2,
int &  y2,
Q3PtrList< Element > *  ElementCache 
)

Definition at line 3021 of file schematic_element.cpp.

void Schematic::copyPaintings ( int &  x1,
int &  y1,
int &  x2,
int &  y2,
Q3PtrList< Element > *  ElementCache 
)

Definition at line 3074 of file schematic_element.cpp.

QString Schematic::copySelected ( bool  cut)

Definition at line 1265 of file schematic.cpp.

int Schematic::copySelectedElements ( Q3PtrList< Element > *  p)

Definition at line 1666 of file schematic_element.cpp.

int Schematic::copyWires ( int &  x1,
int &  y1,
int &  x2,
int &  y2,
Q3PtrList< Element > *  ElementCache 
)
private

Definition at line 870 of file schematic_element.cpp.

QString Schematic::createClipboardFile ( )
private

Definition at line 53 of file schematic_file.cpp.

bool Schematic::createLibNetlist ( QTextStream *  stream,
QTextEdit *  ErrText,
int  NumPorts 
)

Definition at line 1354 of file schematic_file.cpp.

QString Schematic::createNetlist ( QTextStream &  stream,
int  NumPorts 
)

Definition at line 1827 of file schematic_file.cpp.

void Schematic::createNodeSet ( QStringList &  Collect,
int &  countInit,
Conductor pw,
Node p1 
)
staticprivate

Definition at line 1023 of file schematic_file.cpp.

bool Schematic::createSubcircuitSymbol ( )

Definition at line 158 of file schematic.cpp.

bool Schematic::createSubNetlist ( QTextStream *  stream,
int &  countInit,
QStringList &  Collect,
QTextEdit *  ErrText,
int  NumPorts 
)

Definition at line 1666 of file schematic_file.cpp.

void Schematic::createSubNetlistPlain ( QTextStream *  stream,
QTextEdit *  ErrText,
int  NumPorts 
)

Definition at line 1394 of file schematic_file.cpp.

QString Schematic::createSymbolUndoString ( char  Op)
private

Definition at line 955 of file schematic_file.cpp.

QString Schematic::createUndoString ( char  Op)
private

Definition at line 921 of file schematic_file.cpp.

void Schematic::deleteComp ( Component c)

Definition at line 2730 of file schematic_element.cpp.

bool Schematic::deleteElements ( )

Definition at line 1889 of file schematic_element.cpp.

void Schematic::deleteWire ( Wire w)

Definition at line 835 of file schematic_element.cpp.

void Schematic::deselectElements ( Element e)

Definition at line 1364 of file schematic_element.cpp.

bool Schematic::distributeHorizontal ( )

Definition at line 2123 of file schematic_element.cpp.

bool Schematic::distributeVertical ( )

Definition at line 2232 of file schematic_element.cpp.

void Schematic::drawContents ( QPainter *  p,
int  ,
int  ,
int  ,
int   
)
protected

Definition at line 418 of file schematic.cpp.

bool Schematic::elementsOnGrid ( )

Definition at line 1685 of file schematic.cpp.

void Schematic::endNetlistDigital ( QTextStream &  stream)
private

Definition at line 1817 of file schematic_file.cpp.

void Schematic::enlargeView ( int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 832 of file schematic.cpp.

QFileInfo Schematic::getFileInfo ( void  )
inline

Definition at line 147 of file schematic.h.

void Schematic::getSchWidthAndHeight ( int &  w,
int &  h,
int &  xmin_,
int &  ymin_ 
)

Definition at line 2155 of file schematic.cpp.

void Schematic::getSelAreaWidthAndHeight ( int &  wsel,
int &  hsel,
int &  xmin_sel_,
int &  ymin_sel_ 
)

Definition at line 2221 of file schematic.cpp.

Element * Schematic::getWireLabel ( Node pn_)

Definition at line 2954 of file schematic_element.cpp.

bool Schematic::giveNodeNames ( QTextStream *  stream,
int &  countInit,
QStringList &  Collect,
QTextEdit *  ErrText,
int  NumPorts 
)
private

Definition at line 1313 of file schematic_file.cpp.

void Schematic::highlightWireLabels ( void  )

Definition at line 1319 of file schematic_element.cpp.

void Schematic::insertComponent ( Component c)

Definition at line 2491 of file schematic_element.cpp.

void Schematic::insertComponentNodes ( Component c,
bool  noOptimize 
)
private

Definition at line 2372 of file schematic_element.cpp.

Node * Schematic::insertNode ( int  x,
int  y,
Element e 
)

Definition at line 41 of file schematic_element.cpp.

void Schematic::insertNodeLabel ( WireLabel pl)

Definition at line 2994 of file schematic_element.cpp.

void Schematic::insertRawComponent ( Component c,
bool  noOptimize = true 
)

Definition at line 2407 of file schematic_element.cpp.

int Schematic::insertWire ( Wire w)

Definition at line 571 of file schematic_element.cpp.

int Schematic::insertWireNode1 ( Wire w)

Definition at line 103 of file schematic_element.cpp.

int Schematic::insertWireNode2 ( Wire w)

Definition at line 353 of file schematic_element.cpp.

bool Schematic::load ( )
virtual

Reimplemented from QucsDoc.

Definition at line 1281 of file schematic.cpp.

bool Schematic::loadComponents ( QTextStream *  stream,
Q3PtrList< Component > *  List = 0 
)
private
Todo:
enable user to load partial schematic, skip unknown components

Definition at line 629 of file schematic_file.cpp.

bool Schematic::loadDiagrams ( QTextStream *  stream,
Q3PtrList< Diagram > *  List 
)
private

Definition at line 736 of file schematic_file.cpp.

bool Schematic::loadDocument ( )

Definition at line 826 of file schematic_file.cpp.

bool Schematic::loadIntoNothing ( QTextStream *  stream)
private

Definition at line 105 of file schematic_file.cpp.

bool Schematic::loadPaintings ( QTextStream *  stream,
Q3PtrList< Painting > *  List 
)
private

Definition at line 779 of file schematic_file.cpp.

bool Schematic::loadProperties ( QTextStream *  stream)
private

Definition at line 521 of file schematic_file.cpp.

bool Schematic::loadWires ( QTextStream *  stream,
Q3PtrList< Element > *  List = 0 
)
private

Definition at line 699 of file schematic_file.cpp.

void Schematic::markerLeftRight ( bool  left,
Q3PtrList< Element > *  Elements 
)

Definition at line 957 of file schematic_element.cpp.

void Schematic::markerUpDown ( bool  up,
Q3PtrList< Element > *  Elements 
)

Definition at line 973 of file schematic_element.cpp.

bool Schematic::mirrorXComponents ( )

Definition at line 1119 of file schematic.cpp.

bool Schematic::mirrorYComponents ( )

Definition at line 1188 of file schematic.cpp.

void Schematic::newMovingWires ( Q3PtrList< Element > *  p,
Node pn,
int  pos 
)

Definition at line 1547 of file schematic_element.cpp.

void Schematic::oneLabel ( Node n1)

Definition at line 2845 of file schematic_element.cpp.

bool Schematic::oneTwoWires ( Node n)

Definition at line 791 of file schematic_element.cpp.

void Schematic::paintFrame ( ViewPainter p)
protected

Definition at line 351 of file schematic.cpp.

void Schematic::paintGrid ( ViewPainter p,
int  cX,
int  cY,
int  Width,
int  Height 
)

Definition at line 870 of file schematic.cpp.

void Schematic::paintSchToViewpainter ( ViewPainter p,
bool  printAll,
bool  toImage,
int  screenDpiX = 96,
int  printerDpiX = 300 
)

Definition at line 657 of file schematic.cpp.

bool Schematic::paste ( QTextStream *  stream,
Q3PtrList< Element > *  pe 
)

Definition at line 1274 of file schematic.cpp.

bool Schematic::pasteFromClipboard ( QTextStream *  stream,
Q3PtrList< Element > *  pe 
)
private

Definition at line 120 of file schematic_file.cpp.

int Schematic::placeNodeLabel ( WireLabel pl)

Definition at line 2920 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 
)

Definition at line 533 of file schematic.cpp.

int Schematic::prepareNetlist ( QTextStream &  stream,
QStringList &  Collect,
QTextEdit *  ErrText 
)

Definition at line 1692 of file schematic_file.cpp.

void Schematic::print ( QPrinter *  ,
QPainter *  Painter,
bool  printAll,
bool  fitToPage 
)
virtual

Reimplemented from QucsDoc.

Definition at line 589 of file schematic.cpp.

void Schematic::propagateNode ( QStringList &  Collect,
int &  countInit,
Node pn 
)
private

Definition at line 1079 of file schematic_file.cpp.

bool Schematic::rebuild ( QString *  s)
private

Definition at line 976 of file schematic_file.cpp.

bool Schematic::rebuildSymbol ( QString *  s)
private

Definition at line 999 of file schematic_file.cpp.

void Schematic::recreateComponent ( Component Comp)

Definition at line 2428 of file schematic_element.cpp.

bool Schematic::redo ( )

Definition at line 1631 of file schematic.cpp.

void Schematic::reloadGraphs ( )

Definition at line 1256 of file schematic.cpp.

bool Schematic::rotateElements ( )

Definition at line 1022 of file schematic.cpp.

int Schematic::save ( )
virtual

Reimplemented from QucsDoc.

Definition at line 1317 of file schematic.cpp.

int Schematic::saveDocument ( )
private

Definition at line 339 of file schematic_file.cpp.

int Schematic::saveSymbolCpp ( void  )

Definition at line 186 of file schematic_file.cpp.

int Schematic::saveSymbolJSON ( void  )

Definition at line 254 of file schematic_file.cpp.

bool Schematic::scrollDown ( int  step)

Definition at line 1912 of file schematic.cpp.

bool Schematic::scrollLeft ( int  step)

Definition at line 1938 of file schematic.cpp.

bool Schematic::scrollRight ( int  step)

Definition at line 1963 of file schematic.cpp.

bool Schematic::scrollUp ( int  step)

Definition at line 1887 of file schematic.cpp.

Component * Schematic::searchSelSubcircuit ( )

Definition at line 2700 of file schematic_element.cpp.

Component * Schematic::selectCompText ( int  x_,
int  y_,
int &  w,
int &  h 
)

Definition at line 2677 of file schematic_element.cpp.

Component * Schematic::selectedComponent ( int  x,
int  y 
)

Definition at line 2718 of file schematic_element.cpp.

Node * Schematic::selectedNode ( int  x,
int  y 
)

Definition at line 84 of file schematic_element.cpp.

Painting * Schematic::selectedPainting ( float  fX,
float  fY 
)

Definition at line 3062 of file schematic_element.cpp.

Wire * Schematic::selectedWire ( int  x,
int  y 
)

Definition at line 752 of file schematic_element.cpp.

Element * Schematic::selectElement ( float  fX,
float  fY,
bool  flag,
int *  index = 0 
)

Definition at line 1003 of file schematic_element.cpp.

int Schematic::selectElements ( int  x1,
int  y1,
int  x2,
int  y2,
bool  flag 
)

Definition at line 1405 of file schematic_element.cpp.

void Schematic::selectMarkers ( )

Definition at line 1535 of file schematic_element.cpp.

void Schematic::selectWireLine ( Element pe,
Node pn,
bool  ctrl 
)

Definition at line 733 of file schematic_element.cpp.

void Schematic::setChanged ( bool  c,
bool  fillStack = false,
char  Op = '*' 
)

Definition at line 278 of file schematic.cpp.

void Schematic::setComponentNumber ( Component c)

Definition at line 2340 of file schematic_element.cpp.

void Schematic::setCompPorts ( Component pc)

Definition at line 2638 of file schematic_element.cpp.

Marker * Schematic::setMarker ( int  x,
int  y 
)

Definition at line 930 of file schematic_element.cpp.

void Schematic::setName ( const QString &  Name_)
virtual

Reimplemented from QucsDoc.

Definition at line 260 of file schematic.cpp.

void Schematic::setOnGrid ( int &  x,
int &  y 
)

Definition at line 858 of file schematic.cpp.

void Schematic::showAll ( )
virtual

Reimplemented from QucsDoc.

Definition at line 776 of file schematic.cpp.

void Schematic::showNoZoom ( )
virtual

Reimplemented from QucsDoc.

Definition at line 801 of file schematic.cpp.

void Schematic::simpleInsertComponent ( Component c)
private

Definition at line 592 of file schematic_file.cpp.

void Schematic::simpleInsertWire ( Wire pw)
private

Definition at line 660 of file schematic_file.cpp.

void Schematic::sizeOfAll ( int &  xmin,
int &  ymin,
int &  xmax,
int &  ymax 
)

Definition at line 931 of file schematic.cpp.

bool Schematic::sizeOfFrame ( int &  xall,
int &  yall 
)
protected

Definition at line 332 of file schematic.cpp.

void Schematic::slotScrollDown ( )
protectedslot

Definition at line 1998 of file schematic.cpp.

void Schematic::slotScrollLeft ( )
protectedslot

Definition at line 2008 of file schematic.cpp.

void Schematic::slotScrollRight ( )
protectedslot

Definition at line 2018 of file schematic.cpp.

void Schematic::slotScrollUp ( )
protectedslot

Definition at line 1988 of file schematic.cpp.

Wire * Schematic::splitWire ( Wire pw,
Node pn 
)

Definition at line 763 of file schematic_element.cpp.

void Schematic::switchPaintMode ( )

Definition at line 1822 of file schematic.cpp.

float Schematic::textCorr ( )

Definition at line 922 of file schematic.cpp.

bool Schematic::throughAllComps ( QTextStream *  stream,
int &  countInit,
QStringList &  Collect,
QTextEdit *  ErrText,
int  NumPorts 
)
private

Definition at line 1122 of file schematic_file.cpp.

void Schematic::throughAllNodes ( bool  User,
QStringList &  Collect,
int &  countInit 
)
private

Definition at line 1033 of file schematic_file.cpp.

bool Schematic::undo ( )

Definition at line 1578 of file schematic.cpp.

float Schematic::zoom ( float  s)

Definition at line 745 of file schematic.cpp.

float Schematic::zoomBy ( float  s)
virtual

Reimplemented from QucsDoc.

Definition at line 766 of file schematic.cpp.

Field Documentation

Q3PtrList<Component>* Schematic::Components

Definition at line 123 of file schematic.h.

bool Schematic::creatingLib

Definition at line 298 of file schematic.h.

Q3PtrList<Diagram>* Schematic::Diagrams

Definition at line 121 of file schematic.h.

Q3PtrList<Component> Schematic::DocComps

Definition at line 123 of file schematic.h.

Q3PtrList<Diagram> Schematic::DocDiags

Definition at line 121 of file schematic.h.

Q3PtrList<Node> Schematic::DocNodes

Definition at line 120 of file schematic.h.

Q3PtrList<Painting> Schematic::DocPaints

Definition at line 122 of file schematic.h.

Q3PtrList<Wire> Schematic::DocWires

Definition at line 119 of file schematic.h.

bool Schematic::dragIsOkay
private

Definition at line 172 of file schematic.h.

QFileInfo Schematic::FileInfo
private

Definition at line 173 of file schematic.h.

QString Schematic::Frame_Text0

Definition at line 136 of file schematic.h.

QString Schematic::Frame_Text1

Definition at line 136 of file schematic.h.

QString Schematic::Frame_Text2

Definition at line 136 of file schematic.h.

QString Schematic::Frame_Text3

Definition at line 136 of file schematic.h.

int Schematic::GridX

Definition at line 131 of file schematic.h.

int Schematic::GridY

Definition at line 131 of file schematic.h.

bool Schematic::isAnalog

Definition at line 296 of file schematic.h.

bool Schematic::isVerilog

Definition at line 297 of file schematic.h.

Q3PtrList<Node>* Schematic::Nodes

Definition at line 120 of file schematic.h.

Q3PtrList<Painting>* Schematic::Paintings

Definition at line 122 of file schematic.h.

QStringList Schematic::PortTypes
private

Definition at line 293 of file schematic.h.

QList<PostedPaintEvent> Schematic::PostedPaintEvents

Definition at line 127 of file schematic.h.

int Schematic::showFrame

Definition at line 135 of file schematic.h.

DigMap Schematic::Signals
private

Definition at line 292 of file schematic.h.

bool Schematic::symbolMode

Definition at line 128 of file schematic.h.

Q3PtrList<Painting> Schematic::SymbolPaints

Definition at line 125 of file schematic.h.

float Schematic::tmpScale

Definition at line 140 of file schematic.h.

int Schematic::tmpUsedX1

Definition at line 142 of file schematic.h.

int Schematic::tmpUsedX2

Definition at line 142 of file schematic.h.

int Schematic::tmpUsedY1

Definition at line 142 of file schematic.h.

int Schematic::tmpUsedY2

Definition at line 142 of file schematic.h.

int Schematic::tmpViewX1

Definition at line 141 of file schematic.h.

int Schematic::tmpViewX2

Definition at line 141 of file schematic.h.

int Schematic::tmpViewY1

Definition at line 141 of file schematic.h.

int Schematic::tmpViewY2

Definition at line 141 of file schematic.h.

Q3PtrList<QString> Schematic::UndoStack

Definition at line 144 of file schematic.h.

Q3PtrList<QString> Schematic::UndoSymbol

Definition at line 145 of file schematic.h.

int Schematic::UsedX1

Definition at line 133 of file schematic.h.

int Schematic::UsedX2

Definition at line 133 of file schematic.h.

int Schematic::UsedY1

Definition at line 133 of file schematic.h.

int Schematic::UsedY2

Definition at line 133 of file schematic.h.

int Schematic::ViewX1

Definition at line 132 of file schematic.h.

int Schematic::ViewX2

Definition at line 132 of file schematic.h.

int Schematic::ViewY1

Definition at line 132 of file schematic.h.

int Schematic::ViewY2

Definition at line 132 of file schematic.h.

Q3PtrList<Wire>* Schematic::Wires

Definition at line 119 of file schematic.h.


The documentation for this class was generated from the following files: