31 QObject::tr(
"voltage of high level")));
33 QObject::tr(
"delay time")));
35 QObject::tr(
"transfer function scaling factor")));
39 QObject::tr(
"schematic symbol")+
" [old, DIN40900]"));
51 QString s =
" " +
Ports.getFirst()->Connection->Name +
" <= not " +
52 Ports.getLast()->Connection->Name;
55 QString td =
Props.at(1)->Value;
67 bool synthesize =
true;
75 QString td =
Props.at(1)->Value;
89 QString td =
Props.at(1)->Value;
107 if(
Props.getLast()->Value.at(0) ==
'D') {
108 Lines.append(
new Line( 15,-20, 15, 20,QPen(Qt::darkBlue,2)));
109 Lines.append(
new Line(-15,-20, 15,-20,QPen(Qt::darkBlue,2)));
110 Lines.append(
new Line(-15, 20, 15, 20,QPen(Qt::darkBlue,2)));
111 Lines.append(
new Line(-15,-20,-15, 20,QPen(Qt::darkBlue,2)));
113 Texts.append(
new Text(-11,-17,
"1", Qt::darkBlue, 15.0));
117 Lines.append(
new Line(-10,-20,-10,20, QPen(Qt::darkBlue,2)));
118 Arcs.append(
new Arc(-30,-20, 40, 30, 0, 16*90,QPen(Qt::darkBlue,2)));
119 Arcs.append(
new Arc(-30,-10, 40, 30, 0,-16*90,QPen(Qt::darkBlue,2)));
120 Lines.append(
new Line( 10,-5, 10, 5,QPen(Qt::darkBlue,2)));
125 QPen(Qt::darkBlue,0), QBrush(Qt::darkBlue)));
127 Lines.append(
new Line( xr, 0, 30, 0, QPen(Qt::darkBlue,2)));
128 Lines.append(
new Line(-30, 0,-xr, 0, QPen(Qt::darkBlue,2)));
140 p->
Props.getLast()->Value =
Props.getLast()->Value;
148 Name = QObject::tr(
"Inverter");
149 BitmapFile = (
char *)
"inverter";
bool VHDL_Delay(QString &td, const QString &Name)
static Element * info(QString &, char *&, bool getNewOne=false)
Q3PtrList< struct Arc > Arcs
bool Verilog_Delay(QString &td, const QString &Name)
Definitions and declarations for the main application.
Q3PtrList< Property > Props
Superclass of all schematic drawing elements.
void recreate(Schematic *)