28 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
1a05e1310e Remove ViewPainter and related stuff
After switching everything to drawing using bare QPainter, a lot
of ViewPainter-based stuff became unused and basically obsolete,
including the ViewPainter itself.
2024-05-19 00:42:48 +03:00
Andrey Kalmykov
794b2d2aeb Add "QPainter" version of WireLabel::paint 2024-05-18 23:27:32 +03:00
Vadim Kuznetzov
cb285f28bc Corrected wire label size determination
1. Wire label bounding box is determined correctly. Introduced
WireLabel::getLableBounding() method. It is used for selected labels
and Schematic::sizeOfAll() method.

2. Corrected wire size determination for selected wires.
2016-10-31 18:24:26 +03:00
in3otd
eca8a5bc84 Use bold font for label "highlighting"
On Mac there is no difference between normal and demi-bold for
some fonts.
2016-02-16 20:04:39 +01:00
in3otd
ec04367a02 Restore previously used font when exiting paint()
When a WireLabel was highlighted the current font was set to be
Qt::DemiBold and not restored when exiting the paint() function;
as a side effect other Elements using the same ViewPainter had
their text drawn also in DemiBold.
2016-02-12 19:32:23 +01:00
in3otd
4663f99e3d Corrected font metrics computation.
In Qt4 the actual font size depends on the device that will actually
paint the font. To avoid to explicitly ask the painter to compute
the font size we can use QFontMetrics::QFontMetrics(font, 0) to
always obtain the correct screen metric (behavior similar to the Qt3
default). All istances of QFontMetrics have now been so modified.
2014-12-02 23:43:16 +01:00
yodalee
e1feae0eec remove qtgui in main directory 2014-11-04 12:48:23 +08: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
Richard C Crozier
7dd52cf5d2 Added highlighting of matched wire labels 2014-01-20 12:15:44 +00:00
Guilherme Brondani Torri
b8a6bf48c6 cli: add simple command line to Qucs
If command is parsed, it does not launch the graphical application.
Implemented schematic to netlist function.
2013-12-02 14:22:25 +01:00
Frans Schreuder
7e88bd8572 Fixed fontmetrics, throughout qucs it was taken from QucsSettings.font. that way the scale was ignored. 2013-06-15 00:29:58 +02:00
Frans Schreuder
5736ac67f8 Compiles with QT4 (still crashes when opening a document) 2012-10-31 09:15:06 +01:00
margraf
45997a5b14 *** empty log message *** 2006-07-31 06:04:54 +00:00
margraf
c0ffdbf2ce *** empty log message *** 2006-07-03 06:02:08 +00:00
margraf
1448bea334 *** empty log message *** 2005-10-24 06:10:35 +00:00
margraf
a200d0d1e5 *** empty log message *** 2005-04-19 06:33:22 +00:00
margraf
aa91bd9405 *** empty log message *** 2004-12-19 16:06:24 +00:00
margraf
85818e0b07 *** empty log message *** 2004-11-28 18:29:33 +00:00
margraf
a40b0e808a *** empty log message *** 2004-11-11 18:32:34 +00:00
margraf
1386f3ac77 *** empty log message *** 2004-10-10 16:06:55 +00:00
margraf
8d93a050ba *** empty log message *** 2004-10-02 16:21:06 +00:00
margraf
dc3ff06e26 *** empty log message *** 2004-06-22 16:49:55 +00:00
margraf
db10da140d *** empty log message *** 2004-06-16 17:41:33 +00:00
margraf
9729d52abf *** empty log message *** 2004-05-29 13:05:04 +00:00
margraf
80e06eebeb *** empty log message *** 2004-05-22 12:33:45 +00:00
margraf
d8304714e5 *** empty log message *** 2004-04-24 11:52:43 +00:00
margraf
47c82e4059 *** empty log message *** 2004-03-28 19:51:04 +00:00