diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2014-06-24 16:01:50 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-24 21:39:58 +0800 |
commit | 33fa8bdf9614685c2a7f37d24a09d642ff164f98 (patch) | |
tree | 312273e828d5220980c6afe54687c4b1ee037ac4 /qt-ui | |
parent | e9c4259db43dbd2de204295f9cdae8c9cc267a5d (diff) | |
download | subsurface-33fa8bdf9614685c2a7f37d24a09d642ff164f98.tar.gz |
HTML: user export options ask for numbering
Ask if you want the exporter to rearrange the dive numbers starting from
1 or use the existing numbers in subsurface. one may need to have the
dives exported in the same number to reference them easier.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/divelogexportdialog.cpp | 4 | ||||
-rw-r--r-- | qt-ui/divelogexportdialog.ui | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/divelogexportdialog.cpp b/qt-ui/divelogexportdialog.cpp index 82e3aaf74..285071ceb 100644 --- a/qt-ui/divelogexportdialog.cpp +++ b/qt-ui/divelogexportdialog.cpp @@ -114,8 +114,8 @@ void DiveLogExportDialog::exportHTMLsettings(const QString &filename) QFile file(filename); file.open(QIODevice::WriteOnly | QIODevice::Text); QTextStream out(&file); - out << "settings = {\"fontSize\":\"" << fontSize << "\",\"fontFamily\":\"" << fontFamily << "\",\"listOnly\":\""<< - ui->exportListOnly->isChecked() << "\",}"; + out << "settings = {\"fontSize\":\"" << fontSize << "\",\"fontFamily\":\"" << fontFamily << "\",\"listOnly\":\"" + << ui->exportListOnly->isChecked() << "\",\"subsurfaceNumbers\":\"" << ui->exportSubsurfaceNumber->isChecked() << "\",}"; file.close(); } diff --git a/qt-ui/divelogexportdialog.ui b/qt-ui/divelogexportdialog.ui index 610ee53e9..202a7b4db 100644 --- a/qt-ui/divelogexportdialog.ui +++ b/qt-ui/divelogexportdialog.ui @@ -185,9 +185,9 @@ </property> <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="0"> - <widget class="QCheckBox" name="checkBox"> + <widget class="QCheckBox" name="exportSubsurfaceNumber"> <property name="text"> - <string>Order dives from 0</string> + <string>Subsurface Numbers</string> </property> </widget> </item> |