1 | NO CONTENT: modified file, binary diff hidden |
|
NO CONTENT: modified file, binary diff hidden |
@@ -44,8 +44,16 void ChartBackground::setDropShadowEnabled(bool enabled) | |||||
44 | if (enabled) { |
|
44 | if (enabled) { | |
45 | if (!m_dropShadow) { |
|
45 | if (!m_dropShadow) { | |
46 | m_dropShadow = new QGraphicsDropShadowEffect(); |
|
46 | m_dropShadow = new QGraphicsDropShadowEffect(); | |
|
47 | #ifdef Q_OS_MAC | |||
|
48 | m_dropShadow->setBlurRadius(15); | |||
|
49 | m_dropShadow->setOffset(0, 0); | |||
|
50 | #elif defined(Q_OS_WIN) | |||
|
51 | m_dropShadow->setBlurRadius(10); | |||
|
52 | m_dropShadow->setOffset(0, 0); | |||
|
53 | #else | |||
47 | m_dropShadow->setBlurRadius(10); |
|
54 | m_dropShadow->setBlurRadius(10); | |
48 | m_dropShadow->setOffset(5, 5); |
|
55 | m_dropShadow->setOffset(5, 5); | |
|
56 | #endif | |||
49 | setGraphicsEffect(m_dropShadow); |
|
57 | setGraphicsEffect(m_dropShadow); | |
50 | } |
|
58 | } | |
51 | } else { |
|
59 | } else { |
General Comments 0
You need to be logged in to leave comments.
Login now