display dialog
This commit is contained in:
+9
-3
@@ -98,9 +98,15 @@ void MainWindow::loadPath()
|
||||
loadImage(p->getImage());
|
||||
|
||||
if(!steps.isEmpty()) {
|
||||
ui->stepTitle->setText(p->getStep().first().getTitle());
|
||||
ui->LatitudeSpin->setValue(p->getStep().first().getLatitude());
|
||||
ui->longitudeSpin->setValue(p->getStep().first().getLongitude());
|
||||
Step firstStep = p->getStep().first();
|
||||
ui->stepTitle->setText(firstStep.getTitle());
|
||||
ui->LatitudeSpin->setValue(firstStep.getLatitude());
|
||||
ui->longitudeSpin->setValue(firstStep.getLongitude());
|
||||
|
||||
for(int i = 0; i < firstStep.getTexte().length(); i++) {
|
||||
QString q = firstStep.getPersonnage().at(i) + ": " + firstStep.getTexte().at(i);
|
||||
ui->dialogEdit->appendPlainText(q);
|
||||
}
|
||||
}
|
||||
|
||||
int pathCount = path.length();
|
||||
|
||||
Reference in New Issue
Block a user