Changeset View
Changeset View
Standalone View
Standalone View
src/EditProfileDialog.cpp
Show First 20 Lines • Show All 618 Lines • ▼ Show 20 Line(s) | |||||
619 | 619 | | |||
620 | void EditProfileDialog::setAntialiasText(bool enable) | 620 | void EditProfileDialog::setAntialiasText(bool enable) | ||
621 | { | 621 | { | ||
622 | QFont profileFont = _ui->fontPreviewLabel->font(); | 622 | QFont profileFont = _ui->fontPreviewLabel->font(); | ||
623 | profileFont.setStyleStrategy(enable ? QFont::PreferAntialias : QFont::NoAntialias); | 623 | profileFont.setStyleStrategy(enable ? QFont::PreferAntialias : QFont::NoAntialias); | ||
624 | 624 | | |||
625 | // update preview to reflect text smoothing state | 625 | // update preview to reflect text smoothing state | ||
626 | fontSelected(profileFont); | 626 | fontSelected(profileFont); | ||
627 | preview(Profile::AntiAliasFonts, enable); | ||||
627 | updateTempProfileProperty(Profile::AntiAliasFonts, enable); | 628 | updateTempProfileProperty(Profile::AntiAliasFonts, enable); | ||
628 | } | 629 | } | ||
629 | 630 | | |||
630 | void EditProfileDialog::setBoldIntense(bool enable) | 631 | void EditProfileDialog::setBoldIntense(bool enable) | ||
631 | { | 632 | { | ||
632 | preview(Profile::BoldIntense, enable); | 633 | preview(Profile::BoldIntense, enable); | ||
633 | updateTempProfileProperty(Profile::BoldIntense, enable); | 634 | updateTempProfileProperty(Profile::BoldIntense, enable); | ||
634 | } | 635 | } | ||
▲ Show 20 Lines • Show All 1122 Lines • Show Last 20 Lines |