Commit 662f94d478063f05155e3d2345aa6617f602ef38
don't use stylesheet for just making labels bold
| |   |
| 135 | 135 | void MessageEditor::setupEditorPage() |
| 136 | 136 | { |
| 137 | 137 | QFrame *editorPage = new QFrame; |
|
| editorPage->setStyleSheet(QLatin1String( |
| "QLabel { font-weight: bold; }" |
| )); |
| 142 | 138 | editorPage->setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed)); |
| 143 | 139 | |
| 144 | 140 | m_source = new FormWidget(tr("Source text"), false); |
| |   |
| 171 | 171 | layout->setMargin(0); |
| 172 | 172 | |
| 173 | 173 | m_label = new QLabel(this); |
| QFont fnt; |
| fnt.setBold(true); |
| m_label->setFont(fnt); |
| 174 | 177 | m_label->setText(label); |
| 175 | 178 | layout->addWidget(m_label); |
| 176 | 179 | |
| … | … | |
| 252 | 252 | m_minusIcon(QIcon(QLatin1String(":/images/minus.png"))) |
| 253 | 253 | { |
| 254 | 254 | m_label = new QLabel(this); |
| QFont fnt; |
| fnt.setBold(true); |
| m_label->setFont(fnt); |
| 255 | 258 | m_label->setText(label); |
| 256 | 259 | |
| 257 | 260 | m_plusButtons.append( |