MCPcopy Create free account
hub / github.com/chris2511/xca / XcaDialog

Method XcaDialog

widgets/XcaDialog.cpp:18–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16};
17
18XcaDialog::XcaDialog(QWidget *parent, enum pki_type type, QWidget *w,
19 const QString &t, const QString &desc,
20 const QString &help_ctx)
21 : QDialog(parent ? parent : mainwin)
22{
23 setupUi(this);
24 setWindowTitle(XCA_TITLE);
25 image->setPixmap(QPixmap(PixmapMap[type]));
26 content->addWidget(w);
27 mainwin->helpdlg->register_ctxhelp_button(this, help_ctx);
28
29 widg = w;
30 title->setText(t);
31 if (desc.isEmpty()) {
32 verticalLayout->removeWidget(description);
33 delete description;
34 } else {
35 description->setText(desc);
36 }
37}
38
39void XcaDialog::noSpacer()
40{

Callers

nothing calls this directly

Calls 3

QPixmapClass · 0.70
isEmptyMethod · 0.45

Tested by

no test coverage detected