forked from qt-creator/qt-creator
Fix taborder in debugger dialogs
Task-number: QTCREATORBUG-8946 Change-Id: Ib09f5e3238e27ed8712da12a1f18b051aef82669 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -243,16 +243,18 @@ StartApplicationDialog::StartApplicationDialog(QWidget *parent)
|
|||||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
setWindowTitle(tr("Start Debugger"));
|
setWindowTitle(tr("Start Debugger"));
|
||||||
|
|
||||||
|
d->kitChooser = new KitChooser(this);
|
||||||
|
d->kitChooser->populate();
|
||||||
|
|
||||||
|
d->serverPortLabel = new QLabel(tr("Server port:"), this);
|
||||||
|
d->serverPortSpinBox = new QSpinBox(this);
|
||||||
|
d->serverPortSpinBox->setRange(1, 65535);
|
||||||
|
|
||||||
d->localExecutablePathChooser = new PathChooser(this);
|
d->localExecutablePathChooser = new PathChooser(this);
|
||||||
d->localExecutablePathChooser->setExpectedKind(PathChooser::File);
|
d->localExecutablePathChooser->setExpectedKind(PathChooser::File);
|
||||||
d->localExecutablePathChooser->setPromptDialogTitle(tr("Select Executable"));
|
d->localExecutablePathChooser->setPromptDialogTitle(tr("Select Executable"));
|
||||||
d->localExecutablePathChooser->lineEdit()->setHistoryCompleter(QLatin1String("LocalExecutable"));
|
d->localExecutablePathChooser->lineEdit()->setHistoryCompleter(QLatin1String("LocalExecutable"));
|
||||||
|
|
||||||
d->serverPortSpinBox = new QSpinBox(this);
|
|
||||||
d->serverPortSpinBox->setRange(1, 65535);
|
|
||||||
|
|
||||||
d->serverPortLabel = new QLabel(tr("Server port:"), this);
|
|
||||||
|
|
||||||
d->arguments = new FancyLineEdit(this);
|
d->arguments = new FancyLineEdit(this);
|
||||||
d->arguments->setHistoryCompleter(QLatin1String("CommandlineArguments"));
|
d->arguments->setHistoryCompleter(QLatin1String("CommandlineArguments"));
|
||||||
|
|
||||||
@@ -263,9 +265,6 @@ StartApplicationDialog::StartApplicationDialog(QWidget *parent)
|
|||||||
|
|
||||||
d->runInTerminalCheckBox = new QCheckBox(this);
|
d->runInTerminalCheckBox = new QCheckBox(this);
|
||||||
|
|
||||||
d->kitChooser = new KitChooser(this);
|
|
||||||
d->kitChooser->populate();
|
|
||||||
|
|
||||||
d->breakAtMainCheckBox = new QCheckBox(this);
|
d->breakAtMainCheckBox = new QCheckBox(this);
|
||||||
d->breakAtMainCheckBox->setText(QString());
|
d->breakAtMainCheckBox->setText(QString());
|
||||||
|
|
||||||
|
|||||||
@@ -255,14 +255,14 @@ AttachCoreDialog::AttachCoreDialog(QWidget *parent)
|
|||||||
d->forceLocalLabel->setText(tr("Use local core file:"));
|
d->forceLocalLabel->setText(tr("Use local core file:"));
|
||||||
d->forceLocalLabel->setBuddy(d->forceLocalCheckBox);
|
d->forceLocalLabel->setBuddy(d->forceLocalCheckBox);
|
||||||
|
|
||||||
d->localCoreFileName = new PathChooser(this);
|
|
||||||
d->localCoreFileName->setExpectedKind(PathChooser::File);
|
|
||||||
d->localCoreFileName->setPromptDialogTitle(tr("Select Core File"));
|
|
||||||
|
|
||||||
d->localExecFileName = new PathChooser(this);
|
d->localExecFileName = new PathChooser(this);
|
||||||
d->localExecFileName->setExpectedKind(PathChooser::File);
|
d->localExecFileName->setExpectedKind(PathChooser::File);
|
||||||
d->localExecFileName->setPromptDialogTitle(tr("Select Executable"));
|
d->localExecFileName->setPromptDialogTitle(tr("Select Executable"));
|
||||||
|
|
||||||
|
d->localCoreFileName = new PathChooser(this);
|
||||||
|
d->localCoreFileName->setExpectedKind(PathChooser::File);
|
||||||
|
d->localCoreFileName->setPromptDialogTitle(tr("Select Core File"));
|
||||||
|
|
||||||
d->overrideStartScriptFileName = new PathChooser(this);
|
d->overrideStartScriptFileName = new PathChooser(this);
|
||||||
d->overrideStartScriptFileName->setExpectedKind(PathChooser::File);
|
d->overrideStartScriptFileName->setExpectedKind(PathChooser::File);
|
||||||
d->overrideStartScriptFileName->setPromptDialogTitle(tr("Select Startup Script"));
|
d->overrideStartScriptFileName->setPromptDialogTitle(tr("Select Startup Script"));
|
||||||
|
|||||||
@@ -199,6 +199,10 @@ DeviceProcessesDialogPrivate::DeviceProcessesDialogPrivate(KitChooser *chooser,
|
|||||||
connect(&proxyModel, SIGNAL(layoutChanged()), SLOT(handleProcessListUpdated()));
|
connect(&proxyModel, SIGNAL(layoutChanged()), SLOT(handleProcessListUpdated()));
|
||||||
connect(buttonBox, SIGNAL(accepted()), q, SLOT(accept()));
|
connect(buttonBox, SIGNAL(accepted()), q, SLOT(accept()));
|
||||||
connect(buttonBox, SIGNAL(rejected()), q, SLOT(reject()));
|
connect(buttonBox, SIGNAL(rejected()), q, SLOT(reject()));
|
||||||
|
|
||||||
|
QWidget::setTabOrder(kitChooser, processFilterLineEdit);
|
||||||
|
QWidget::setTabOrder(processFilterLineEdit, procView);
|
||||||
|
QWidget::setTabOrder(procView, buttonBox);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeviceProcessesDialogPrivate::setDevice(const IDevice::ConstPtr &device)
|
void DeviceProcessesDialogPrivate::setDevice(const IDevice::ConstPtr &device)
|
||||||
|
|||||||
Reference in New Issue
Block a user