aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils')
-rw-r--r--src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_ca.ts66
-rw-r--r--src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_da.ts26
-rw-r--r--src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_fi.ts176
-rw-r--r--src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_lt.ts4
-rw-r--r--src-qt5/desktop-utils/lumina-calculator/i18n/l-calc_fi.ts66
-rw-r--r--src-qt5/desktop-utils/lumina-fm-dev/main.cpp3
-rw-r--r--src-qt5/desktop-utils/lumina-fm-dev/widgets/DirWidget2.cpp4
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.cpp36
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h36
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/vidnail.cpp33
-rw-r--r--src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h25
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/MainUI.cpp14
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/MainUI.ui7
13 files changed, 319 insertions, 177 deletions
diff --git a/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_ca.ts b/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_ca.ts
index 98930879..9e347a2a 100644
--- a/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_ca.ts
+++ b/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_ca.ts
@@ -6,7 +6,7 @@
<message>
<location filename="../TarBackend.cpp" line="229"/>
<source>Could not read archive</source>
- <translation>No s&apos;ha pogut llegir l&apos;arxiu</translation>
+ <translation>No s'ha pogut llegir l'arxiu</translation>
</message>
<message>
<location filename="../TarBackend.cpp" line="231"/>
@@ -81,7 +81,7 @@
<message>
<location filename="../MainUI.ui" line="202"/>
<source>Add files to archive</source>
- <translation>Afegiu fitxers a l&apos;arxiu</translation>
+ <translation>Afegiu fitxers a l'arxiu</translation>
</message>
<message>
<location filename="../MainUI.ui" line="207"/>
@@ -91,7 +91,7 @@
<message>
<location filename="../MainUI.ui" line="210"/>
<source>Remove selection from archive</source>
- <translation>Elimina la selecció de l&apos;arxiu</translation>
+ <translation>Elimina la selecció de l'arxiu</translation>
</message>
<message>
<location filename="../MainUI.ui" line="215"/>
@@ -101,7 +101,7 @@
<message>
<location filename="../MainUI.ui" line="218"/>
<source>Extract archive into a directory</source>
- <translation>Extreu l&apos;arxiu en un directori</translation>
+ <translation>Extreu l'arxiu en un directori</translation>
</message>
<message>
<location filename="../MainUI.ui" line="223"/>
@@ -111,7 +111,7 @@
<message>
<location filename="../MainUI.ui" line="226"/>
<source>Add directory to archive</source>
- <translation>Afegeix un directori a l&apos;arxiu</translation>
+ <translation>Afegeix un directori a l'arxiu</translation>
</message>
<message>
<location filename="../MainUI.ui" line="231"/>
@@ -131,17 +131,17 @@
<message>
<location filename="../MainUI.ui" line="242"/>
<source>Copy an IMG to a USB device (may require admin permission)</source>
- <translation>Copia una IMG en un dispositiu USB (pot caldre permís d&apos;administrador)</translation>
+ <translation>Copia una IMG en un dispositiu USB (pot caldre permís d'administrador)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="24"/>
<source>Archive Manager</source>
- <translation>Gestor d&apos;arxius</translation>
+ <translation>Gestor d'arxius</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="25"/>
<source>Admin Mode</source>
- <translation>Mode d&apos;administrador</translation>
+ <translation>Mode d'administrador</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="51"/>
@@ -179,7 +179,7 @@
<location filename="../MainUI.cpp" line="81"/>
<location filename="../MainUI.cpp" line="220"/>
<source>Opening Archive...</source>
- <translation>S&apos;obre l&apos;arxiu...</translation>
+ <translation>S'obre l'arxiu...</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="164"/>
@@ -301,7 +301,7 @@
<message>
<location filename="../MainUI.cpp" line="210"/>
<source>Could not overwrite file:</source>
- <translation>No s&apos;ha pogut sobreescriure el fitxer:</translation>
+ <translation>No s'ha pogut sobreescriure el fitxer:</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="218"/>
@@ -312,18 +312,18 @@
<location filename="../MainUI.cpp" line="226"/>
<location filename="../MainUI.cpp" line="233"/>
<source>Add to Archive</source>
- <translation>Afegeix a l&apos;arxiu</translation>
+ <translation>Afegeix a l'arxiu</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="228"/>
<location filename="../MainUI.cpp" line="235"/>
<source>Adding Items...</source>
- <translation>S&apos;afegeixen elements...</translation>
+ <translation>S'afegeixen elements...</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="246"/>
<source>Removing Items...</source>
- <translation>S&apos;eliminen elements...</translation>
+ <translation>S'eliminen elements...</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="251"/>
@@ -337,7 +337,7 @@
<location filename="../MainUI.cpp" line="278"/>
<location filename="../MainUI.cpp" line="290"/>
<source>Extracting...</source>
- <translation>S&apos;extreu...</translation>
+ <translation>S'extreu...</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="310"/>
@@ -350,67 +350,67 @@
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="603"/>
<source>Multimedia</source>
- <translation type="unfinished"></translation>
+ <translation>Multimèdia</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="604"/>
<source>Development</source>
- <translation type="unfinished"></translation>
+ <translation>Desenvolupament</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="605"/>
<source>Education</source>
- <translation type="unfinished"></translation>
+ <translation>Educació</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="606"/>
<source>Games</source>
- <translation type="unfinished"></translation>
+ <translation>Jocs</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="607"/>
<source>Graphics</source>
- <translation type="unfinished"></translation>
+ <translation>Gràfics</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="608"/>
<source>Network</source>
- <translation type="unfinished"></translation>
+ <translation>Xarxa</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="609"/>
<source>Office</source>
- <translation type="unfinished"></translation>
+ <translation>Oficina</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="610"/>
<source>Science</source>
- <translation type="unfinished"></translation>
+ <translation>Ciència</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="611"/>
<source>Settings</source>
- <translation type="unfinished"></translation>
+ <translation>Paràmetres</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="612"/>
<source>System</source>
- <translation type="unfinished"></translation>
+ <translation>Sistema</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="613"/>
<source>Utility</source>
- <translation type="unfinished"></translation>
+ <translation>Utilitat</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="614"/>
<source>Wine</source>
- <translation type="unfinished"></translation>
+ <translation>Wine</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="615"/>
<source>Unsorted</source>
- <translation type="unfinished"></translation>
+ <translation>Sense classificar</translation>
</message>
</context>
<context>
@@ -443,7 +443,7 @@
<message>
<location filename="../imgDialog.ui" line="108"/>
<source>Wipe all extra space on device (conv = sync)</source>
- <translation>Neteja tot l&apos;espai extra al dispositiu (conv = sync)</translation>
+ <translation>Neteja tot l'espai extra al dispositiu (conv = sync)</translation>
</message>
<message>
<location filename="../imgDialog.ui" line="132"/>
@@ -473,7 +473,7 @@
<message>
<location filename="../imgDialog.cpp" line="22"/>
<source>Admin Mode</source>
- <translation>Mode d&apos;administrador</translation>
+ <translation>Mode d'administrador</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="36"/>
@@ -508,12 +508,12 @@
<message>
<location filename="../imgDialog.cpp" line="170"/>
<source>Administrator Permissions Needed</source>
- <translation>Calen permisos d&apos;administrador</translation>
+ <translation>Calen permisos d'administrador</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="170"/>
<source>This operation requires administrator priviledges.</source>
- <translation>Aquesta operació requereix privilegis d&apos;administrador.</translation>
+ <translation>Aquesta operació requereix privilegis d'administrador.</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="170"/>
@@ -528,7 +528,7 @@
<message>
<location filename="../imgDialog.cpp" line="175"/>
<source>The process could not be completed:</source>
- <translation>El procés no s&apos;ha pogut completar:</translation>
+ <translation>El procés no s'ha pogut completar:</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="178"/>
@@ -538,7 +538,7 @@
<message>
<location filename="../imgDialog.cpp" line="178"/>
<source>The image was successfully burned to the USB device</source>
- <translation>La imatge s&apos;ha gravat correctament al dispositiu USB.</translation>
+ <translation>La imatge s'ha gravat correctament al dispositiu USB.</translation>
</message>
</context>
</TS>
diff --git a/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_da.ts b/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_da.ts
index de00be03..ad4de0bd 100644
--- a/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_da.ts
+++ b/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_da.ts
@@ -350,67 +350,67 @@
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="603"/>
<source>Multimedia</source>
- <translation type="unfinished"></translation>
+ <translation>Multimedie</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="604"/>
<source>Development</source>
- <translation type="unfinished"></translation>
+ <translation>Udvikling</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="605"/>
<source>Education</source>
- <translation type="unfinished"></translation>
+ <translation>Uddannelse</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="606"/>
<source>Games</source>
- <translation type="unfinished"></translation>
+ <translation>Spil</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="607"/>
<source>Graphics</source>
- <translation type="unfinished"></translation>
+ <translation>Grafik</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="608"/>
<source>Network</source>
- <translation type="unfinished"></translation>
+ <translation>Netværk</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="609"/>
<source>Office</source>
- <translation type="unfinished"></translation>
+ <translation>Kontor</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="610"/>
<source>Science</source>
- <translation type="unfinished"></translation>
+ <translation>Videnskab</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="611"/>
<source>Settings</source>
- <translation type="unfinished"></translation>
+ <translation>Indstillinger</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="612"/>
<source>System</source>
- <translation type="unfinished"></translation>
+ <translation>System</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="613"/>
<source>Utility</source>
- <translation type="unfinished"></translation>
+ <translation>Hjælpeværktøj</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="614"/>
<source>Wine</source>
- <translation type="unfinished"></translation>
+ <translation>Wine</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="615"/>
<source>Unsorted</source>
- <translation type="unfinished"></translation>
+ <translation>Usorteret</translation>
</message>
</context>
<context>
diff --git a/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_fi.ts b/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_fi.ts
index 5b1d98dc..4525f584 100644
--- a/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_fi.ts
+++ b/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_fi.ts
@@ -6,22 +6,22 @@
<message>
<location filename="../TarBackend.cpp" line="229"/>
<source>Could not read archive</source>
- <translation type="unfinished"></translation>
+ <translation>Arkistoa ei voitu lukea</translation>
</message>
<message>
<location filename="../TarBackend.cpp" line="231"/>
<source>Archive Loaded</source>
- <translation type="unfinished"></translation>
+ <translation>Arkisto ladattu</translation>
</message>
<message>
<location filename="../TarBackend.cpp" line="264"/>
<source>Extraction Finished</source>
- <translation type="unfinished"></translation>
+ <translation>Purku valmis</translation>
</message>
<message>
<location filename="../TarBackend.cpp" line="266"/>
<source>Modification Finished</source>
- <translation type="unfinished"></translation>
+ <translation>Muutos valmis</translation>
</message>
</context>
<context>
@@ -29,307 +29,307 @@
<message>
<location filename="../MainUI.ui" line="35"/>
<source>Archive:</source>
- <translation type="unfinished"></translation>
+ <translation>Arkisto:</translation>
</message>
<message>
<location filename="../MainUI.ui" line="125"/>
<location filename="../MainUI.cpp" line="65"/>
<location filename="../MainUI.cpp" line="296"/>
<source>File</source>
- <translation type="unfinished"></translation>
+ <translation>Tiedosto</translation>
</message>
<message>
<location filename="../MainUI.ui" line="134"/>
<source>Edit</source>
- <translation type="unfinished"></translation>
+ <translation>Muokkaa</translation>
</message>
<message>
<location filename="../MainUI.ui" line="145"/>
<source>Burn to Disk</source>
- <translation type="unfinished"></translation>
+ <translation>Polta levylle</translation>
</message>
<message>
<location filename="../MainUI.ui" line="178"/>
<source>&amp;Open Archive</source>
- <translation type="unfinished"></translation>
+ <translation>&amp;Avaa arkisto</translation>
</message>
<message>
<location filename="../MainUI.ui" line="181"/>
<source>Open archive</source>
- <translation type="unfinished"></translation>
+ <translation>Avaa arkisto</translation>
</message>
<message>
<location filename="../MainUI.ui" line="186"/>
<source>&amp;New Archive</source>
- <translation type="unfinished"></translation>
+ <translation>&amp;Uusi arkisto</translation>
</message>
<message>
<location filename="../MainUI.ui" line="189"/>
<source>New archive</source>
- <translation type="unfinished"></translation>
+ <translation>Uusi arkisto</translation>
</message>
<message>
<location filename="../MainUI.ui" line="194"/>
<source>&amp;Quit</source>
- <translation type="unfinished"></translation>
+ <translation>&amp;Lopeta</translation>
</message>
<message>
<location filename="../MainUI.ui" line="199"/>
<source>Add File(s)</source>
- <translation type="unfinished"></translation>
+ <translation>Lisää tiedostoja</translation>
</message>
<message>
<location filename="../MainUI.ui" line="202"/>
<source>Add files to archive</source>
- <translation type="unfinished"></translation>
+ <translation>Lisää arkistoon tiedostoja</translation>
</message>
<message>
<location filename="../MainUI.ui" line="207"/>
<source>Remove File(s)</source>
- <translation type="unfinished"></translation>
+ <translation>Poista tiedostoja</translation>
</message>
<message>
<location filename="../MainUI.ui" line="210"/>
<source>Remove selection from archive</source>
- <translation type="unfinished"></translation>
+ <translation>Poista arkistosta tiedostoja</translation>
</message>
<message>
<location filename="../MainUI.ui" line="215"/>
<source>Extract All</source>
- <translation type="unfinished"></translation>
+ <translation>Pura kaikki</translation>
</message>
<message>
<location filename="../MainUI.ui" line="218"/>
<source>Extract archive into a directory</source>
- <translation type="unfinished"></translation>
+ <translation>Pura arkisto kansioon</translation>
</message>
<message>
<location filename="../MainUI.ui" line="223"/>
<source>Add Directory</source>
- <translation type="unfinished"></translation>
+ <translation>Lisää kansio</translation>
</message>
<message>
<location filename="../MainUI.ui" line="226"/>
<source>Add directory to archive</source>
- <translation type="unfinished"></translation>
+ <translation>Lisää arkistoon kansio</translation>
</message>
<message>
<location filename="../MainUI.ui" line="231"/>
<source>Extract Selection</source>
- <translation type="unfinished"></translation>
+ <translation>Pura valinta</translation>
</message>
<message>
<location filename="../MainUI.ui" line="234"/>
<source>Extract Selected Items</source>
- <translation type="unfinished"></translation>
+ <translation>Pura valitut kohteet</translation>
</message>
<message>
<location filename="../MainUI.ui" line="239"/>
<source>USB Image</source>
- <translation type="unfinished"></translation>
+ <translation>USB-levykuva</translation>
</message>
<message>
<location filename="../MainUI.ui" line="242"/>
<source>Copy an IMG to a USB device (may require admin permission)</source>
- <translation type="unfinished"></translation>
+ <translation>Kopioi IMG-levykuva USB-laitteeseen (voi vaatia ylläpitäjän oikeuksia)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="24"/>
<source>Archive Manager</source>
- <translation type="unfinished"></translation>
+ <translation>Arkistonhallinta</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="25"/>
<source>Admin Mode</source>
- <translation type="unfinished"></translation>
+ <translation>Ylläpitäjän tila</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="51"/>
<source>CTRL+N</source>
- <translation type="unfinished"></translation>
+ <translation>Ctrl+N</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="52"/>
<source>CTRL+O</source>
- <translation type="unfinished"></translation>
+ <translation>Ctrl+O</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="53"/>
<source>CTRL+Q</source>
- <translation type="unfinished"></translation>
+ <translation>Ctrl+Q</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="54"/>
<source>CTRL+E</source>
- <translation type="unfinished"></translation>
+ <translation>Ctrl+E</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="65"/>
<location filename="../MainUI.cpp" line="296"/>
<source>MimeType</source>
- <translation type="unfinished"></translation>
+ <translation>MIME-tyyppi</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="65"/>
<location filename="../MainUI.cpp" line="296"/>
<source>Size</source>
- <translation type="unfinished"></translation>
+ <translation>Koko</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="81"/>
<location filename="../MainUI.cpp" line="220"/>
<source>Opening Archive...</source>
- <translation type="unfinished"></translation>
+ <translation>Avataan arkistoa...</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="164"/>
<source>All Types %1</source>
- <translation type="unfinished"></translation>
+ <translation>Kaikki tyypit %1</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="165"/>
<location filename="../MainUI.cpp" line="183"/>
<source>Uncompressed Archive (*.tar)</source>
- <translation type="unfinished"></translation>
+ <translation>Pakkaamaton arkisto (*.tar)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="166"/>
<location filename="../MainUI.cpp" line="184"/>
<source>GZip Compressed Archive (*.tar.gz *.tgz)</source>
- <translation type="unfinished"></translation>
+ <translation>GZip-pakattu arkisto (*.tar.gz *.tgz)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="167"/>
<location filename="../MainUI.cpp" line="185"/>
<source>BZip Compressed Archive (*.tar.bz *.tbz)</source>
- <translation type="unfinished"></translation>
+ <translation>BZip-pakattu arkisto (*.tar.bz *.tbz)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="168"/>
<location filename="../MainUI.cpp" line="186"/>
<source>BZip2 Compressed Archive (*.tar.bz2 *.tbz2)</source>
- <translation type="unfinished"></translation>
+ <translation>BZip2-pakattu arkisto (*.tar.bz2 *.tbz2)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="169"/>
<location filename="../MainUI.cpp" line="188"/>
<source>LMZA Compressed Archive (*.tar.lzma *.tlz)</source>
- <translation type="unfinished"></translation>
+ <translation>LMZA-pakattu arkisto (*.tar.lzma *.tlz)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="170"/>
<location filename="../MainUI.cpp" line="187"/>
<source>XZ Compressed Archive (*.tar.xz *.txz)</source>
- <translation type="unfinished"></translation>
+ <translation>XZ-pakattu arkisto (*.tar.xz *.txz)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="171"/>
<location filename="../MainUI.cpp" line="189"/>
<source>CPIO Archive (*.cpio)</source>
- <translation type="unfinished"></translation>
+ <translation>CPIO-arkisto (*.cpio)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="172"/>
<location filename="../MainUI.cpp" line="190"/>
<source>PAX Archive (*.pax)</source>
- <translation type="unfinished"></translation>
+ <translation>PAX-arkisto (*.pax)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="173"/>
<location filename="../MainUI.cpp" line="191"/>
<source>AR Archive (*.ar)</source>
- <translation type="unfinished"></translation>
+ <translation>AR-arkisto (*.ar)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="174"/>
<location filename="../MainUI.cpp" line="192"/>
<source>SHAR Archive (*.shar)</source>
- <translation type="unfinished"></translation>
+ <translation>SHAR-arkisto (*.shar)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="175"/>
<location filename="../MainUI.cpp" line="193"/>
<source>Zip Archive (*.zip)</source>
- <translation type="unfinished"></translation>
+ <translation>Zip-arkisto (*.zip)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="176"/>
<location filename="../MainUI.cpp" line="194"/>
<source>7-Zip Archive (*.7z)</source>
- <translation type="unfinished"></translation>
+ <translation>7-Zip-arkisto (*.7z)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="182"/>
<source>All Known Types %1</source>
- <translation type="unfinished"></translation>
+ <translation>Kaikki tunnetut tyypit %1</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="195"/>
<source>READ-ONLY: ISO image (*.iso *.img)</source>
- <translation type="unfinished"></translation>
+ <translation>VAIN LUKU: ISO-levykuva (*.iso *.img)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="196"/>
<source>READ-ONLY: XAR archive (*.xar)</source>
- <translation type="unfinished"></translation>
+ <translation>VAIN LUKU: XAR-arkisto (*.xar)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="197"/>
<source>READ-ONLY: Java archive (*.jar)</source>
- <translation type="unfinished"></translation>
+ <translation>VAIN LUKU: Java-arkisto (*.jar)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="198"/>
<source>READ-ONLY: RedHat Package (*.rpm)</source>
- <translation type="unfinished"></translation>
+ <translation>VAIN LUKU: RedHat-paketti (*.rpm)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="199"/>
<source>Show All Files (*)</source>
- <translation type="unfinished"></translation>
+ <translation>Näytä kaikki tiedostot (*)</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="207"/>
<source>Create Archive</source>
- <translation type="unfinished"></translation>
+ <translation>Luo arkisto</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="210"/>
<source>Error</source>
- <translation type="unfinished"></translation>
+ <translation>Virhe</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="210"/>
<source>Could not overwrite file:</source>
- <translation type="unfinished"></translation>
+ <translation>Ei voitu korvata tiedostoa:</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="218"/>
<source>Open Archive</source>
- <translation type="unfinished"></translation>
+ <translation>Avaa arkisto</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="226"/>
<location filename="../MainUI.cpp" line="233"/>
<source>Add to Archive</source>
- <translation type="unfinished"></translation>
+ <translation>Lisää arkistoon</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="228"/>
<location filename="../MainUI.cpp" line="235"/>
<source>Adding Items...</source>
- <translation type="unfinished"></translation>
+ <translation>Lisätään kohteita...</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="246"/>
<source>Removing Items...</source>
- <translation type="unfinished"></translation>
+ <translation>Poistetaan kohteita...</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="251"/>
<location filename="../MainUI.cpp" line="276"/>
<source>Extract Into Directory</source>
- <translation type="unfinished"></translation>
+ <translation>Pura kansioon</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="253"/>
@@ -337,12 +337,12 @@
<location filename="../MainUI.cpp" line="278"/>
<location filename="../MainUI.cpp" line="290"/>
<source>Extracting...</source>
- <translation type="unfinished"></translation>
+ <translation>Puretaan...</translation>
</message>
<message>
<location filename="../MainUI.cpp" line="310"/>
<source>Link To: %1</source>
- <translation type="unfinished"></translation>
+ <translation>Linkki kohteeseen: %1</translation>
</message>
</context>
<context>
@@ -418,127 +418,127 @@
<message>
<location filename="../imgDialog.ui" line="14"/>
<source>Burn IMG to device</source>
- <translation type="unfinished"></translation>
+ <translation>Polta IMG-levykuva laitteelle</translation>
</message>
<message>
<location filename="../imgDialog.ui" line="29"/>
<source>IMG File</source>
- <translation type="unfinished"></translation>
+ <translation>IMG-tiedosto</translation>
</message>
<message>
<location filename="../imgDialog.ui" line="54"/>
<source>Block Size</source>
- <translation type="unfinished"></translation>
+ <translation>Lohkokoko</translation>
</message>
<message>
<location filename="../imgDialog.ui" line="84"/>
<source>USB Device</source>
- <translation type="unfinished"></translation>
+ <translation>USB-laite</translation>
</message>
<message>
<location filename="../imgDialog.ui" line="96"/>
<source>Refresh Device List</source>
- <translation type="unfinished"></translation>
+ <translation>Virkistä laiteluettelo</translation>
</message>
<message>
<location filename="../imgDialog.ui" line="108"/>
<source>Wipe all extra space on device (conv = sync)</source>
- <translation type="unfinished"></translation>
+ <translation>Pyyhi laitteen kaikki ylimääräinen tila (conv=sync)</translation>
</message>
<message>
<location filename="../imgDialog.ui" line="132"/>
<source>Burning to USB:</source>
- <translation type="unfinished"></translation>
+ <translation>Poltetaan USB:lle:</translation>
</message>
<message>
<location filename="../imgDialog.ui" line="166"/>
<source>Time Elapsed:</source>
- <translation type="unfinished"></translation>
+ <translation>Aikaa kulunut:</translation>
</message>
<message>
<location filename="../imgDialog.ui" line="222"/>
<source>Cancel</source>
- <translation type="unfinished"></translation>
+ <translation>Peru</translation>
</message>
<message>
<location filename="../imgDialog.ui" line="229"/>
<source>Start</source>
- <translation type="unfinished"></translation>
+ <translation>Käynnistä</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="21"/>
<source>Burn IMG to Device</source>
- <translation type="unfinished"></translation>
+ <translation>Polta IMG-levykuva laitteelle</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="22"/>
<source>Admin Mode</source>
- <translation type="unfinished"></translation>
+ <translation>Ylläpitäjän tila</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="36"/>
<source>Kilobyte(s)</source>
- <translation type="unfinished"></translation>
+ <translation>kilotavu(a)</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="37"/>
<source>Megabyte(s)</source>
- <translation type="unfinished"></translation>
+ <translation>megatavu(a)</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="38"/>
<source>Gigabyte(s)</source>
- <translation type="unfinished"></translation>
+ <translation>gigatavu(a)</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="110"/>
<source>Cancel Image Burn?</source>
- <translation type="unfinished"></translation>
+ <translation>Perutaanko levykuvan poltto?</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="110"/>
<source>Do you wish to stop the current IMG burn process?</source>
- <translation type="unfinished"></translation>
+ <translation>Haluatko pysäyttää käynnissä olevan IMG-levykuvan polton?</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="110"/>
<source>Warning: This will leave the USB device in an inconsistent state</source>
- <translation type="unfinished"></translation>
+ <translation>Varoitus: Tämä jättää USB-laitteesi epävakaaseen tilaan</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="170"/>
<source>Administrator Permissions Needed</source>
- <translation type="unfinished"></translation>
+ <translation>Ylläpitäjäoikeudet vaaditaan</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="170"/>
<source>This operation requires administrator priviledges.</source>
- <translation type="unfinished"></translation>
+ <translation>Tämä toiminto vaatii ylläpitäjän oikeuksia.</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="170"/>
<source>Would you like to enable these priviledges?</source>
- <translation type="unfinished"></translation>
+ <translation>Haluatko ottaa nämä oikeudet käyttöön?</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="175"/>
<source>ERROR</source>
- <translation type="unfinished"></translation>
+ <translation>VIRHE</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="175"/>
<source>The process could not be completed:</source>
- <translation type="unfinished"></translation>
+ <translation>Toimenpidettä ei saatu loppuun:</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="178"/>
<source>SUCCESS</source>
- <translation type="unfinished"></translation>
+ <translation>ONNISTUI</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="178"/>
<source>The image was successfully burned to the USB device</source>
- <translation type="unfinished"></translation>
+ <translation>Levykuva poltettiin ongelmitta USB-laitteelle</translation>
</message>
</context>
</TS>
diff --git a/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_lt.ts b/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_lt.ts
index 1c53233d..121263bb 100644
--- a/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_lt.ts
+++ b/src-qt5/desktop-utils/lumina-archiver/i18n/l-archiver_lt.ts
@@ -513,12 +513,12 @@
<message>
<location filename="../imgDialog.cpp" line="170"/>
<source>This operation requires administrator priviledges.</source>
- <translation type="unfinished"></translation>
+ <translation>Ši operacija reikalauja administratoriaus teisių.</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="170"/>
<source>Would you like to enable these priviledges?</source>
- <translation type="unfinished"></translation>
+ <translation>Ar norėtumėte leisti šias teises?</translation>
</message>
<message>
<location filename="../imgDialog.cpp" line="175"/>
diff --git a/src-qt5/desktop-utils/lumina-calculator/i18n/l-calc_fi.ts b/src-qt5/desktop-utils/lumina-calculator/i18n/l-calc_fi.ts
index 0116a041..0d4a273d 100644
--- a/src-qt5/desktop-utils/lumina-calculator/i18n/l-calc_fi.ts
+++ b/src-qt5/desktop-utils/lumina-calculator/i18n/l-calc_fi.ts
@@ -6,67 +6,67 @@
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="603"/>
<source>Multimedia</source>
- <translation type="unfinished"></translation>
+ <translation>Multimedia</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="604"/>
<source>Development</source>
- <translation type="unfinished"></translation>
+ <translation>Kehitys</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="605"/>
<source>Education</source>
- <translation type="unfinished"></translation>
+ <translation>Kasvatus</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="606"/>
<source>Games</source>
- <translation type="unfinished"></translation>
+ <translation>Pelit</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="607"/>
<source>Graphics</source>
- <translation type="unfinished"></translation>
+ <translation>Grafiikka</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="608"/>
<source>Network</source>
- <translation type="unfinished"></translation>
+ <translation>Verkko</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="609"/>
<source>Office</source>
- <translation type="unfinished"></translation>
+ <translation>Toimisto</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="610"/>
<source>Science</source>
- <translation type="unfinished"></translation>
+ <translation>Tiede</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="611"/>
<source>Settings</source>
- <translation type="unfinished"></translation>
+ <translation>Asetukset</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="612"/>
<source>System</source>
- <translation type="unfinished"></translation>
+ <translation>Järjestelmä</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="613"/>
<source>Utility</source>
- <translation type="unfinished"></translation>
+ <translation>Työkalut</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="614"/>
<source>Wine</source>
- <translation type="unfinished"></translation>
+ <translation>Wine</translation>
</message>
<message>
<location filename="../../../core/libLumina/LuminaXDG.cpp" line="615"/>
<source>Unsorted</source>
- <translation type="unfinished"></translation>
+ <translation>Lajittelematta</translation>
</message>
</context>
<context>
@@ -75,102 +75,102 @@
<location filename="../mainUI.ui" line="14"/>
<location filename="../mainUI.cpp" line="53"/>
<source>Calculator</source>
- <translation type="unfinished"></translation>
+ <translation>Laskin</translation>
</message>
<message>
<location filename="../mainUI.ui" line="657"/>
<source>Advanced Operations</source>
- <translation type="unfinished"></translation>
+ <translation>Lisätoiminnot</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="83"/>
<source>Percentage %1</source>
- <translation type="unfinished"></translation>
+ <translation>Osuus %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="85"/>
<source>Power %1</source>
- <translation type="unfinished"></translation>
+ <translation>Potenssi %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="87"/>
<source>Base-10 Exponential %1</source>
- <translation type="unfinished"></translation>
+ <translation>10-kantainen eksponentti %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="89"/>
<source>Exponential %1</source>
- <translation type="unfinished"></translation>
+ <translation>Eksponentti %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="91"/>
<source>Constant Pi %1</source>
- <translation type="unfinished"></translation>
+ <translation>Vakio pii %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="94"/>
<source>Square Root %1</source>
- <translation type="unfinished"></translation>
+ <translation>Neliöjuuri %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="96"/>
<source>Logarithm %1</source>
- <translation type="unfinished"></translation>
+ <translation>Logaritmi %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="98"/>
<source>Natural Log %1</source>
- <translation type="unfinished"></translation>
+ <translation>Luonnollinen logaritmi %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="101"/>
<source>Sine %1</source>
- <translation type="unfinished"></translation>
+ <translation>Sini %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="103"/>
<source>Cosine %1</source>
- <translation type="unfinished"></translation>
+ <translation>Kosini %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="105"/>
<source>Tangent %1</source>
- <translation type="unfinished"></translation>
+ <translation>Tangentti %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="108"/>
<source>Arc Sine %1</source>
- <translation type="unfinished"></translation>
+ <translation>Arkussini %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="110"/>
<source>Arc Cosine %1</source>
- <translation type="unfinished"></translation>
+ <translation>Arkuskosini %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="112"/>
<source>Arc Tangent %1</source>
- <translation type="unfinished"></translation>
+ <translation>Arkustangentti %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="115"/>
<source>Hyperbolic Sine %1</source>
- <translation type="unfinished"></translation>
+ <translation>Hyperbolinen sini %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="117"/>
<source>Hyperbolic Cosine %1</source>
- <translation type="unfinished"></translation>
+ <translation>Hyperbolinen kosini %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="119"/>
<source>Hyperbolic Tangent %1</source>
- <translation type="unfinished"></translation>
+ <translation>Hyperbolinen tangentti %1</translation>
</message>
<message>
<location filename="../mainUI.cpp" line="182"/>
<source>Save Calculator History</source>
- <translation type="unfinished"></translation>
+ <translation>Tallenna laskimen historia</translation>
</message>
</context>
</TS>
diff --git a/src-qt5/desktop-utils/lumina-fm-dev/main.cpp b/src-qt5/desktop-utils/lumina-fm-dev/main.cpp
index 61d2dc95..a4a6244e 100644
--- a/src-qt5/desktop-utils/lumina-fm-dev/main.cpp
+++ b/src-qt5/desktop-utils/lumina-fm-dev/main.cpp
@@ -2,6 +2,7 @@
#include <QDebug>
#include <QFile>
#include <QStringList>
+#include <QElapsedTimer>
#include "MainUI.h"
#include <LuminaOS.h>
@@ -10,6 +11,7 @@
#include <LuminaSingleApplication.h>
#include "BrowserWidget.h"
+QElapsedTimer* timer = 0;
int main(int argc, char ** argv)
{
@@ -27,6 +29,7 @@ int main(int argc, char ** argv)
MainUI w;
QObject::connect(&a, SIGNAL(InputsAvailable(QStringList)), &w, SLOT(slotSingleInstance(QStringList)) );
//QObject::connect(&themes, SIGNAL(updateIcons()), &w, SLOT(setupIcons()) );
+ timer = new QElapsedTimer(); timer->start(); qDebug() << " - Init:" << timer->elapsed();
w.OpenDirs(in);
w.show();
diff --git a/src-qt5/desktop-utils/lumina-fm-dev/widgets/DirWidget2.cpp b/src-qt5/desktop-utils/lumina-fm-dev/widgets/DirWidget2.cpp
index 3790d145..2e837cfd 100644
--- a/src-qt5/desktop-utils/lumina-fm-dev/widgets/DirWidget2.cpp
+++ b/src-qt5/desktop-utils/lumina-fm-dev/widgets/DirWidget2.cpp
@@ -28,6 +28,8 @@
#define DEBUG 0
+extern QElapsedTimer* timer;
+
DirWidget::DirWidget(QString objID, QWidget *parent) : QWidget(parent), ui(new Ui::DirWidget){
ui->setupUi(this); //load the designer file
ID = objID;
@@ -90,6 +92,8 @@ DirWidget::DirWidget(QString objID, QWidget *parent) : QWidget(parent), ui(new U
createShortcuts();
createMenus();
line_dir->setCompleter(new QCompleter(dirtreeModel, this));
+ qDebug() << " - Fini:" << timer->elapsed();
+
}
DirWidget::~DirWidget(){
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.cpp b/src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.cpp
new file mode 100644
index 00000000..6e65ebaf
--- /dev/null
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.cpp
@@ -0,0 +1,36 @@
+#include "fmwebdav.h"
+
+fmwebdav::fmwebdav(QObject *parent) : QNetworkAccessManager(parent) ,wdRootPath(), wdUsername(), wdUassword(), wdBaseUrl(), wdCurrentConnectionType(QWebdav::HTTP){
+// typical Qnetwork connection stuff goes here
+// probably ssl parts too
+}
+
+fmwebdav::~fmwebdav(){
+}
+
+QString fmwebdav::hostname() const{ return wdBaseUrl.host(); }
+
+int fmwebdav::port() const{ return wdBaseUrl.port(); }
+
+QString fmwebdav::rootPath() const{ return wdRootPath;}
+
+QString fmwebdav::username() const{ return wdUsername; }
+
+QString fmwebdav::password() const{ return wdPassword; }
+
+fmwebdav::QWebdavConnectionType : fmwebdav::connectionType() const{ return wdCurrentConnectionType; }
+
+bool fmwebdav::isSSL() const{ return (wdCurrentConnectionType==QWebdav::HTTPS); }
+
+void QWebdav::setConnectionSettings(const QWebdavConnectionType connectionType, const QString *hostname, const QString *rootPath, const QString *username, const QString *password, int *port){
+ wdRootPath = rootPath;
+ if ((wdRootPath.endsWith("/")){ wdRootPath.chop(1); }
+ wdCurrentConnectionType = connectionType;
+ wdBaseUrl.setScheme();
+ wdBaseUrl.setHost(hostname);
+ wdBaseUrl.setPath(rootPath);
+ if (port != 0) { // use user-defined port number if not 80 or 443
+ if ( ! ( ( (port == 80) && (wdCurrentConnectionType==QWebdav::HTTP) ) || ( (port == 443) && (wdCurrentConnectionType==QWebdav::HTTPS) ) ) ){ wdBaseUrl.setPort(port); }
+ wdUsername = username;
+ wdPassword = password;
+}
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h b/src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h
new file mode 100644
index 00000000..04d29e3b
--- /dev/null
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/fmwebdav.h
@@ -0,0 +1,36 @@
+#ifndef FMWEBDAV_H
+#define FMWEBDAV_H
+
+#include <QtCore>
+#include <QtNetwork>
+#include <QNetworkAccessManager>
+
+public:
+
+ enum QWebdavConnectionType {HTTP = 1, HTTPS};
+
+ QString hostname() const;
+ int port() const;
+ QString rootPath() const;
+ QString username() const;
+ QString password() const;
+ QWebdavConnectionType connectionType() const;
+ bool isSSL() const;
+
+ void setConnectionSettings( const QWebdavConnectionType connectionType, const QString *hostname, const QString *rootPath = "/", const QString *username = "", const QString *password = "", int *port = 0;
+
+
+private:
+
+ QString wdRootPath;
+ QString wdUsername;
+ QString wdPassword;
+ QUrl wdBaseUrl;
+ QWebdavConnectionType wdCurrentConnectionType;
+
+
+
+
+
+
+#endif // FMWEBDAV
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/vidnail.cpp b/src-qt5/desktop-utils/lumina-fm/widgets/vidnail.cpp
new file mode 100644
index 00000000..ee7fb9e3
--- /dev/null
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/vidnail.cpp
@@ -0,0 +1,33 @@
+#include "vidnail.h"
+vidnail::vidnail(QWidget *parent) : QMainWindow(parent), mplayer(parent, QMediaPlayer::VideoSurface){ //there is no UI, so not sure how to alter the constructor
+}
+
+vidnail::~vidnail()
+{
+
+vidnail::grabvideothumbnail(){
+ vsurface = new QAbstractVideoSurface();
+ mplayer.setVideoOutput(vsurface);
+ mplayer.setMedia($file); // video file to get thumbnail of
+ imageCaptured = QPixmap();
+ mplayer.setPosition(2000); // time in milliseconds
+ mplayer.setMuted(true); // just to make sure no sound is emited
+ mplayer.play();
+
+ currentFrame = frame;
+ const QImage::Format imageFormat = QVideoFrame::imageFormatFromPixelFormat(format.pixelFormat());
+ const QSize size = format.frameSize();
+
+ this->imageFormat = imageFormat;
+ QAbstractVideoSurface::start(format);
+ QImage image( currentFrame.bits(), currentFrame.width(), currentFrame.height(), currentFrame.bytesPerLine(), imageFormat);
+ imageCaptured = QPixmap::fromImage(image.copy(image.rect()));
+
+// Now do scaling with regular thumbnail process to make proper size
+
+ mplayer.stop();
+ vsurface.stop();
+}
+
+
+
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h b/src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h
new file mode 100644
index 00000000..ad565749
--- /dev/null
+++ b/src-qt5/desktop-utils/lumina-fm/widgets/vidnail.h
@@ -0,0 +1,25 @@
+#ifndef VIDNAIL_H
+#define VIDNAIL_H
+
+#include <QMediaPlayer>
+#include <QtMultimediaWidgets>
+#include "videowidgetsurface.h"
+#include <QPixmap>
+#include <QAbstractVideoSurface>
+#include <QImage>
+#include <QRect>
+#include <QVideoFrame>
+
+public:
+
+ void grabvideothumbnail();
+
+private:
+
+ QAbstractVideoSurface *vsurface;
+ QImage::Format imageFormat;
+ QPixmap imageCaptured;
+
+
+#endif // VIDNAIL_H
+
diff --git a/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp b/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp
index 52a29c01..4c2ce0bd 100644
--- a/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp
+++ b/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp
@@ -496,11 +496,11 @@ void MainUI::closeEvent(QCloseEvent *ev){
unsaved << tmp->currentFile();
}
}
- bool quitnow = unsaved.isEmpty();
- if(!quitnow && !ui->actionShow_Popups->isChecked()){ quitnow = true; }
- if(!quitnow){
- quitnow = (QMessageBox::Yes == QMessageBox::question(this, tr("Lose Unsaved Changes?"), QString(tr("There are unsaved changes.\nDo you want to close the editor anyway?\n\n%1")).arg(unsaved.join("\n")), QMessageBox::Yes | QMessageBox::No, QMessageBox::No) );
- }
- if(quitnow){ QMainWindow::closeEvent(ev); }
- else{ ev->ignore(); }
+ bool savenow = unsaved.isEmpty();
+ if(!savenow && !ui->actionShow_Popups->isChecked()){ savenow = true; }
+ if(!savenow){
+ savenow = (QMessageBox::Yes == QMessageBox::question(this, tr("Save Changes before closing?"), QString(tr("There are unsaved changes.\nDo you want save them before you close the editor?\n\n%1")).arg(unsaved.join("\n")), QMessageBox::Yes | QMessageBox::No, QMessageBox::No) );
+ }
+ if(!savenow){ QMainWindow::closeEvent(ev); }
+ else{ ev->ignore(); SaveFile(); }
}
diff --git a/src-qt5/desktop-utils/lumina-textedit/MainUI.ui b/src-qt5/desktop-utils/lumina-textedit/MainUI.ui
index de5c1ee1..fec94a21 100644
--- a/src-qt5/desktop-utils/lumina-textedit/MainUI.ui
+++ b/src-qt5/desktop-utils/lumina-textedit/MainUI.ui
@@ -182,7 +182,7 @@
<x>0</x>
<y>0</y>
<width>505</width>
- <height>21</height>
+ <height>28</height>
</rect>
</property>
<property name="contextMenuPolicy">
@@ -437,6 +437,11 @@
</property>
</action>
</widget>
+ <tabstops>
+ <tabstop>line_find</tabstop>
+ <tabstop>line_replace</tabstop>
+ <tabstop>tool_hideReplaceGroup</tabstop>
+ </tabstops>
<resources/>
<connections/>
</ui>
bgstack15