18 Commits

Author SHA1 Message Date
ivandi
f3a46cb77b Fix missing text in schematic after upgrading to Qt-6.8.0 2024-10-15 21:18:07 -04:00
Andrey Kalmykov
e80cfd1829 Make component properties keep track of their text's bounding rectangle 2024-07-14 13:15:23 +02:00
Andrey Kalmykov
e0363c2744 fixup! Generalize Text::angle() logic 2024-06-21 08:25:26 +02:00
Andrey Kalmykov
a4c9dce466 fixup! Generalize Text::angle() logic 2024-06-20 23:06:11 +02:00
Andrey Kalmykov
c1702d3c54 Generalize Text::angle() logic
May fix #765
2024-06-20 22:02:11 +02:00
Andrey Kalmykov
a9f3b68580 Add 'Polyline' drawing primitive
This type of primitive allows to draw complex figures
which consist of multiple lines. In contrast to drawing just
multiple independent lines, when drawing a polyline QPainter can
join segments in pretty way.
2024-06-04 22:36:57 +03:00
Andrey Kalmykov
c9d147c7c4 Migrate drawing primitives coordinates from int to double 2024-06-04 22:36:57 +03:00
Andrey Kalmykov
f17b81d614 Various include header cleanups 2024-05-31 20:05:46 +03:00
Andrey Kalmykov
599f9a951b Add "DrawingPrimitive" interface and its implementations
DrawingPrimitive is a common interface for the parts from which
component's appearence is built: qucs::Line, qucs::Arc, qucs::Rect,
qucs::Ellips, qucs::Text. With this commit they a turned from
"dumb" POD to more "smart" objects. Common interface also allows
to hide drawing logic and make drawing more convenient and easy
for client code.
2024-05-18 23:27:28 +03:00
yodalee
6e784d847f clean redundant include in main directory
messagedock.h messagedock.cpp

element.cpp
main.h
mnemo.h mnemo.cpp
module.cpp module.h

mouseaction.h mouseaction.cpp

node.h
octave_window.h

qucs.cpp qucs.h

syntax.h
viewpainter.h
wire.h
wirelabel.cpp wirelabel.h
2014-10-30 21:41:05 +08:00
yodalee
d525135c98 clean overload virtual warning in components 2014-10-28 14:07:13 +08:00
Richard Crozier
9d02ec90ac Added Libraries browser tab 2014-01-31 16:59:40 +00:00
Frans Schreuder
35600b50a5 Fixed the QPainter problem, All paint actions are now moved from mouseactions to schematic (to the paint event) 2012-12-05 10:12:11 +01:00
ela
81b1836e59 * initialzing variables in constructors 2007-05-06 14:37:51 +00:00
margraf
d3046a9af4 *** empty log message *** 2004-08-01 18:49:01 +00:00
margraf
db10da140d *** empty log message *** 2004-06-16 17:41:33 +00:00
ela
06ac74cdfa * new version by M.Margraf 2003-10-28 11:44:24 +00:00
ela
b7b4dd970d * Repaired CVS. 2003-10-15 21:32:36 +00:00