From 2785d7bc3eaaf9a2015dc2d281d7bf6136edc2c4 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Tue, 3 Jun 2014 09:35:19 +0200 Subject: Layout improvements to the dive plan Changed to html. Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- qt-ui/diveplanner.ui | 2 +- qt-ui/mainwindow.cpp | 2 +- qt-ui/mainwindow.ui | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'qt-ui') diff --git a/qt-ui/diveplanner.ui b/qt-ui/diveplanner.ui index fe3f46086..4e1071470 100644 --- a/qt-ui/diveplanner.ui +++ b/qt-ui/diveplanner.ui @@ -195,7 +195,7 @@ In dive plan, show duration (relative time) of stops - display stop duration + display segment duration diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index af2fcf5c7..a49cdc460 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -416,7 +416,7 @@ void MainWindow::planCreated() void MainWindow::setPlanNotes(const char *notes) { - ui.divePlanOutput->setText(notes); + ui.divePlanOutput->setHtml(notes); } void MainWindow::on_actionDivePlanner_triggered() diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui index 1dd6db59f..2e7e7ad4b 100644 --- a/qt-ui/mainwindow.ui +++ b/qt-ui/mainwindow.ui @@ -548,6 +548,9 @@ font: 13pt "Courier"; + + true + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> -- cgit v1.2.3-70-g09d2