[Gammaray-commits] [KDAB/GammaRay] 847e05: First draft of porting the preview to QML.

Anton Kreuzkamp anton.kreuzkamp at kdab.com
Tue Mar 11 16:34:26 CET 2014


  Branch: refs/heads/newQuickScenePreview
  Home:   https://github.com/KDAB/GammaRay
  Commit: 847e0570a965bf550e4d230160da2be0815da2b0
      https://github.com/KDAB/GammaRay/commit/847e0570a965bf550e4d230160da2be0815da2b0
  Author: Anton Kreuzkamp <anton.kreuzkamp at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M plugins/quickinspector/CMakeLists.txt
    A plugins/quickinspector/quickinspector.qrc
    M plugins/quickinspector/quickinspectorwidget.cpp
    M plugins/quickinspector/quickinspectorwidget.h
    M plugins/quickinspector/quickinspectorwidget.ui
    A plugins/quickinspector/quickpreview.qml
    A plugins/quickinspector/quickpreviewscene.cpp
    A plugins/quickinspector/quickpreviewscene.h

  Log Message:
  -----------
  First draft of porting the preview to QML.

Already provides all features of the old preview + zooming.


  Commit: ae23e767b07f2ca1cb5702d06fd9a8fed0f22f95
      https://github.com/KDAB/GammaRay/commit/ae23e767b07f2ca1cb5702d06fd9a8fed0f22f95
  Author: Anton Kreuzkamp <anton.kreuzkamp at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M plugins/quickinspector/CMakeLists.txt
    M plugins/quickinspector/quickinspector.cpp
    M plugins/quickinspector/quickinspector.h
    M plugins/quickinspector/quickinspectorclient.cpp
    M plugins/quickinspector/quickinspectorclient.h
    M plugins/quickinspector/quickinspectorinterface.h
    M plugins/quickinspector/quickinspectorwidget.cpp
    M plugins/quickinspector/quickinspectorwidget.h
    A plugins/quickinspector/quickitemoverlay.cpp
    A plugins/quickinspector/quickitemoverlay.h
    M plugins/quickinspector/quickpreview.qml

  Log Message:
  -----------
  Improve quick scene preview.

- Add overlay for highlighting item geometry
- Add ruler to measure sizes
- Allow redirection of input events


  Commit: eebfe76687b29cbdff1884e367872fa53d807332
      https://github.com/KDAB/GammaRay/commit/eebfe76687b29cbdff1884e367872fa53d807332
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M plugins/quickinspector/quickinspectorwidget.ui

  Log Message:
  -----------
  fix build


  Commit: 0b6edec7907e982b3e3b3a40b093e65bfb52c4f2
      https://github.com/KDAB/GammaRay/commit/0b6edec7907e982b3e3b3a40b093e65bfb52c4f2
  Author: Anton Kreuzkamp <anton.kreuzkamp at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M plugins/quickinspector/quickpreview.qml

  Log Message:
  -----------
  Fix small bug with the right ruler.

Ruler size was set to the scene's width instead of its height.


  Commit: 33f03a0d54157f1edf4601bebe444cc322d56e16
      https://github.com/KDAB/GammaRay/commit/33f03a0d54157f1edf4601bebe444cc322d56e16
  Author: Anton Kreuzkamp <anton.kreuzkamp at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M CMakeLists.txt
    M plugins/quickinspector/quickpreview.qml

  Log Message:
  -----------
  Make quick scene preview update correctly.

This commit adds a dependency to QtQuick 1.1 and thus on Qt 4.8.
Therefore the minimum required Qt version is raised to 4.8.0.


  Commit: 20af913d6bc4a1605cea5dfd896c11e02a647742
      https://github.com/KDAB/GammaRay/commit/20af913d6bc4a1605cea5dfd896c11e02a647742
  Author: Anton Kreuzkamp <anton.kreuzkamp at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M plugins/quickinspector/quickpreview.qml

  Log Message:
  -----------
  Fix two small issues with quick scene preview.

