summaryrefslogtreecommitdiffstats
path: root/gettextfromc.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-02-27 22:52:03 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-27 18:57:48 -0800
commit006265d7a088cff4fea665159dbb454956c2cd76 (patch)
tree0b12c541de10ca46045f2b014b2abbfa05f43c41 /gettextfromc.cpp
parent63f7f37e4617b15af9bbd1894d529da2c22a34f1 (diff)
downloadsubsurface-006265d7a088cff4fea665159dbb454956c2cd76.tar.gz
Try to fix the font issue on the ruler.
This changes the ruler a bit, I hope nobody gets offended by it. :) The main issue is that the scene is now 100x100 pixels wide, so the font was *really* huge. and setting itemIgnoresTransformations on the ruler broke a lot of stuff. I removed the code that painted the text and created a QGraphics TextItem for that - that will hold the text for the ruler. Then I played with the view to get the correct angle of the line, that was in scene coordinates and thus, could not be used directly on the item that had ignore transformation changes. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gettextfromc.cpp')
0 files changed, 0 insertions, 0 deletions