bool AbstractThreeDAttributes::operator==( const AbstractThreeDAttributes& r ) const { if( isEnabled() == r.isEnabled() && depth() == r.depth() ) return true; else return false; }
bool AbstractThreeDAttributes::operator==( const AbstractThreeDAttributes& r ) const { return isEnabled() == r.isEnabled() && depth() == r.depth() && isThreeDBrushEnabled() == r.isThreeDBrushEnabled(); }
void DiagramSettings::Private::setThreeDData( const AbstractThreeDAttributes &attr ) { ui->threeDSelector->setCheckState( attr.isEnabled() ? Qt::Checked : Qt::Unchecked ); ui->autoGradient->setCheckState( attr.isThreeDBrushEnabled() ? Qt::Checked : Qt::Unchecked ); ui->barHeightInput->setValue( attr.depth() ); }