[SCM] MoleCuilder branch Refactoring_QtMoleculeList_as_QModel created. v1.4.9-40-g2050b29
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "MoleCuilder". The branch, Refactoring_QtMoleculeList_as_QModel has been created at 2050b29519e754ad0beb183c35ca29f6a1821f0d (commit) - Log ----------------------------------------------------------------- commit 2050b29519e754ad0beb183c35ca29f6a1821f0d Author: Frederik Heber <heber@ins.uni-bonn.de> Date: Sun Jan 25 13:44:56 2015 +0100 Commented-out all debugging messages in QtMoleculeList rewrite. commit 2696b18ee037df67c33588e50eedff4bd5d454dd Author: Frederik Heber <heber@ins.uni-bonn.de> Date: Fri Jan 23 00:05:47 2015 +0100 Visibility checkstate is working for molecule and group item. - signals are emitted and states are correctly changed, tested on amylose molecule in a box filled with ~3000 water molecules. commit d2dbb5d0e44b22b8ce90269637cb0083893cd951 Author: Frederik Heber <heber@ins.uni-bonn.de> Date: Sun Jan 18 21:01:55 2015 +0100 Moved rowsSelected() over to QtMoleculeListView. commit 53c1ffef25e1f1a2be3255d54d76e7406c289ab9 Author: Frederik Heber <heber@ins.uni-bonn.de> Date: Sun Jan 18 15:04:26 2015 +0100 Modified QtMoleculeList to use QtMoleculeItemFactory. - setOccurrence() gives index of row back if it should be romoved. - i.e. moving a row and removing the row entirely does not mix. Updating it and then removing it is ill-spent time. - split off removing a group item from setting its occurrence. - emitDirtyState() only uses the first column item despite for the dirty items set. Otherwise we have multiple moves of the same row. - this is safer than removing the entry in MoleculeBiMap right away as thread in GUI and Action thread do not access in an orderly fashion. - using vector of molecule pointers and set operations to fulfil validity of updates. commit 6d1e0a20c242ab6c7b0ace4bf93ff53336b9cc26 Author: Frederik Heber <heber@ins.uni-bonn.de> Date: Sun Jan 18 14:33:42 2015 +0100 Added a slew of specific QtMoleculeItem for each of the COLUMNs. - all are produced solely by the factory and are very specific. commit bed759c3580c014ab9c1b68a1a4aac91cd7ea811 Author: Frederik Heber <heber@ins.uni-bonn.de> Date: Sun Jan 18 13:26:55 2015 +0100 Added basic QtMoleculeItem and ...Factory. commit f62e60b49352956721b98a4106d50c6f681b3f7d Author: Frederik Heber <heber@ins.uni-bonn.de> Date: Sun Jan 18 13:22:39 2015 +0100 Moved QtMoleculeList files into own subfolder. - added QtMoleculeListView. - we are going to need a lot of classes for this to work properly. commit 1c339020006b5484f510d76a06f91189152fffd5 Author: Frederik Heber <heber@ins.uni-bonn.de> Date: Wed Jan 14 23:33:09 2015 +0100 Header row is correct again in QtMoleculeList. - had to overwrite headerData(). commit 8ccf3bf66a4ce9f95ab6fdbedd40c087b343c68d Author: Frederik Heber <heber@ins.uni-bonn.de> Date: Wed Jan 14 23:32:34 2015 +0100 First change to convert QtMoleculeList into QStandardItemModel. - this will keep the QtMoleculeList up-to-date automatically. commit 6770fae428b376912daabc349a23817dfb4f32e9 Author: Frederik Heber <heber@ins.uni-bonn.de> Date: Fri Dec 12 20:43:05 2014 +0100 Extracted add/removeItem in QtMoleculeList, no more complete refilling on update. - this is unfinished as we can't find the item to a molecule that is about to be removed. We have to switch to Qt's Model/View ... argh. commit 0a5beb2d06fe674eb3c4ac2eacac4d873e32ee7f Author: Frederik Heber <heber@ins.uni-bonn.de> Date: Sun Jan 18 17:08:59 2015 +0100 MEMFIX: removeAtomsinMolecule() worked directly with molecule::iterator which accesses invalid memory. - now, we copy all atom pointers prior to removal and work only on this copy commit 24edfefcd1e3d9e98ec524cea974f518103d90f6 Author: Frederik Heber <heber@ins.uni-bonn.de> Date: Sun Jan 18 14:34:20 2015 +0100 Added AboutToBeRemoved channel to molecule. - this allows UI elements to remove all items related a molecule's presence before any destructor has started doing something. Note that subjectKilled() does not work here, as "higher" (in inheritance hierarchy) have already been called and changed the instance. We need to know right when the instance is still intact. commit d050880efce3b9d1088af54300c3f85b8668e1ff Author: Frederik Heber <heber@ins.uni-bonn.de> Date: Sat Jan 17 17:45:07 2015 +0100 FIX: Atom is notified when its father dies and resets father to itself then. - this caused a segfault with FormatParser::save() when a copied molecule's atoms is stored. commit 910a5d3c24251e841b550140856bdc84d981ff30 Author: Frederik Heber <heber@ins.uni-bonn.de> Date: Tue Jan 27 12:38:34 2015 +0100 atom::father is now accessible through getter and setter only. - this allows to manage signing on and off to and from father to be notified when it's destroyed. ----------------------------------------------------------------------- hooks/post-receive -- MoleCuilder
participants (1)
-
git@ins.uni-bonn.de