|
|
|
@ -230,12 +230,12 @@ void KPasswordDialog::init()
|
|
|
|
|
lbl->setPixmap(pix);
|
|
|
|
|
lbl->setAlignment(AlignHCenter|AlignVCenter);
|
|
|
|
|
lbl->setFixedSize(lbl->sizeHint());
|
|
|
|
|
m_pGrid->addWidget(lbl, 0, 0, (TQ_Alignment)AlignCenter);
|
|
|
|
|
m_pGrid->addWidget(lbl, 0, 0, (Qt::AlignmentFlags)AlignCenter);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
m_pHelpLbl = new TQLabel(m_pMain);
|
|
|
|
|
m_pHelpLbl->setAlignment(AlignLeft|AlignVCenter|WordBreak);
|
|
|
|
|
m_pGrid->addWidget(m_pHelpLbl, 0, 2, (TQ_Alignment)AlignLeft);
|
|
|
|
|
m_pGrid->addWidget(m_pHelpLbl, 0, 2, (Qt::AlignmentFlags)AlignLeft);
|
|
|
|
|
m_pGrid->addRowSpacing(1, 10);
|
|
|
|
|
m_pGrid->setRowStretch(1, 12);
|
|
|
|
|
|
|
|
|
@ -248,7 +248,7 @@ void KPasswordDialog::init()
|
|
|
|
|
lbl->setAlignment(AlignLeft|AlignVCenter);
|
|
|
|
|
lbl->setText(i18n("&Password:"));
|
|
|
|
|
lbl->setFixedSize(lbl->sizeHint());
|
|
|
|
|
m_pGrid->addWidget(lbl, 7, 0, (TQ_Alignment)AlignLeft);
|
|
|
|
|
m_pGrid->addWidget(lbl, 7, 0, (Qt::AlignmentFlags)AlignLeft);
|
|
|
|
|
|
|
|
|
|
TQHBoxLayout *h_lay = new TQHBoxLayout();
|
|
|
|
|
m_pGrid->addLayout(h_lay, 7, 2);
|
|
|
|
@ -278,8 +278,8 @@ void KPasswordDialog::init()
|
|
|
|
|
m_keepWarnLbl->hide();
|
|
|
|
|
}
|
|
|
|
|
connect(cb, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotKeep(bool)));
|
|
|
|
|
m_pGrid->addWidget(cb, 9, 2, (TQ_Alignment)(AlignLeft|AlignVCenter));
|
|
|
|
|
// m_pGrid->addWidget(m_keepWarnLbl, 13, 2, (TQ_Alignment)(AlignLeft|AlignVCenter));
|
|
|
|
|
m_pGrid->addWidget(cb, 9, 2, (Qt::AlignmentFlags)(AlignLeft|AlignVCenter));
|
|
|
|
|
// m_pGrid->addWidget(m_keepWarnLbl, 13, 2, (Qt::AlignmentFlags)(AlignLeft|AlignVCenter));
|
|
|
|
|
m_pGrid->addMultiCellWidget(m_keepWarnLbl, 13, 13, 0, 3);
|
|
|
|
|
} else if (m_Type == NewPassword) {
|
|
|
|
|
m_pGrid->addRowSpacing(8, 10);
|
|
|
|
@ -287,7 +287,7 @@ void KPasswordDialog::init()
|
|
|
|
|
lbl->setAlignment(AlignLeft|AlignVCenter);
|
|
|
|
|
lbl->setText(i18n("&Verify:"));
|
|
|
|
|
lbl->setFixedSize(lbl->sizeHint());
|
|
|
|
|
m_pGrid->addWidget(lbl, 9, 0, (TQ_Alignment)AlignLeft);
|
|
|
|
|
m_pGrid->addWidget(lbl, 9, 0, (Qt::AlignmentFlags)AlignLeft);
|
|
|
|
|
|
|
|
|
|
h_lay = new TQHBoxLayout();
|
|
|
|
|
m_pGrid->addLayout(h_lay, 9, 2);
|
|
|
|
@ -381,12 +381,12 @@ void KPasswordDialog::addLine(TQString key, TQString value)
|
|
|
|
|
TQLabel *lbl = new TQLabel(key, m_pMain);
|
|
|
|
|
lbl->setAlignment(AlignLeft|AlignTop);
|
|
|
|
|
lbl->setFixedSize(lbl->sizeHint());
|
|
|
|
|
m_pGrid->addWidget(lbl, m_Row+2, 0, (TQ_Alignment)AlignLeft);
|
|
|
|
|
m_pGrid->addWidget(lbl, m_Row+2, 0, (Qt::AlignmentFlags)AlignLeft);
|
|
|
|
|
|
|
|
|
|
lbl = new TQLabel(value, m_pMain);
|
|
|
|
|
lbl->setAlignment(AlignTop|WordBreak);
|
|
|
|
|
lbl->setFixedSize(275, lbl->heightForWidth(275));
|
|
|
|
|
m_pGrid->addWidget(lbl, m_Row+2, 2, (TQ_Alignment)AlignLeft);
|
|
|
|
|
m_pGrid->addWidget(lbl, m_Row+2, 2, (Qt::AlignmentFlags)AlignLeft);
|
|
|
|
|
++m_Row;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|