Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor drawing subsystem #723

Merged
merged 41 commits into from
May 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
3d3c3ee
Extract "Ellips" primitive from a generic "Area"
wawuwo Apr 14, 2024
75484d7
Rename member "ellips" to "ellipses"
wawuwo Apr 14, 2024
a2e7d8e
Rename "Area" to "Rect"
wawuwo Apr 14, 2024
ba24ba4
Add misc::draw_richtext
wawuwo May 5, 2024
599f9a9
Add "DrawingPrimitive" interface and its implementations
wawuwo May 5, 2024
a356fa4
Add "QPainter" version of Component::paint
wawuwo May 5, 2024
b5b7d5f
Add "QPainter" version Wire::paint
wawuwo May 5, 2024
794b2d2
Add "QPainter" version of WireLabel::paint
wawuwo May 5, 2024
4e9e968
Add "QPainter" version of Node::paint
wawuwo May 5, 2024
3ba06d7
Add misc::draw_resize_handle
wawuwo May 7, 2024
a1813ee
Add "QPainter" version of Arrow::paint
wawuwo May 7, 2024
1cf43cd
Add "QPainter" version of Ellipse::paint
wawuwo May 7, 2024
44dfae9
Add "QPainter" version of Rectangle::paint
wawuwo May 7, 2024
820ba2d
Add "QPainter" version of GraphicText::paint
wawuwo May 7, 2024
1ee8364
Add "QPainter" version of GraphicLine::paint
wawuwo May 7, 2024
0cbb383
Add "QPainter" version of EllipseArc::paint
wawuwo May 7, 2024
c8af759
Add "QPainter" version of Painting::paint
wawuwo May 7, 2024
17d4f0a
Add "QPainter" version of PortSymbol::paint
wawuwo May 7, 2024
05c186b
Add "QPainter" version of ID_Text::paint
wawuwo May 17, 2024
423c887
Add "QPainter" version of Graph::drawCircleSymbols
wawuwo May 18, 2024
7340b6d
Add "QPainter" version of Graph::drawArrowSymbols
wawuwo May 18, 2024
a6ef626
Add "QPainter" version of Graph::drawStarSymbols
wawuwo May 18, 2024
e1c4ce7
Add "QPainter" version of Graph::drawLines
wawuwo May 18, 2024
3fb9458
Add "QPainter" version of Graph::paintLines
wawuwo May 18, 2024
b407e38
Add "QPainter" version of Graph::paint
wawuwo May 18, 2024
1dc52b0
Add "QPainter" version of Marker::paint
wawuwo May 18, 2024
c5ac979
Add "QPainter" version of Diagram::paint
wawuwo May 18, 2024
4c5a6fa
Add "QPainter" version of TabDiagram::paint
wawuwo May 18, 2024
2476576
Add "QPainter" version of TimingDiagram::paint
wawuwo May 18, 2024
be88d06
Add "QPainter" drawing functions to Schematic
wawuwo May 18, 2024
c416126
Add "QPainter" version of Schematic::paintFrame
wawuwo May 18, 2024
99e11f6
Add "QPainter" version of Schematic::drawGrid
wawuwo May 18, 2024
b97cf20
Make Schematic::drawContents use QPainter-based drawing
wawuwo May 18, 2024
8fd201e
Rewrite printing and export to image using QPainter "paint" methods
wawuwo May 18, 2024
e9f5228
Rewrite Component::paintIcon without using ViewPainter
wawuwo May 18, 2024
1a05e13
Remove ViewPainter and related stuff
wawuwo May 18, 2024
4a7dc25
Remove unused functions from ImageWriter
wawuwo May 18, 2024
f171eba
fixup! Add "QPainter" version of TabDiagram::paint
wawuwo May 19, 2024
4ae6c25
fixup! Add "QPainter" version of TimingDiagram::paint
wawuwo May 19, 2024
fd9e2fc
fixup! Make Schematic::drawContents use QPainter-based drawing
wawuwo May 23, 2024
f6fda4d
fixup! Add "QPainter" version of Graph::drawLines
wawuwo May 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions qucs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ ADD_SUBDIRECTORY( spicecomponents )
SET(QUCS_SRCS
element.cpp octave_window.cpp qucsdoc.cpp
textdoc.cpp main.cpp schematic.cpp
mnemo.cpp qucs.cpp viewpainter.cpp
mnemo.cpp qucs.cpp
module.cpp schematic_element.cpp wire.cpp schematic_render.cpp
mouseactions.cpp qucs_actions.cpp schematic_file.cpp
wirelabel.cpp node.cpp qucs_init.cpp
Expand All @@ -150,7 +150,6 @@ settings.h
syntax.h
symbolwidget.h
textdoc.h
viewpainter.h
wire.h
wirelabel.h
)
Expand Down
Loading
Loading