[Spreadsheet] add preference page and 3 import/export parameters

This commit is contained in:
mwganson
2021-09-27 21:57:45 -05:00
parent fdfe0291fd
commit 0be3565dbe
10 changed files with 518 additions and 4 deletions

View File

@@ -41,8 +41,10 @@
#include <Gui/Document.h>
#include <Gui/Application.h>
#include <Gui/BitmapFactory.h>
#include <Gui/WidgetFactory.h>
#include <Gui/Language/Translator.h>
#include <Mod/Spreadsheet/App/Sheet.h>
#include "DlgSettingsImp.h"
#include "Workbench.h"
#include "ViewProviderSpreadsheet.h"
#include "SpreadsheetView.h"
@@ -119,6 +121,9 @@ PyMOD_INIT_FUNC(SpreadsheetGui)
SpreadsheetGui::Workbench::init();
SpreadsheetGui::SheetView::init();
// register preference page
new Gui::PrefPageProducer<SpreadsheetGui::DlgSettingsImp> ("Spreadsheet");
// add resources and reloads the translators
loadSpreadsheetResource();