void DOptionPrivate::setChecked(bool checked) { if (m_checked == checked) return; m_checked = checked; D_QC(DOption); emit q->checkedChanged(m_checked); }
void DOptionPrivate::setCheckedIcon(const QString &icon) { if (icon == m_checkedIconName) return; m_checkedIconName = icon; m_checkedIconLabel->setPixmap(QPixmap(icon)); D_QC(DOption); emit q->checkedIconChanged(icon); }
QSize DX11WidgetPrivate::externSize(const QSize &size) const { D_QC(DX11Widget); return QSize(size.width() + (m_ShadowWidth + m_Border) * 2, size.height() + (m_ShadowWidth + m_Border) * 2 + q->titlebarHeight()); }