Lines Matching refs:dialog
135 QDialog* dialog = new QDialog(QApplication::activeWindow()); in authenticationRequired() local
136 dialog->setWindowTitle("HTTP Authentication"); in authenticationRequired()
138 QGridLayout* layout = new QGridLayout(dialog); in authenticationRequired()
139 dialog->setLayout(layout); in authenticationRequired()
141 QLabel* messageLabel = new QLabel(dialog); in authenticationRequired()
148 QLabel* userLabel = new QLabel("Username:", dialog); in authenticationRequired()
150 QLineEdit* userInput = new QLineEdit(dialog); in authenticationRequired()
153 QLabel* passLabel = new QLabel("Password:", dialog); in authenticationRequired()
155 QLineEdit* passInput = new QLineEdit(dialog); in authenticationRequired()
161 | QDialogButtonBox::Cancel, Qt::Horizontal, dialog); in authenticationRequired()
162 connect(buttonBox, SIGNAL(accepted()), dialog, SLOT(accept())); in authenticationRequired()
163 connect(buttonBox, SIGNAL(rejected()), dialog, SLOT(reject())); in authenticationRequired()
166 if (dialog->exec() == QDialog::Accepted) { in authenticationRequired()
173 delete dialog; in authenticationRequired()