- Don't reset translation when a new frame arrives
- Correctly update image size when the frame size changes


  Commit: 4e15cbd97756201adf041e8ee5c50aa174adac16
      https://github.com/KDAB/GammaRay/commit/4e15cbd97756201adf041e8ee5c50aa174adac16
  Author: Anton Kreuzkamp <anton.kreuzkamp at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M plugins/quickinspector/geometryextension/sggeometryextension.cpp
    M plugins/quickinspector/geometryextension/sggeometrymodel.cpp
    M plugins/quickinspector/quickinspector.cpp
    M plugins/quickinspector/quickinspectorclient.cpp
    M plugins/quickinspector/quickinspectorwidget.cpp
    M plugins/quickinspector/quickitemmodel.cpp
    M plugins/quickinspector/quickscenegraphmodel.cpp

  Log Message:
  -----------
  Remove qDebug()s that existed only for development


  Commit: 3a987a0220f2d670848ef47ee9542f194ac18fd4
      https://github.com/KDAB/GammaRay/commit/3a987a0220f2d670848ef47ee9542f194ac18fd4
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M CMakeLists.txt
    M cmake/ECMQt4To5Porting.cmake
    M plugins/quickinspector/CMakeLists.txt

  Log Message:
  -----------
  Handle QtDeclarative correctly for both Qt major versions.


  Commit: 51474447c4a7a78ec93ab97a402c2d7980e10619
      https://github.com/KDAB/GammaRay/commit/51474447c4a7a78ec93ab97a402c2d7980e10619
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M plugins/quickinspector/quickinspectorwidget.cpp
    M plugins/quickinspector/quickinspectorwidget.h

  Log Message:
  -----------
  Fix Qt4 build, and make this argument a const reference.


  Commit: 47a21424310bdb7057d56edab42066eb570f4e10
      https://github.com/KDAB/GammaRay/commit/47a21424310bdb7057d56edab42066eb570f4e10
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M plugins/quickinspector/quickinspector.cpp

  Log Message:
  -----------
  Build with Qt 5.1.


  Commit: 4fda3e9f7af7288c24229498c939470683f94c24
      https://github.com/KDAB/GammaRay/commit/4fda3e9f7af7288c24229498c939470683f94c24
  Author: Volker Krause <volker.krause at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M plugins/quickinspector/quickinspectorwidget.cpp
    M plugins/quickinspector/quickitemoverlay.cpp
    M plugins/quickinspector/quickitemoverlay.h

  Log Message:
  -----------
  Silence some compiler warnings and clean up includes.


  Commit: ac506c2334672e256e815645ab59c76066f6d6bb
      https://github.com/KDAB/GammaRay/commit/ac506c2334672e256e815645ab59c76066f6d6bb
  Author: Anton Kreuzkamp <anton.kreuzkamp at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M plugins/quickinspector/quickitemoverlay.cpp
    M plugins/quickinspector/quickitemoverlay.h

  Log Message:
  -----------
  Add license headers for quickitemoverlay.*


  Commit: 6fbbf46562ffc897be3399f0127235705638499a
      https://github.com/KDAB/GammaRay/commit/6fbbf46562ffc897be3399f0127235705638499a
  Author: Anton Kreuzkamp <anton.kreuzkamp at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M plugins/quickinspector/quickpreview.qml

  Log Message:
  -----------
  Add some comments to the QQ-scene preview QML code


  Commit: b19f70bda7882b8fd5d5ea0c266b701317675f06
      https://github.com/KDAB/GammaRay/commit/b19f70bda7882b8fd5d5ea0c266b701317675f06
  Author: Anton Kreuzkamp <anton.kreuzkamp at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M plugins/quickinspector/quickitemoverlay.cpp

  Log Message:
  -----------
  Use decimal rgba notation in quickitemoverlay.

Qt4 doesn't seem to support the QColor("#aarrggbb") syntax, although
the docs say so. Now we're using the decimal based
QColor(rrr, ggg, bbb, aaa) instead, which does work.


  Commit: 57c71f67dd79277e39978007b60f44f199f1f2b0
      https://github.com/KDAB/GammaRay/commit/57c71f67dd79277e39978007b60f44f199f1f2b0
  Author: Anton Kreuzkamp <anton.kreuzkamp at kdab.com>
  Date:   2014-03-11 (Tue, 11 Mar 2014)

  Changed paths:
    M plugins/quickinspector/quickpreview.qml

  Log Message:
  -----------
  Set default value for geometryData in quickpreview

This fixes a warning about not being able to assign undefined to a
QVariantHash. This commit also removes a few lines of dead code.


Compare: https://github.com/KDAB/GammaRay/compare/f9207ae3581b...57c71f67dd79


More information about the Gammaray-commits mailing list