Home | History | Annotate | Download | only in QtTestBrowser

Lines Matching full:dialog

864     QDialog* dialog = new QDialog(this);
865 dialog->resize(size().width() * 0.7, dialog->size().height());
866 dialog->setMaximumHeight(dialog->size().height());
867 dialog->setWindowTitle("Change User Agent");
869 QVBoxLayout* layout = new QVBoxLayout(dialog);
870 dialog->setLayout(layout);
873 QComboBox* combo = new QComboBox(dialog);
884 | QDialogButtonBox::Cancel, Qt::Horizontal, dialog);
885 connect(buttonBox, SIGNAL(accepted()), dialog, SLOT(accept()));
886 connect(buttonBox, SIGNAL(rejected()), dialog, SLOT(reject()));
890 if (dialog->exec() && !combo->currentText().isEmpty()) {
897 delete dialog;