예제 #1
0
void BusyIndicator::setInnerRadius( const qreal& innerRadius )
{
    if ( qFuzzyCompare( m_innerRadius, innerRadius ) )
        return;
    m_innerRadius = innerRadius;
    updateSpinner();
    emit innerRadiusChanged();
}
예제 #2
0
void AtmospherePropertyGroup::debugDump() const {
    qDebug() << "   AtmospherePropertyGroup: ---------------------------------------------";
    qDebug() << "       Center:" << getCenter() << " has changed:" << centerChanged();
    qDebug() << "       Inner Radius:" << getInnerRadius() << " has changed:" << innerRadiusChanged();
    qDebug() << "       Outer Radius:" << getOuterRadius() << " has changed:" << outerRadiusChanged();
    qDebug() << "       Mie Scattering:" << getMieScattering() << " has changed:" << mieScatteringChanged();
    qDebug() << "       Rayleigh Scattering:" << getRayleighScattering() << " has changed:" << rayleighScatteringChanged();
    qDebug() << "       Scattering Wavelengths:" << getScatteringWavelengths() << " has changed:" << scatteringWavelengthsChanged();
    qDebug() << "       Has Stars:" << getHasStars() << " has changed:" << hasStarsChanged();
}