void QRoundProgressBar::setDecimals(int count) {
    if (count >= 0 && count != m_decimals) {
        m_decimals = count;

        valueFormatChanged();
    }
}
void QRoundProgressBar::setFormat(const QString &format) {
    if (format != m_format) {
        m_format = format;

        valueFormatChanged();
    }
}
示例#3
0
void QRoundProgressBar::resetFormat()
{
    m_format = QString::null;

    valueFormatChanged();
}