diff --git a/LogarithmPlotter/i18n/lp_de.ts b/LogarithmPlotter/i18n/lp_de.ts
index 4d9a064..2e8b5fe 100644
--- a/LogarithmPlotter/i18n/lp_de.ts
+++ b/LogarithmPlotter/i18n/lp_de.ts
@@ -5,7 +5,7 @@
About
-
+
Über LogarithmPlotter
@@ -186,6 +186,14 @@
Schließen
+
+ BoolSetting
+
+
+
+ Beim Starten auf Updates prüfen
+
+
Changelog
@@ -437,14 +445,17 @@ Diese Einstellungen können jederzeit über das Menü "Einstellungen"
LogarithmPlotter
+
Objekte
+
Einstellungen
+
Verlauf
@@ -473,14 +484,17 @@ Diese Einstellungen können jederzeit über das Menü "Einstellungen"
Geladene Datei '%1'.
+
Grafik in die Zwischenablage kopiert!
+
&Aktualisieren
+
LogarithmPlotter &aktualisieren
@@ -599,100 +613,105 @@ Diese Einstellungen können jederzeit über das Menü "Einstellungen"
Settings
-
+
Zoom auf X
-
+
Zoom auf Y
-
+
Minimum X
-
+
Maximum Y
-
+
Maximum X
-
+
Minimum Y
-
+
X-Achsen-Schritt
-
+
Y-Achsen-Schritt
-
+
Linienbreite
-
+
Textgröße (px)
-
+
Etikett der X-Achse
-
+
Etikett der Y-Achse
-
+
Logarithmische Skala in X
-
+
X-Teilung anzeigen
-
+
Y-Teilung anzeigen
-
+
Kopieren in die Zwischenablage
-
+
Grafik speichern
-
+
Grafik speichern unter
-
+
Grafik laden
+
+
+
+ Schließen
+
ThanksTo
@@ -790,12 +809,12 @@ Diese Einstellungen können jederzeit über das Menü "Einstellungen"
changelog
-
+
Changelog konnte nicht geholt werden: Server-Fehler {}.
-
+
Changelog konnte nicht geholt werden: {}.
@@ -1075,6 +1094,22 @@ Ausdruck analysiert: %3
LogarithmPlotter - Fehler
+
+
+ Klammern automatisch schließen
+
+
+
+ Syntaxhervorhebung einschalten
+
+
+
+ Automatische Vervollständigung einschalten
+
+
+
+ Syntaktische Färbung
+
function
@@ -1106,6 +1141,21 @@ Ausdruck analysiert: %3
Hochpass
+
+ general
+
+
+ Beim Starten auf Updates prüfen
+
+
+
+ Wiederherstellen-Stapel automatisch zurücksetzen
+
+
+
+ LaTeX-Rendering aktivieren
+
+
historylib
@@ -1136,64 +1186,52 @@ Ausdruck analysiert: %3
io
-
- Objekte
+ Objekte
-
- Einstellungen
+ Einstellungen
-
- Verlauf
+ Verlauf
-
- Gespeicherte Grafik auf '%1'.
+ Gespeicherte Grafik auf '%1'.
-
- Laden der Datei '%1'.
+ Laden der Datei '%1'.
-
- Unbekannter Objekttyp: %1.
+ Unbekannter Objekttyp: %1.
-
- Ungültige Datei angegeben.
+ Ungültige Datei angegeben.
-
- Die Datei konnte nicht gespeichert werden:
+ Die Datei konnte nicht gespeichert werden:
-
- Geladene Datei '%1'.
+ Geladene Datei '%1'.
-
- Grafik in die Zwischenablage kopiert!
+ Grafik in die Zwischenablage kopiert!
-
- &Aktualisieren
+ &Aktualisieren
-
- LogarithmPlotter &aktualisieren
+ LogarithmPlotter &aktualisieren
@@ -1226,7 +1264,7 @@ Der Prozess '{}' wurde mit einem Rückgabecode ungleich Null beendet {
Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melden Sie einen Fehler, falls dies der Fall ist.
-
+
+
+ settingCategory
+
+
+
+
+
+
sommegainsbode
@@ -1533,22 +1579,22 @@ Bitte vergewissern Sie sich, dass Ihre LaTeX-Installation korrekt ist, und melde
update
-
+
Ein Aktualisierung für LogarithmPlotter (v{}) ist verfügbar.
-
+
Keine Aktualisierung verfügbar.
-
+
Es konnten keine Aktualisierungsinformationen abgerufen werden: Server-Fehler {}.
-
+
Es konnten keine Aktualisierungsinformationen abgerufen werden:{}.
diff --git a/LogarithmPlotter/i18n/lp_en.ts b/LogarithmPlotter/i18n/lp_en.ts
index f565fe7..998d124 100644
--- a/LogarithmPlotter/i18n/lp_en.ts
+++ b/LogarithmPlotter/i18n/lp_en.ts
@@ -5,7 +5,7 @@
About
-
+
About LogarithmPlotter
@@ -186,6 +186,14 @@
Close
+
+ BoolSetting
+
+
+
+ Check for updates on startup
+
+
Changelog
@@ -437,14 +445,17 @@ These settings can be changed at any time from the "Settings" menu.
LogarithmPlotter
+
Objects
+
Settings
+
History
@@ -473,14 +484,17 @@ These settings can be changed at any time from the "Settings" menu.Loaded file '%1'.
+
Copied plot screenshot to clipboard!
+
&Update
+
&Update LogarithmPlotter
@@ -599,100 +613,105 @@ These settings can be changed at any time from the "Settings" menu.
Settings
-
+
X Zoom
-
+
Y Zoom
-
+
Min X
-
+
Max Y
-
+
Max X
-
+
Min Y
-
+
X Axis Step
-
+
Y Axis Step
-
+
Line width
-
+
Text size (px)
-
+
X Label
-
+
Y Label
-
+
X Log scale
-
+
Show X graduation
-
+
Show Y graduation
-
+
Copy to clipboard
-
+
Save plot
-
+
Save plot as
-
+
Open plot
+
+
+
+ Done
+
ThanksTo
@@ -790,12 +809,12 @@ These settings can be changed at any time from the "Settings" menu.
changelog
-
+
Could not fetch changelog: Server error {}.
-
+
Could not fetch changelog: {}.
@@ -1075,6 +1094,22 @@ Evaluated expression: %3
LogarithmPlotter - Drawing error
+
+
+ Automatically close parentheses and brackets
+
+
+
+ Enable syntax highlighting
+
+
+
+ Enable autocompletion
+
+
+
+ Color Scheme
+
function
@@ -1106,6 +1141,21 @@ Evaluated expression: %3
high-pass
+
+ general
+
+
+ Check for updates on startup
+
+
+
+ Reset redo stack automatically
+
+
+
+ Enable LaTeX rendering
+
+
historylib
@@ -1136,64 +1186,52 @@ Evaluated expression: %3
io
-
- Objects
+ Objects
-
- Settings
+ Settings
-
- History
+ History
-
- Saved plot to '%1'.
+ Saved plot to '%1'.
-
- Loading file '%1'.
+ Loading file '%1'.
-
- Unknown object type: %1.
+ Unknown object type: %1.
-
- Invalid file provided.
+ Invalid file provided.
-
- Could not save file:
+ Could not save file:
-
- Loaded file '%1'.
+ Loaded file '%1'.
-
- Copied plot screenshot to clipboard!
+ Copied plot screenshot to clipboard!
-
- &Update
+ &Update
-
- &Update LogarithmPlotter
+ &Update LogarithmPlotter
@@ -1226,7 +1264,7 @@ Process '{}' ended with a non-zero return code {}:
Please make sure your LaTeX installation is correct and report a bug if so.
-
+
+
+ settingCategory
+
+
+
+ General
+
+
+
+ Expression Editor
+
+
+
+ Default Graph
+
+
sommegainsbode
@@ -1533,22 +1587,22 @@ Please make sure your LaTeX installation is correct and report a bug if so.
update
-
+
An update for LogarithmPlotter (v{}) is available.
-
+
No update available.
-
+
Could not fetch update information: Server error {}.
-
+
Could not fetch update information: {}.
diff --git a/LogarithmPlotter/i18n/lp_es.ts b/LogarithmPlotter/i18n/lp_es.ts
index c8f4310..ef9e33a 100644
--- a/LogarithmPlotter/i18n/lp_es.ts
+++ b/LogarithmPlotter/i18n/lp_es.ts
@@ -5,7 +5,7 @@
About
-
+
Sobre LogarithmPlotter
@@ -105,27 +105,27 @@
-
+
-
+
-
+
-
+
-
+
@@ -175,7 +175,7 @@
-
+
@@ -183,7 +183,15 @@
-
+
+
+
+
+ BoolSetting
+
+
+
+ Comprobación de las actualizaciones al arrancar
@@ -191,12 +199,12 @@
-
+
-
+
@@ -205,12 +213,12 @@
-
+
-
+
@@ -218,42 +226,42 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -261,32 +269,32 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -294,12 +302,12 @@
-
+
-
+
@@ -307,68 +315,68 @@
-
+
-
+
-
+
-
+
-
+
- Activar el renderizado de LaTeX
+ Activar el renderizado de LaTeX
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -376,22 +384,22 @@ These settings can be changed at any time from the "Settings" menu.
-
+
-
+
-
+
-
+
@@ -399,6 +407,39 @@ These settings can be changed at any time from the "Settings" menu.
+
+
+
+
+ LogarithmPlotter
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -407,7 +448,7 @@ These settings can be changed at any time from the "Settings" menu.
-
+
@@ -415,12 +456,12 @@ These settings can be changed at any time from the "Settings" menu.
-
+
-
+
@@ -428,27 +469,27 @@ These settings can be changed at any time from the "Settings" menu.
-
+
-
+
-
+
-
+
-
+
@@ -456,135 +497,140 @@ These settings can be changed at any time from the "Settings" menu.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
Settings
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
@@ -592,27 +638,27 @@ These settings can be changed at any time from the "Settings" menu.
-
+
-
+
-
+
-
+
-
+
@@ -621,76 +667,76 @@ These settings can be changed at any time from the "Settings" menu.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
changelog
-
+
-
+
-
+
-
+
@@ -702,7 +748,7 @@ These settings can be changed at any time from the "Settings" menu.
-
+
@@ -711,152 +757,152 @@ These settings can be changed at any time from the "Settings" menu.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -864,7 +910,7 @@ These settings can be changed at any time from the "Settings" menu.
-
+
@@ -872,7 +918,7 @@ Evaluated expression: %3
%3
Undoing last change.
-
+
@@ -881,7 +927,7 @@ Undoing last change.
-
+
@@ -889,75 +935,27 @@ Undoing last change.
%2
Evaluated expression: %3
-
+
-
+
- io
+ general
-
-
-
+
+ Comprobación de las actualizaciones al arrancar
-
-
-
+
+ Restablecer la pila de rehacer automáticamente
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ Activar el renderizado de LaTeX
@@ -967,12 +965,12 @@ Evaluated expression: %3
-
+
-
+
@@ -981,38 +979,46 @@ Process '{}' ended with a non-zero return code {}:
{}
Please make sure your latex installation is correct and report a bug if so.
-
+
-
+
-
+
+
+
+
+ settingCategory
+
+
+
+
update
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -1021,7 +1027,7 @@ Please make sure your latex installation is correct and report a bug if so.
-
+
@@ -1029,27 +1035,27 @@ Please make sure your latex installation is correct and report a bug if so.
-
+
-
+
-
+
-
+
-
+
diff --git a/LogarithmPlotter/i18n/lp_fr.ts b/LogarithmPlotter/i18n/lp_fr.ts
index f9671dc..40a761b 100644
--- a/LogarithmPlotter/i18n/lp_fr.ts
+++ b/LogarithmPlotter/i18n/lp_fr.ts
@@ -5,7 +5,7 @@
About
-
+
À propos de LogarithmPlotter
@@ -187,6 +187,14 @@
Fermer
+
+ BoolSetting
+
+
+
+ Vérifier la présence de mise à jour au démarrage
+
+
Changelog
@@ -445,14 +453,17 @@ These settings can always be changed at any time from the "Settings" m
LogarithmPlotter
+
Objets
+
Paramètres
+
Historique
@@ -481,14 +492,17 @@ These settings can always be changed at any time from the "Settings" m
Fichier '%1' chargé.
+
Image du graphe copiée dans le presse-papiers !
+
&Mise à jour
+
&Mettre à jour LogarithmPlotter
@@ -607,100 +621,105 @@ These settings can always be changed at any time from the "Settings" m
Settings
-
+
Zoom en X
-
+
Zoom en Y
-
+
Min X
-
+
Max Y
-
+
Max X
-
+
Min Y
-
+
Pas de l'axe X
-
+
Pas de l'axe Y
-
+
Taille des lignes
-
+
Taille du texte (px)
-
+
Label de l'axe X
-
+
Label de l'axe Y
-
+
Échelle logarithmique en X
-
+
Montrer la graduation de l'axe X
-
+
Montrer la graduation de l'axe Y
-
+
Copier vers le presse-papiers
-
+
Sauvegarder le graphe
-
+
Sauvegarder le graphe sous
-
+
Ouvrir un graphe
+
+
+
+ Fermer
+
ThanksTo
@@ -798,12 +817,12 @@ These settings can always be changed at any time from the "Settings" m
changelog
-
+
Impossible de récupérer l'historique des modifications : Erreur de serveur {}.
-
+
Impossible de récupérer l'historique des modifications : {}.
@@ -1084,6 +1103,22 @@ Formule analysée : %3
LogarithmPlotter - Erreur
+
+
+ Fermer automatiquement les parenthèses et les crochets
+
+
+
+ Activer la coloration syntaxique
+
+
+
+ Activer l'autocomplétion
+
+
+
+ Coloration Syntaxique
+
function
@@ -1115,6 +1150,21 @@ Formule analysée : %3
passe-haut
+
+ general
+
+
+ Vérifier la présence de mise à jour au démarrage
+
+
+
+ Réinitialiser la pile d'action "Rétablir" automatiquement
+
+
+
+ Activer le rendu LaTeX
+
+
historylib
@@ -1145,64 +1195,52 @@ Formule analysée : %3
io
-
- Objets
+ Objets
-
- Paramètres
+ Paramètres
-
- Historique
+ Historique
-
- Graphe sauvegardé dans '%1'.
+ Graphe sauvegardé dans '%1'.
-
- Chargement du fichier '%1'.
+ Chargement du fichier '%1'.
-
- Type d'objet inconnu : %1.
+ Type d'objet inconnu : %1.
-
- Fichier fourni invalide.
+ Fichier fourni invalide.
-
- Impossible de sauvegarder le fichier :
+ Impossible de sauvegarder le fichier :
-
- Fichier '%1' chargé.
+ Fichier '%1' chargé.
-
- Image du graphe copiée dans le presse-papiers !
+ Image du graphe copiée dans le presse-papiers !
-
- &Mise à jour
+ &Mise à jour
-
- &Mettre à jour LogarithmPlotter
+ &Mettre à jour LogarithmPlotter
@@ -1235,7 +1273,7 @@ Le processus '{}' s'est terminé par un code de retour non nul {}
Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c'est le cas.
-
+
+
+ settingCategory
+
+
+
+
+
+
sommegainsbode
@@ -1542,22 +1588,22 @@ Vérifiez que votre installation de LaTeX est correcte et signalez un bogue si c
update
-
+
Une mise à jour de LogarithmPlotter (v{}) est disponible.
-
+
À jour.
-
+
Impossible de récupérer les informations de mise à jour. Erreur du serveur {}.
-
+
Impossible de récupérer les informations de mise à jour. {}.
diff --git a/LogarithmPlotter/i18n/lp_hu.ts b/LogarithmPlotter/i18n/lp_hu.ts
index d263236..34f6fc4 100644
--- a/LogarithmPlotter/i18n/lp_hu.ts
+++ b/LogarithmPlotter/i18n/lp_hu.ts
@@ -5,7 +5,7 @@
About
-
+
LogarithmPlotter névjegye
@@ -186,6 +186,14 @@
Bezárás
+
+ BoolSetting
+
+
+
+ Frissítések keresése indításkor
+
+
Changelog
@@ -437,14 +445,17 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
LogarithmPlotter
+
Tárgyak
+
Beállítások
+
Előzmények
@@ -473,14 +484,17 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
A(z) „%1” fájl betöltve.
+
Ábra képernyőkép vágólapra másolva!
+
&Frissítés
+
A LogarithmPlotter &frissítése
@@ -599,100 +613,105 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
Settings
-
+
X-nagyítás
-
+
Y-nagyítás
-
+
Legkisebb X
-
+
Legnagyobb Y
-
+
Legnagyobb X
-
+
Legkisebb Y
-
+
X tengely lépésköze
-
+
Y tengely lépésköze
-
+
Vonalvastagság
-
+
Szövegméret (képpont)
-
+
X címke
-
+
Y címke
-
+
X tengely logaritmikus skálával
-
+
X érettségi megjelenítése
-
+
Y érettségi megjelenítése
-
+
Másolás a vágólapra
-
+
Ábra mentése
-
+
Ábra mentése másként
-
+
Ábra betöltése
+
+
+
+ Kész
+
ThanksTo
@@ -790,12 +809,12 @@ Ezek a beállítások bármikor módosíthatók a „Beállítások” menüben.
changelog
-
+
Nem sikerült lekérni a változásnaplót: Kiszolgálóhiba: {}.
-
+
Nem sikerült lekérni a változásnaplót: {}.
@@ -1075,6 +1094,22 @@ Kiértékelt kifejezés: %3
LogarithmPlotter - Rajzolási hiba
+
+
+ Zárójelek automatikus bezárása
+
+
+
+ Mondattani kiemelés engedélyezése
+
+
+
+ Automatikus befejezés engedélyezése
+
+
+
+ Színséma
+
function
@@ -1106,6 +1141,21 @@ Kiértékelt kifejezés: %3
felüláteresztő
+
+ general
+
+
+ Frissítések keresése indításkor
+
+
+
+ Ismétlési verem önműködő visszaállítása
+
+
+
+ LaTeX-megjelenítés engedélyezése
+
+
historylib
@@ -1132,64 +1182,48 @@ Kiértékelt kifejezés: %3
io
-
-
-
-
-
-
- Beállítások
+ Beállítások
-
- Előzmények
+ Előzmények
-
- Ábra mentve ide: „%1”.
+ Ábra mentve ide: „%1”.
-
- A(z) „%1” fájl betöltése folyamatban van.
+ A(z) „%1” fájl betöltése folyamatban van.
-
- Ismeretlen objektumtípus: %1.
+ Ismeretlen objektumtípus: %1.
-
- A megadott fájl érvénytelen.
+ A megadott fájl érvénytelen.
-
- A fájl mentése nem sikerült:
+ A fájl mentése nem sikerült:
-
- A(z) „%1” fájl betöltve.
+ A(z) „%1” fájl betöltve.
-
- Ábra képernyőkép vágólapra másolva!
+ Ábra képernyőkép vágólapra másolva!
-
- &Frissítés
+ &Frissítés
-
- A LogarithmPlotter &frissítése
+ A LogarithmPlotter &frissítése
@@ -1222,7 +1256,7 @@ A(z) „{}” folyamat nullától eltérő visszatérési kóddal ({}) végződ
Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelentse a hibát.
-
+
+
+ settingCategory
+
+
+
+
+
+
sommegainsbode
@@ -1525,22 +1567,22 @@ Kérjük, ellenőrizze, hogy a LaTeX telepítése helyes-e, és ha igen, jelents
update
-
+
Elérhető a Logaritmus-ábrázoló ({} verzió) frissítése.
-
+
Nincs telepíthető frissítés.
-
+
Nem sikerült lekérni a frissítési adatokat: Kiszolgálóhiba: {}.
-
+
Nem sikerült lekérni a frissítési adatokat: {}.
diff --git a/LogarithmPlotter/i18n/lp_nb_NO.ts b/LogarithmPlotter/i18n/lp_nb_NO.ts
index 369aa32..ae1af4e 100644
--- a/LogarithmPlotter/i18n/lp_nb_NO.ts
+++ b/LogarithmPlotter/i18n/lp_nb_NO.ts
@@ -5,7 +5,7 @@
About
-
+
Om
@@ -17,7 +17,7 @@
- 2D-plotterprogramvare laget for opprettelse av Bode-diagram, sekvenser, og distribusjonsfunksjoner.
+ 2D-plotterprogramvare laget for opprettelse av Bode-diagram, sekvenser, og distribusjonsfunksjoner.
@@ -27,7 +27,7 @@
-
+
@@ -95,37 +95,37 @@
- Tilbakestill angrehistorikk automatisk
+ Tilbakestill angrehistorikk automatisk
-
+
-
+
-
+
-
+
-
+
-
+
@@ -135,32 +135,32 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -170,12 +170,12 @@
-
+
-
+
@@ -183,7 +183,15 @@
-
+
+
+
+
+ BoolSetting
+
+
+
+ Se etter nye versjoner ved programstart
@@ -191,12 +199,12 @@
-
+
-
+
@@ -205,12 +213,12 @@
- + Opprett nytt %1
+ + Opprett nytt %1
-
+
@@ -218,42 +226,42 @@
- Rediger egenskaper for %1 %2
+ Rediger egenskaper for %1 %2
-
+
-
+
- Navn
+ Navn
- Etikett-innhold
+ Etikett-innhold
- NULL
+ NULL
- navn
+ navn
- navn + veri
+ navn + veri
@@ -292,32 +300,32 @@
-
+
-
+
-
+
- Funksjoner
+ Funksjoner
-
+
- Objekter
+ Objekter
@@ -325,7 +333,7 @@
- Eksporter logaritmeplott-fil
+ Eksporter logaritmeplott-fil
@@ -365,42 +373,42 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -408,7 +416,7 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.
-
+
@@ -431,20 +439,23 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.
-
+
LogarithmPlotter
+
Objekter
+
Innstillinger
+
Historikk
@@ -473,14 +484,17 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.Lastet inn filen «%1».
+
Kopierte plott-skjermavbildning til utklippstavlen!
+
&Oppdater
+
&Installer ny versjon av LogartimePlotter
@@ -531,27 +545,27 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.
- Skjul %1 %2
+ Skjul %1 %2
- Vis %1 %2
+ Vis %1 %2
- Sett %1 %2 posisjon
+ Sett %1 %2 posisjon
- Slett %1 %2
+ Slett %1 %2
- Velg ny farge for %1 %2
+ Velg ny farge for %1 %2
@@ -568,158 +582,163 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.
-
+
-
+
-
+
-
+
-
+
-
+
Settings
-
+
X-forstørrelse
-
+
Y-forstørrelse
-
+
Min. X
-
+
Maks. Y
-
+
Maks. X
-
+
Min. Y
-
+
X-aksesteg
-
+
Y-aksesteg
-
+
Linjebredde
-
+
Tekststørrelse (piksler)
-
+
Navn på X-akse
-
+
Navn på Y-akse
-
+
Logaritmisk skala i x
-
+
- Vis X-inndeling
+ Vis X-inndeling
-
+
- Vis Y-inndeling
+ Vis Y-inndeling
-
+
Kopier til utklippstavle
-
+
Lagre plott
-
+
Lagre plott som
-
+
Last inn plott
+
+
+
+
+
ThanksTo
-
+
-
+
-
+
-
+
-
+
@@ -728,76 +747,76 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
changelog
-
+
-
+
-
+
-
+
@@ -809,7 +828,7 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.
-
+
@@ -839,152 +858,152 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -992,7 +1011,7 @@ Disse innstillingene kan endres når som helst fra «Innstillinger»-menyen.
-
+
@@ -1000,7 +1019,7 @@ Evaluated expression: %3
%3
Undoing last change.
-
+
@@ -1009,7 +1028,7 @@ Undoing last change.
-
+
@@ -1017,12 +1036,12 @@ Undoing last change.
%2
Evaluated expression: %3
-
+
-
+
@@ -1055,6 +1074,17 @@ Evaluated expression: %3
høypass
+
+ general
+
+
+ Se etter nye versjoner ved programstart
+
+
+
+ Tilbakestill angrehistorikk automatisk
+
+
historylib
@@ -1081,64 +1111,52 @@ Evaluated expression: %3
io
-
- Objekter
+ Objekter
-
- Innstillinger
+ Innstillinger
-
- Historikk
+ Historikk
-
- Lagret plott i «%1».
+ Lagret plott i «%1».
-
- Laster inn «%1»-fil.
+ Laster inn «%1»-fil.
-
- Ukjent objekttype: %1.
+ Ukjent objekttype: %1.
-
- Ugyldig fil angitt.
+ Ugyldig fil angitt.
-
- Kunne ikke lagre fil:
+ Kunne ikke lagre fil:
-
- Lastet inn filen «%1».
+ Lastet inn filen «%1».
-
- Kopierte plott-skjermavbildning til utklippstavlen!
+ Kopierte plott-skjermavbildning til utklippstavlen!
-
- &Oppdater
+ &Oppdater
-
- &Installer ny versjon av LogartimePlotter
+ &Installer ny versjon av LogartimePlotter
@@ -1148,12 +1166,12 @@ Evaluated expression: %3
-
+
-
+
@@ -1162,15 +1180,15 @@ Process '{}' ended with a non-zero return code {}:
{}
Please make sure your latex installation is correct and report a bug if so.
-
+
-
+
-
+
@@ -1217,6 +1235,14 @@ Please make sure your latex installation is correct and report a bug if so.Følger
+
+ settingCategory
+
+
+
+
+
+
sommegainsbode
@@ -1245,22 +1271,22 @@ Please make sure your latex installation is correct and report a bug if so.
update
-
+
En ny versjon av LogartimePlotter (v{}) er tilgjengelig
-
+
Ingen nye versjoner.
-
+
Fant ikke ut om det er noen nye versjoner. Tjenerfeil {}.
-
+
Kunne ikke hente info om hvorvidt det er nye versjoner: {}.
@@ -1271,7 +1297,7 @@ Please make sure your latex installation is correct and report a bug if so.
-
+
@@ -1279,27 +1305,27 @@ Please make sure your latex installation is correct and report a bug if so.
-
+
-
+
-
+
-
+
-
+
diff --git a/LogarithmPlotter/i18n/lp_template.ts b/LogarithmPlotter/i18n/lp_template.ts
index 3e4a80b..dcd8d44 100644
--- a/LogarithmPlotter/i18n/lp_template.ts
+++ b/LogarithmPlotter/i18n/lp_template.ts
@@ -5,29 +5,29 @@
About
-
+
-
+
-
+
-
+
-
+
-
+
@@ -35,147 +35,147 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -183,7 +183,15 @@
-
+
+
+
+
+ BoolSetting
+
+
+
+
@@ -191,12 +199,12 @@
-
+
-
+
@@ -205,12 +213,12 @@
-
+
-
+
@@ -218,42 +226,42 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -261,32 +269,32 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -294,12 +302,12 @@
-
+
-
+
@@ -307,68 +315,68 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -376,22 +384,22 @@ These settings can be changed at any time from the "Settings" menu.
-
+
-
+
-
+
-
+
@@ -399,6 +407,39 @@ These settings can be changed at any time from the "Settings" menu.
+
+
+
+
+ LogarithmPlotter
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -407,7 +448,7 @@ These settings can be changed at any time from the "Settings" menu.
-
+
@@ -415,12 +456,12 @@ These settings can be changed at any time from the "Settings" menu.
-
+
-
+
@@ -428,27 +469,27 @@ These settings can be changed at any time from the "Settings" menu.
-
+
-
+
-
+
-
+
-
+
@@ -456,135 +497,140 @@ These settings can be changed at any time from the "Settings" menu.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
Settings
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
+
+
+
+
+
@@ -592,27 +638,27 @@ These settings can be changed at any time from the "Settings" menu.
-
+
-
+
-
+
-
+
-
+
@@ -621,76 +667,76 @@ These settings can be changed at any time from the "Settings" menu.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
changelog
-
+
-
+
-
+
-
+
@@ -702,7 +748,7 @@ These settings can be changed at any time from the "Settings" menu.
-
+
@@ -711,152 +757,152 @@ These settings can be changed at any time from the "Settings" menu.
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -864,7 +910,7 @@ These settings can be changed at any time from the "Settings" menu.
-
+
@@ -872,7 +918,7 @@ Evaluated expression: %3
%3
Undoing last change.
-
+
@@ -881,7 +927,7 @@ Undoing last change.
-
+
@@ -889,75 +935,12 @@ Undoing last change.
%2
Evaluated expression: %3
-
+
-
-
-
-
- io
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -967,12 +950,12 @@ Evaluated expression: %3
-
+
-
+
@@ -981,38 +964,46 @@ Process '{}' ended with a non-zero return code {}:
{}
Please make sure your latex installation is correct and report a bug if so.
-
+
-
+
-
+
+
+
+
+ settingCategory
+
+
+
+
update
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -1021,7 +1012,7 @@ Please make sure your latex installation is correct and report a bug if so.
-
+
@@ -1029,27 +1020,27 @@ Please make sure your latex installation is correct and report a bug if so.
-
+
-
+
-
+
-
+
-
+
diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml
index 3de96ca..944c18a 100644
--- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml
+++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml
@@ -90,13 +90,19 @@ MenuBar {
icon.color: enabled ? sysPalette.windowText : sysPaletteIn.windowText
enabled: history.redoCount > 0
}
- MenuSeparator { }
Action {
text: qsTr("&Copy plot")
shortcut: StandardKey.Copy
onTriggered: root.copyDiagramToClipboard()
icon.name: 'edit-copy'
}
+ MenuSeparator { }
+ Action {
+ text: qsTr("&Preferences")
+ shortcut: StandardKey.Copy
+ onTriggered: preferences.open()
+ icon.name: 'settings'
+ }
}
Menu {
diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml
index 388264c..2e24d53 100644
--- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml
+++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/LogarithmPlotter.qml
@@ -55,6 +55,8 @@ ApplicationWindow {
Popup.GreetScreen {}
+ Popup.Preferences {id: preferences}
+
Popup.Changelog {id: changelog}
Popup.About {id: about}
@@ -86,19 +88,19 @@ ApplicationWindow {
width: parent.width
anchors.top: parent.top
TabButton {
- text: qsTranslate('io', "Objects")
+ text: qsTr("Objects")
icon.name: 'polygon-add-nodes'
icon.color: sysPalette.windowText
//height: 24
}
TabButton {
- text: qsTranslate('io', "Settings")
+ text: qsTr("Settings")
icon.name: 'preferences-system-symbolic'
icon.color: sysPalette.windowText
//height: 24
}
TabButton {
- text: qsTranslate('io', "History")
+ text: qsTr("History")
icon.name: 'view-history'
icon.color: sysPalette.windowText
//height: 24
@@ -227,7 +229,7 @@ ApplicationWindow {
var file = Helper.gettmpfile()
drawCanvas.save(file)
Helper.copyImageToClipboard()
- alert.show(qsTranslate('io', "Copied plot screenshot to clipboard!"))
+ alert.show(qsTr("Copied plot screenshot to clipboard!"))
}
/*!
@@ -242,9 +244,9 @@ ApplicationWindow {
Menu {
id: updateMenu
- title: qsTranslate('io', "&Update")
+ title: qsTr("&Update")
Action {
- text: qsTranslate('io', "&Update LogarithmPlotter")
+ text: qsTr("&Update LogarithmPlotter")
icon.name: 'update'
onTriggered: Qt.openUrlExternally("https://apps.ad5001.eu/logarithmplotter/")
}
diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/Preferences.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/Preferences.qml
new file mode 100644
index 0000000..6218fb9
--- /dev/null
+++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/Preferences.qml
@@ -0,0 +1,187 @@
+/**
+ * LogarithmPlotter - 2D plotter software to make BODE plots, sequences and distribution functions.
+ * Copyright (C) 2021-2024 Ad5001
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+import QtQuick
+import QtQuick.Controls
+import QtQuick.Layouts
+import eu.ad5001.LogarithmPlotter.Setting 1.0 as Setting
+import "../js/setting/common.mjs" as S
+
+/*!
+ \qmltype Preferences
+ \inqmlmodule eu.ad5001.LogarithmPlotter.Popup
+ \brief Popup to change global application preferences.
+
+ \sa LogarithmPlotter, GreetScreen
+*/
+Popup {
+ id: preferencesPopup
+ x: (parent.width-width)/2
+ y: Math.max(20, (parent.height-height)/2)
+ width: settingPopupRow.width + 30
+ height: settingPopupRow.height + 20
+ modal: true
+ focus: true
+ closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
+
+ // Components for the preferences
+ Component {
+ id: boolSettingComponent
+
+ CheckBox {
+ height: 20
+ text: setting.displayName
+ checked: setting.value()
+ onClicked: setting.set(this.checked)
+ }
+ }
+
+ Component {
+ id: enumIntSettingComponent
+
+ // Setting when selecting data from an enum, or an object of a certain type.
+ Setting.ComboBoxSetting {
+ height: 30
+ label: setting.displayName
+ icon: `settings/${setting.icon}.svg`
+ currentIndex: setting.value()
+ model: setting.values()
+ onActivated: function(newIndex) { setting.set(newIndex) }
+ }
+ }
+
+ Row {
+ id: settingPopupRow
+ height: 300
+ width: categories.width + categorySeparator.width + settingView.width + 70
+ spacing: 15
+
+ anchors {
+ top: parent.top
+ bottom: parent.bottom
+ left: parent.left
+ right: parent.right
+ topMargin: 10
+ bottomMargin: 10
+ rightMargin: 15
+ leftMargin: 15
+ }
+
+ ColumnLayout {
+ id: categories
+ width: 150
+ height: parent.height
+ spacing: 0
+ clip: true
+
+ Repeater {
+ model: Object.keys(Modules.Settings.categories)
+
+ Button {
+ // width: 150
+ Layout.fillWidth: true
+ text: qsTranslate('settingCategory', modelData)
+
+ onClicked: {
+ settingList.model = Modules.Settings.categories[modelData]
+ settingCategoryName.text = text
+ }
+ }
+ }
+
+ Item {
+ Layout.fillHeight: true
+ Layout.fillWidth: true
+
+ Button {
+ id: closeButton
+ anchors {
+ left: parent.left
+ right: parent.right
+ bottom: parent.bottom
+ }
+ text: qsTr('Done')
+ onClicked: preferencesPopup.close()
+ }
+ }
+ }
+
+ Rectangle {
+ id: categorySeparator
+ anchors {
+ top: parent.top
+ topMargin: 5
+ }
+ opacity: 0.3
+ color: sysPalette.windowText
+ height: parent.height - 10
+ width: 1
+ }
+
+ ScrollView {
+ id: settingView
+ clip: true
+ width: 500
+ height: parent.height
+
+ Column {
+ spacing: 10
+ clip: true
+ width: settingView.width
+
+ Text {
+ id: settingCategoryName
+ font.pixelSize: 32
+ color: sysPalette.windowText
+ text: qsTranslate('settingCategory', 'general')
+
+ Rectangle {
+ id: bottomSeparator
+ anchors.top: parent.bottom
+ opacity: 0.3
+ color: sysPalette.windowText
+ width: settingView.width
+ height: 1
+ }
+ }
+
+ Repeater {
+ id: settingList
+ model: Modules.Settings.categories.general
+
+ delegate: Component {
+ Loader {
+ width: settingView.width
+ property var setting: modelData
+ sourceComponent: {
+ if(setting instanceof S.BoolSetting)
+ return boolSettingComponent
+ else if(setting instanceof S.EnumIntSetting)
+ return enumIntSettingComponent
+ else
+ console.log('Unknown setting type!', modelData.constructor)
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+
+ Component.onCompleted: open()
+}
diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/qmldir b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/qmldir
index 9306fae..8c0859f 100644
--- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/qmldir
+++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/Popup/qmldir
@@ -8,3 +8,4 @@ GreetScreen 1.0 GreetScreen.qml
Changelog 1.0 Changelog.qml
ThanksTo 1.0 ThanksTo.qml
InsertCharacter 1.0 InsertCharacter.qml
+Preferences 1.0 Preferences.qml
diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/color.svg b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/color.svg
new file mode 120000
index 0000000..41b711b
--- /dev/null
+++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/color.svg
@@ -0,0 +1 @@
+../common/appearance.svg
\ No newline at end of file
diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/autoload.js b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/autoload.js
index 9f207a0..211aa9e 100644
--- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/autoload.js
+++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/autoload.js
@@ -6,4 +6,5 @@
.import "math/latex.mjs" as Latex
.import "history/common.mjs" as HistoryCommon
.import "canvas.mjs" as CanvasAPI
-.import "io.mjs" as IOAPI
\ No newline at end of file
+.import "io.mjs" as IOAPI
+.import "settings.mjs" as SettingsAPI
\ No newline at end of file
diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/canvas.mjs b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/canvas.mjs
index d68bd9d..9649634 100644
--- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/canvas.mjs
+++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/canvas.mjs
@@ -144,6 +144,10 @@ class CanvasAPI extends Module {
// Methods to draw the canvas
//
+ requestPaint() {
+ this._canvas.requestPaint()
+ }
+
/**
* Redraws the entire canvas
*/
diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/setting/common.mjs b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/setting/common.mjs
new file mode 100644
index 0000000..2e395c6
--- /dev/null
+++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/setting/common.mjs
@@ -0,0 +1,67 @@
+/**
+ * LogarithmPlotter - 2D plotter software to make BODE plots, sequences and distribution functions.
+ * Copyright (C) 2021-2024 Ad5001
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+class Setting {
+ constructor(name, nameInConfig, icon) {
+ this.name = name
+ this.displayName = qsTr(name)
+ this.nameInConfig = nameInConfig
+ this.icon = icon
+ }
+
+ /**
+ * Returns the value of the setting.
+ * @returns {string|boolean|number}
+ */
+ value() {
+ throw new TypeError(`value of ${this.constructor} not implemented.`)
+ }
+
+ /**
+ * Sets the value of the setting
+ * @param {string|boolean|number} value
+ */
+ set(value) {
+ throw new TypeError(`value of ${this.constructor} not implemented.`)
+ }
+}
+
+export class BoolSetting extends Setting {
+ value() {
+ return Helper.getSettingBool(this.nameInConfig)
+ }
+
+ set(value) {
+ Helper.setSettingBool(this.nameInConfig, value)
+ }
+}
+
+export class IntSetting extends Setting {
+ value() {
+ return Helper.getSettingInt(this.nameInConfig)
+ }
+
+ set(value) {
+ Helper.setSettingInt(this.nameInConfig, value)
+ }
+}
+
+export class EnumIntSetting extends IntSetting {
+ values() {
+ throw new TypeError(`enumerations of ${this.constructor} not implemented.`)
+ }
+}
\ No newline at end of file
diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/setting/expression.mjs b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/setting/expression.mjs
new file mode 100644
index 0000000..0fab509
--- /dev/null
+++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/setting/expression.mjs
@@ -0,0 +1,54 @@
+/**
+ * LogarithmPlotter - 2D plotter software to make BODE plots, sequences and distribution functions.
+ * Copyright (C) 2021-2024 Ad5001
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+import {BoolSetting, EnumIntSetting} from "common.mjs"
+
+class AutocloseFormula extends BoolSetting {
+ constructor() {
+ super(qsTr("Automatically close parenthesises and brackets"), 'expression_editor.autoclose', 'Text')
+ }
+}
+
+class EnableSyntaxHighlighting extends BoolSetting {
+ constructor() {
+ super(qsTr("Enable syntax highlighting"), 'expression_editor.colorize', 'appearance')
+ }
+}
+
+class EnableAutocomplete extends BoolSetting {
+ constructor() {
+ super(qsTr("Enable autocompletion"), 'autocompletion.enabled', 'label')
+ }
+}
+
+class PickColorScheme extends EnumIntSetting {
+ constructor() {
+ super(qsTr("Color Scheme"), 'expression_editor.color_scheme', 'color')
+ }
+
+ values() {
+ return ["Breeze Light", "Breeze Dark", "Solarized", "Github Light", "Github Dark", "Nord", "Monokai"]
+ }
+}
+
+export default [
+ new AutocloseFormula(),
+ new EnableAutocomplete(),
+ new EnableSyntaxHighlighting(),
+ new PickColorScheme()
+]
\ No newline at end of file
diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/setting/general.mjs b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/setting/general.mjs
new file mode 100644
index 0000000..2430b52
--- /dev/null
+++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/setting/general.mjs
@@ -0,0 +1,49 @@
+/**
+ * LogarithmPlotter - 2D plotter software to make BODE plots, sequences and distribution functions.
+ * Copyright (C) 2021-2024 Ad5001
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+
+import {BoolSetting} from "common.mjs"
+
+class CheckForUpdates extends BoolSetting {
+ constructor() {
+ super(QT_TR_NOOP("Check for updates on startup"), 'check_for_updates', 'update')
+ }
+}
+
+class ResetRedoStack extends BoolSetting {
+ constructor() {
+ super(qsTr("Reset redo stack automaticly"), 'reset_redo_stack', 'timeline')
+ }
+}
+
+class EnableLatex extends BoolSetting {
+ constructor() {
+ super(qsTr("Enable LaTeX rendering"), 'enable_latex', 'Expression')
+ }
+
+ set(value) {
+ super.set(value)
+ Modules.Latex.enabled = value
+ Modules.Canvas.requestPaint()
+ }
+}
+
+export default [
+ new CheckForUpdates(),
+ new ResetRedoStack(),
+ new EnableLatex()
+]
\ No newline at end of file
diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/settings.mjs b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/settings.mjs
new file mode 100644
index 0000000..8fff543
--- /dev/null
+++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/settings.mjs
@@ -0,0 +1,39 @@
+/**
+ * LogarithmPlotter - 2D plotter software to make BODE plots, sequences and distribution functions.
+ * Copyright (C) 2021-2024 Ad5001
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ */
+import {Module} from "modules.mjs"
+import General from "setting/general.mjs"
+import Editor from "setting/expression.mjs"
+
+class SettingsAPI extends Module {
+ constructor() {
+ super('Settings', [
+ Modules.Canvas,
+ Modules.Latex
+ ])
+
+ this.categories = {
+ [QT_TRANSLATE_NOOP('settingCategory', 'general')]: General,
+ [QT_TRANSLATE_NOOP('settingCategory', 'editor')]: Editor,
+ [QT_TRANSLATE_NOOP('settingCategory', 'default')]: [],
+ }
+ }
+}
+
+/** @type {CanvasAPI} */
+Modules.Settings = Modules.Settings || new SettingsAPI()
+export const API = Modules.Settings
\ No newline at end of file