Layout improvements to the dive plan

Changed to html.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Robert C. Helling 2014-06-03 09:35:19 +02:00 committed by Dirk Hohndel
parent b249370ffe
commit 2785d7bc3e
4 changed files with 18 additions and 15 deletions

View file

@ -195,7 +195,7 @@
<string>In dive plan, show duration (relative time) of stops</string>
</property>
<property name="text">
<string>display stop duration</string>
<string>display segment duration</string>
</property>
</widget>
</item>

View file

@ -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()

View file

@ -548,6 +548,9 @@
<property name="styleSheet">
<string notr="true">font: 13pt &quot;Courier&quot;;</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;