class library: PlotView optimizations
commita2eebb94770c896983306a569bed01bbf2cfe878
authorJakob Leben <jakob.leben@gmail.com>
Sun, 25 Sep 2011 20:20:20 +0000 (25 22:20 +0200)
committerJakob Leben <jakob.leben@gmail.com>
Sun, 25 Sep 2011 20:20:20 +0000 (25 22:20 +0200)
tree53682a9719078cb713187ab3d1f7198f54acab8c
parentc6ec56a3d59122c6d027f76e69e0acf53c7f72fd
class library: PlotView optimizations

* Do not set grid dash pattern unnecessarily, it tremendously slows down
  drawing in Qt.
* Use Pen.push and Pen.pop instead of individually reverting Pen
  state changes.
* Do not set same font for every grid value label.
SCClassLibrary/Common/GUI/PlusGUI/Math/PlotView.sc