Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/dialogs/kis_about_application.cpp
Show First 20 Lines • Show All 192 Lines • ▼ Show 20 Line(s) | 189 | if (!lib.startsWith("#")) { | |||
---|---|---|---|---|---|
193 | } | 193 | } | ||
194 | } | 194 | } | ||
195 | } | 195 | } | ||
196 | thirdPartyHtml.append("<ul></p></body></html>"); | 196 | thirdPartyHtml.append("<ul></p></body></html>"); | ||
197 | lblThirdParty->setText(thirdPartyHtml); | 197 | lblThirdParty->setText(thirdPartyHtml); | ||
198 | } | 198 | } | ||
199 | wdgTab->addTab(lblThirdParty, i18n("Third-party libraries")); | 199 | wdgTab->addTab(lblThirdParty, i18n("Third-party libraries")); | ||
200 | 200 | | |||
201 | | ||||
202 | QPushButton *bnClose = new QPushButton(i18n("Close")); | 201 | QPushButton *bnClose = new QPushButton(i18n("Close")); | ||
202 | bnClose->setIcon(QIcon::fromTheme(QStringLiteral("dialog-close"))); | ||||
203 | connect(bnClose, SIGNAL(clicked()), SLOT(close())); | 203 | connect(bnClose, SIGNAL(clicked()), SLOT(close())); | ||
204 | 204 | | |||
205 | QHBoxLayout *hlayout = new QHBoxLayout; | 205 | QHBoxLayout *hlayout = new QHBoxLayout; | ||
206 | hlayout->setMargin(10); | 206 | hlayout->setMargin(10); | ||
207 | hlayout->addStretch(10); | 207 | hlayout->addStretch(10); | ||
208 | hlayout->addWidget(bnClose); | 208 | hlayout->addWidget(bnClose); | ||
209 | 209 | | |||
210 | | ||||
211 | | ||||
212 | vlayout->addLayout(hlayout); | 210 | vlayout->addLayout(hlayout); | ||
213 | 211 | | |||
214 | } | 212 | } |