1. 15 Dec, 2017 2 commits
    • Alessandro Portale's avatar
      QmlDesigner: Add manual test for pixel perfect formeditor overlays · 6e802988
      Alessandro Portale authored
      We have a few off-by-ones in the visualization of selection, boundary,
      etc. Also, there are differences between low and high DPI, aswell as
      different platforms.
      This manual test is supposed to enable proper analysis whether the
      visualizations are correct or not.
      Change-Id: Iee407d37a2c6f2f272e11a4d9774532343463bc1
      Reviewed-by: Thomas Hartmann's avatarThomas Hartmann <thomas.hartmann@qt.io>
    • hjk's avatar
      De-emphasize PluginManager::getObjects<Type>() · cc883023
      hjk authored
      ... by additionally keeping local (currently non-owning) pools per
      "interesting" type.
      Current situation:
        - The global object pool does not scale well for looking up
          objects, as iteration plus qobject_cast typically iterates
          over all pooled objects.
        - User code that can use typed results from the object
          pool need to have access to the full type definition anyway,
          i.e.  depend on the plugin of the target class anyway.
      The patch here solves the scaling problem is to have local
      type-specific pools to which objects register in their
      constructors and deregister in their destructors.
      This patch here does *not* change the ownership model of the
      pooled objects, however, it opens the possibility to change
      the ownership model per type (e.g. by not putting things into
      the global pool at all anymore and make the local pool 'owning')
      and the intent is to handle that in later patchs.
      Even without the follow-up patches this here is a performance
      improvement for the cases that access the local pools instead
      the global one, i.e. "practically all".
      Change-Id: Ib11a42df2c4ecf5e1155534730083a520dd1995b
      Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
      Reviewed-by: Christian Kandeler's avatarChristian Kandeler <christian.kandeler@qt.io>
  2. 14 Dec, 2017 14 commits
  3. 13 Dec, 2017 9 commits
  4. 12 Dec, 2017 15 commits