Companion enhancements for checklist editor, model print and compare (2 3 branch) (#6434)

* Model print and compare include GFs enhancement

* Model print and compare include checklist contents

* Add missing brackets and code tidy up

* Print message if cannot open or read checklist file

* Missing GV label translation
Move some checklist code to helpers

* Refactor to use helpers and add cursor position

* Move improved version of removeAccents to helpers and apply to checklist

* Force fixed width font for edit window
This commit is contained in:
Neil Horne
2019-05-20 18:56:23 +02:00
committed by Bertrand Songis
parent 0544846dc3
commit b4175eade3
11 changed files with 181 additions and 50 deletions
+4 -1
View File
@@ -21,6 +21,8 @@
#ifndef _CHECKLISTDIALOG_H_
#define _CHECKLISTDIALOG_H_
#include "modeldata.h"
#include <QtWidgets>
namespace Ui {
@@ -31,13 +33,14 @@ class ChecklistDialog : public QDialog {
Q_OBJECT
public:
ChecklistDialog(QWidget *parent, const QString modelName);
ChecklistDialog(QWidget *parent, const ModelData * model);
~ChecklistDialog();
private slots:
void import();
void update();
void changed();
void cursorChanged();
private:
Ui::ChecklistDialog *ui;