diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-01-16 16:01:54 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-17 08:03:18 +1300 |
commit | deafa40d34f2a4c86a51aed6eb57c542356387db (patch) | |
tree | ac44d9d674b6c3c9fe758002b2a0102755ea13d4 /qt-ui/diveshareexportdialog.cpp | |
parent | d8830ad31c9e84b215df15f30e79dc13ee59c39c (diff) | |
download | subsurface-deafa40d34f2a4c86a51aed6eb57c542356387db.tar.gz |
Inherit from QGraphicsRectItem instead of QGraphicsShapeItem
a rectangle is *much* faster to paint than a simple ShapeItem,
so this is a safer choice. We still need to create the paint
method so we can use the correct roundness for the rectangle.
Currently it's white with a 1px solid line - terrible. :)
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveshareexportdialog.cpp')
0 files changed, 0 insertions, 0 deletions