| 79 | } |
| 80 | |
| 81 | void MainWindow::initValues() |
| 82 | { |
| 83 | m_threeDBarAttributes = m_diagram.threeDBarAttributes(); |
| 84 | m_threeDBarAttributes.setDepth(10.0); |
| 85 | m_threeDBarAttributes.setUseShadowColors(false); |
| 86 | threeDProperties->setChecked(m_threeDBarAttributes.isEnabled()); |
| 87 | perspectiveAngle->setValue(m_threeDBarAttributes.angle()); |
| 88 | perspectiveDepth->setValue(( int )m_threeDBarAttributes.depth()); |
| 89 | useShadowColors->setChecked(m_threeDBarAttributes.useShadowColors()); |
| 90 | m_diagram.setThreeDBarAttributes(m_threeDBarAttributes); |
| 91 | } |
| 92 | |
| 93 | void MainWindow::on_threeDProperties_toggled(bool checked) |
| 94 | { |
nothing calls this directly
no test coverage detected