Qucs / qucs

Qucs Project official mirror
http://qucs.sourceforge.net/
GNU General Public License v2.0
1.15k stars 213 forks source link

Refactor worklist #125

Closed yodalee closed 9 years ago

yodalee commented 9 years ago

Recently I tried to do some work on QGraphicsView, I found it extremely difficult. The reason is that qucsapp, schematic, textdoc, and some dialog is linked to each other closely. Move Q3scrollview to QGraphicsView will cause many hard, inefficient work. My suggestion is that: we first concentrate on some small part refactor, gradually split everything apart. We can create a new branch to do this and merge them into master periodically. Or just keep the master branch, and merge refactor every PR into master.


I will keep this issue to record the refactor works can be done, so anyone wanna help can leave what you are doing now in order to prevent duplicated work with other. Also, any proposal of refactor can be post below, I will add them into the checklist. Also, work already being merged will be removed. Many work to do, any help is welcome. Instance dungeon need more player


The old issue about Qt3 remove #101 is closed. Merged with this issues:


Refactor Work

This is some large goal which cannot be done in one PR, just list here so everyone know what we are doing:

Not conflict with refactor work "theoretically". Usually very hard work in "reality"

guitorri commented 9 years ago

@yodalee, I did some rebase/cherry-pick on the QGraphics_test branch, see https://github.com/guitorri/qucs/tree/QGraphics_test_rebase141123 It is a very quick and dirty exploration. All it does is draw QGraphicsItems (components) on the QGraphicsView (schematic). Lots of things are disabled (mouse, painters, ...). It might be helpful as a sandbox to test further refactoring.

yodalee commented 9 years ago

@guitorri Thanks the rebase work, that is very helpful when I wanna investigate how to refactor mouse action control.

yodalee commented 9 years ago

I think I will close this, and split mission into separate issues. Allow new coming easy to find what needs to do.

guitorri commented 9 years ago

@yodalee rebased again in https://github.com/guitorri/qucs/tree/QGraphicView-port-exploration