ProjectExplorer: Rename column headers in DeploymentDataView

Local and Remote are not quite right anymore, it's more generic
"Source" now.

Change-Id: I06e8985d4515bfeae3c31c8fcff6bd188916df86
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2022-06-02 14:22:25 +02:00
parent 2029fe8c99
commit 5dddc42f70
2 changed files with 3 additions and 4 deletions

View File

@@ -47,9 +47,9 @@
\image qtcreator-embedded-linux-deployment-details.png "Deploy to embedded Linux" \image qtcreator-embedded-linux-deployment-details.png "Deploy to embedded Linux"
The files to be installed are listed in the \uicontrol {Deployment} step, The files to be installed are listed in the \uicontrol {Deployment} step,
the \uicontrol {Files to deploy} field. The \uicontrol {Local File Path} the \uicontrol {Files to deploy} field. The \uicontrol {Source File Path}
field displays the location of the file on the development PC. The field displays the location of the file on the development PC. The
\uicontrol {Remote Directory} field displays the directory where the file is \uicontrol {Target Directory} field displays the directory where the file is
installed on the device. Text in red color indicates that the information is installed on the device. Text in red color indicates that the information is
missing. missing.

View File

@@ -84,11 +84,10 @@ public:
bool isEditable = false; bool isEditable = false;
}; };
DeploymentDataView::DeploymentDataView(DeployConfiguration *dc) DeploymentDataView::DeploymentDataView(DeployConfiguration *dc)
{ {
auto model = new TreeModel<DeploymentDataItem>(this); auto model = new TreeModel<DeploymentDataItem>(this);
model->setHeader({tr("Local File Path"), tr("Remote Directory")}); model->setHeader({tr("Source File Path"), tr("Target Directory")});
auto view = new QTreeView(this); auto view = new QTreeView(this);
view->setMinimumSize(QSize(100, 100)); view->setMinimumSize(QSize(100, 100));