forked from qt-creator/qt-creator
DebuggerDialogs: Remember debugger path history
Change-Id: I02e6b7ff5e2280cabb0f23de942941756f7bf3a0 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -248,7 +248,7 @@ StartApplicationDialog::StartApplicationDialog(QWidget *parent)
|
|||||||
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->setHistoryCompleter(QLatin1String("LocalExecutable"));
|
||||||
|
|
||||||
d->arguments = new FancyLineEdit(this);
|
d->arguments = new FancyLineEdit(this);
|
||||||
d->arguments->setHistoryCompleter(QLatin1String("CommandlineArguments"));
|
d->arguments->setHistoryCompleter(QLatin1String("CommandlineArguments"));
|
||||||
@@ -256,7 +256,7 @@ StartApplicationDialog::StartApplicationDialog(QWidget *parent)
|
|||||||
d->workingDirectory = new PathChooser(this);
|
d->workingDirectory = new PathChooser(this);
|
||||||
d->workingDirectory->setExpectedKind(PathChooser::ExistingDirectory);
|
d->workingDirectory->setExpectedKind(PathChooser::ExistingDirectory);
|
||||||
d->workingDirectory->setPromptDialogTitle(tr("Select Working Directory"));
|
d->workingDirectory->setPromptDialogTitle(tr("Select Working Directory"));
|
||||||
d->workingDirectory->lineEdit()->setHistoryCompleter(QLatin1String("WorkingDirectory"));
|
d->workingDirectory->setHistoryCompleter(QLatin1String("WorkingDirectory"));
|
||||||
|
|
||||||
d->runInTerminalCheckBox = new QCheckBox(this);
|
d->runInTerminalCheckBox = new QCheckBox(this);
|
||||||
|
|
||||||
|
|||||||
@@ -85,6 +85,7 @@ DebuggerItemConfigWidget::DebuggerItemConfigWidget(DebuggerItemModel *model) :
|
|||||||
m_binaryChooser = new PathChooser(this);
|
m_binaryChooser = new PathChooser(this);
|
||||||
m_binaryChooser->setExpectedKind(PathChooser::ExistingCommand);
|
m_binaryChooser->setExpectedKind(PathChooser::ExistingCommand);
|
||||||
m_binaryChooser->setMinimumWidth(400);
|
m_binaryChooser->setMinimumWidth(400);
|
||||||
|
m_binaryChooser->setHistoryCompleter(QLatin1String("DebuggerPaths"));
|
||||||
|
|
||||||
m_cdbLabel = new QLabel(this);
|
m_cdbLabel = new QLabel(this);
|
||||||
m_cdbLabel->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
m_cdbLabel->setTextInteractionFlags(Qt::TextBrowserInteraction);
|
||||||
|
|||||||
Reference in New Issue
Block a user