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

Method PwDialog

widgets/PwDialog.cpp:50–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50PwDialog::PwDialog(pass_info *p, bool write)
51 :QDialog(p->getWidget()), pi(p)
52{
53 pi = p;
54 setupUi(this);
55 image->setPixmap(QPixmap(pi->getImage()));
56 description->setText(pi->getDescription());
57 title->setText(pi->getType());
58 if (!pi->getTitle().isEmpty())
59 setWindowTitle(pi->getTitle());
60 else
61 setWindowTitle(XCA_TITLE);
62 if (pi->getType() != "PIN")
63 takeHex->hide();
64 setRW(write);
65}
66
67void PwDialog::setRW(bool write)
68{

Callers

nothing calls this directly

Calls 7

getWidgetMethod · 0.80
getImageMethod · 0.80
getDescriptionMethod · 0.80
getTitleMethod · 0.80
QPixmapClass · 0.70
getTypeMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected