mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-11 01:09:58 +02:00
Added Abhishek Bansal patch:
Diagram::background_color is now selectable and make component color reverse color for contrast, thanks Abhishek git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2670 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -77,7 +77,8 @@ class Diagram : public QGraphicsScene {
|
||||
static const int yGrid;
|
||||
/// margin around the diagram
|
||||
static const qreal margin;
|
||||
|
||||
/// background color of diagram
|
||||
static QColor background_color;
|
||||
private:
|
||||
QGraphicsLineItem *conductor_setter_;
|
||||
ElementsMover *elements_mover_;
|
||||
|
||||
Reference in New Issue
Block a user