From 5c4f390bd24d9572b4f5fa2f57f65328082715b2 Mon Sep 17 00:00:00 2001 From: Rafael Date: Sat, 2 Apr 2016 21:09:07 +0200 Subject: [PATCH] double click on ProfileInterface widgets open specific dialog, german translation updated --- AboutDialog.cpp | 1 - AboutDialog.ui | 2 +- SavegameCopy.cpp | 98 ++++++++++++++++++++++++++++++++++++ SavegameCopy.h | 31 ++++++++++++ SavegameDialog.cpp | 11 ++-- SavegameDialog.h | 4 +- SavegameDialog.ui | 7 +++ SavegameWidget.cpp | 82 +++++++----------------------- SavegameWidget.h | 3 ++ UserInterface.cpp | 2 +- gta5sync.pro | 4 +- lang/gta5sync_ru.ts | 114 ++++++++++++++++++++++------------------- main.cpp | 2 +- res/gta5sync_de.qm | Bin 11000 -> 11183 bytes res/gta5sync_de.ts | 120 ++++++++++++++++++++++++-------------------- 15 files changed, 300 insertions(+), 181 deletions(-) create mode 100755 SavegameCopy.cpp create mode 100755 SavegameCopy.h diff --git a/AboutDialog.cpp b/AboutDialog.cpp index 96d48cc..1fd6e0d 100755 --- a/AboutDialog.cpp +++ b/AboutDialog.cpp @@ -24,7 +24,6 @@ AboutDialog::AboutDialog(QWidget *parent) : ui(new Ui::AboutDialog) { ui->setupUi(this); - this->setWindowIcon(QIcon(":/img/5sync.png")); aboutStr = ui->labAbout->text(); ui->labAbout->setText(aboutStr.arg(qApp->applicationVersion(), QT_VERSION_STR, qVersion())); } diff --git a/AboutDialog.ui b/AboutDialog.ui index 7191660..6712b60 100755 --- a/AboutDialog.ui +++ b/AboutDialog.ui @@ -56,7 +56,7 @@ - <span style=" font-weight:600;">gta5sync</span><br/><br/>A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames<br/><br/>Project version: %1<br/>Compiled with Qt %2<br/>Running with Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a> + <span style=" font-weight:600;">gta5sync</span><br/><br/>A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames<br/><br/>Project version: %1<br/>Compiled with Qt %2<br/>Running with Qt %3<br/><br/>Copyright &copy; <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a> true diff --git a/SavegameCopy.cpp b/SavegameCopy.cpp new file mode 100755 index 0000000..59bde7b --- /dev/null +++ b/SavegameCopy.cpp @@ -0,0 +1,98 @@ +/***************************************************************************** +* gta5sync GRAND THEFT AUTO V SYNC +* Copyright (C) 2016 Syping +* +* 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 . +*****************************************************************************/ + +#include "SidebarGenerator.h" +#include "SavegameWidget.h" +#include "SavegameCopy.h" +#include +#include +#include + +SavegameCopy::SavegameCopy() +{ + +} + +void SavegameCopy::CopySavegame(QWidget *parent, QString sgdPath) +{ + QSettings settings("Syping", "gta5sync"); + settings.beginGroup("FileDialogs"); + +fileDialogPreSave: + QFileInfo sgdFileInfo(sgdPath); + QFileDialog fileDialog(parent); + fileDialog.setFileMode(QFileDialog::AnyFile); + fileDialog.setViewMode(QFileDialog::Detail); + fileDialog.setAcceptMode(QFileDialog::AcceptSave); + fileDialog.setOption(QFileDialog::DontUseNativeDialog, true); + fileDialog.setOption(QFileDialog::DontConfirmOverwrite, true); + fileDialog.setDefaultSuffix(""); + fileDialog.setWindowFlags(fileDialog.windowFlags()^Qt::WindowContextHelpButtonHint); + fileDialog.setWindowTitle(SavegameWidget::tr(("Copy savegame"))); + + QStringList filters; + filters << SavegameWidget::tr("Savegame files (SGTA*)"); + filters << SavegameWidget::tr("All files (**)"); + fileDialog.setNameFilters(filters); + + QList sidebarUrls = SidebarGenerator::generateSidebarUrls(fileDialog.sidebarUrls()); + + fileDialog.setSidebarUrls(sidebarUrls); + fileDialog.restoreState(settings.value("CopySavegame","").toByteArray()); + fileDialog.selectFile(sgdFileInfo.fileName()); + + if (fileDialog.exec()) + { + QStringList selectedFiles = fileDialog.selectedFiles(); + if (selectedFiles.length() == 1) + { + QString selectedFile = selectedFiles.at(0); + + if (QFile::exists(selectedFile)) + { + if (QMessageBox::Yes == QMessageBox::warning(parent, SavegameWidget::tr("Copy savegame"), SavegameWidget::tr("Overwrite %1 with current savegame?").arg("\""+selectedFile+"\""), QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes)) + { + if (!QFile::remove(selectedFile)) + { + QMessageBox::warning(parent, SavegameWidget::tr("Copy savegame"), SavegameWidget::tr("Failed to overwrite %1 with current savegame").arg("\""+selectedFile+"\"")); + goto fileDialogPreSave; + } + } + else + { + goto fileDialogPreSave; + } + } + + bool isCopied = QFile::copy(sgdPath, selectedFile); + if (!isCopied) + { + QMessageBox::warning(parent, SavegameWidget::tr("Copy savegame"), SavegameWidget::tr("Failed to copy current savegame")); + goto fileDialogPreSave; + } + } + else + { + QMessageBox::warning(parent, SavegameWidget::tr("Copy savegame"), SavegameWidget::tr("No valid file is selected")); + goto fileDialogPreSave; + } + } + + settings.setValue("CopySavegame", fileDialog.saveState()); + settings.endGroup(); +} diff --git a/SavegameCopy.h b/SavegameCopy.h new file mode 100755 index 0000000..68decee --- /dev/null +++ b/SavegameCopy.h @@ -0,0 +1,31 @@ +/***************************************************************************** +* gta5sync GRAND THEFT AUTO V SYNC +* Copyright (C) 2016 Syping +* +* 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 . +*****************************************************************************/ + +#ifndef SAVEGAMECOPY_H +#define SAVEGAMECOPY_H + +#include + +class SavegameCopy +{ +public: + SavegameCopy(); + static void CopySavegame(QWidget *parent, QString sgdPath); +}; + +#endif // SAVEGAMECOPY_H diff --git a/SavegameDialog.cpp b/SavegameDialog.cpp index 6e75c26..213214d 100755 --- a/SavegameDialog.cpp +++ b/SavegameDialog.cpp @@ -1,6 +1,6 @@ #include "SavegameDialog.h" #include "ui_SavegameDialog.h" - +#include "SavegameCopy.h" #include SavegameDialog::SavegameDialog(QWidget *parent) : @@ -16,7 +16,7 @@ SavegameDialog::~SavegameDialog() delete ui; } -void SavegameDialog::setSavegameData(SavegameData *savegame, bool readOk) +void SavegameDialog::setSavegameData(SavegameData *savegame, QString savegamePath, bool readOk) { // Showing error if reading error if (!readOk) @@ -24,7 +24,7 @@ void SavegameDialog::setSavegameData(SavegameData *savegame, bool readOk) QMessageBox::warning(this,tr("Savegame Viewer"),tr("Failed at %1").arg(savegame->getLastStep())); return; } - + sgdPath = savegamePath; ui->labSavegameText->setText(savegameLabStr.arg(savegame->getSavegameStr())); } @@ -32,3 +32,8 @@ void SavegameDialog::on_cmdClose_clicked() { this->close(); } + +void SavegameDialog::on_cmdCopy_clicked() +{ + SavegameCopy::CopySavegame(this, sgdPath); +} diff --git a/SavegameDialog.h b/SavegameDialog.h index deec5e1..0b3a900 100755 --- a/SavegameDialog.h +++ b/SavegameDialog.h @@ -13,15 +13,17 @@ class SavegameDialog : public QDialog Q_OBJECT public: explicit SavegameDialog(QWidget *parent = 0); - void setSavegameData(SavegameData *savegame, bool readOk); + void setSavegameData(SavegameData *savegame, QString sgdPath, bool readOk); ~SavegameDialog(); private slots: void on_cmdClose_clicked(); + void on_cmdCopy_clicked(); private: Ui::SavegameDialog *ui; QString savegameLabStr; + QString sgdPath; }; #endif // SAVEGAMEDIALOG_H diff --git a/SavegameDialog.ui b/SavegameDialog.ui index 162025d..cb8fd60 100755 --- a/SavegameDialog.ui +++ b/SavegameDialog.ui @@ -52,6 +52,13 @@ + + + + Copy + + + diff --git a/SavegameWidget.cpp b/SavegameWidget.cpp index 7587cc5..f02b30a 100755 --- a/SavegameWidget.cpp +++ b/SavegameWidget.cpp @@ -19,8 +19,10 @@ #include "SavegameWidget.h" #include "ui_SavegameWidget.h" #include "SidebarGenerator.h" +#include "SavegameDialog.h" #include "StandardPaths.h" #include "SavegameData.h" +#include "SavegameCopy.h" #include #include #include @@ -51,6 +53,11 @@ void SavegameWidget::setSavegameData(SavegameData *savegame, QString savegamePat sgdata = savegame; } +void SavegameWidget::on_cmdCopy_clicked() +{ + SavegameCopy::CopySavegame(this, sgdPath); +} + void SavegameWidget::on_cmdDelete_clicked() { int uchoice = QMessageBox::question(this, tr("Delete savegame"), tr("Are you sure to delete %1 from your savegames?").arg("\""+sgdStr+"\""), QMessageBox::No | QMessageBox::Yes, QMessageBox::No); @@ -71,71 +78,16 @@ void SavegameWidget::on_cmdDelete_clicked() } } -void SavegameWidget::on_cmdCopy_clicked() +void SavegameWidget::mouseDoubleClickEvent(QMouseEvent *ev) { - QSettings settings("Syping", "gta5sync"); - settings.beginGroup("FileDialogs"); + QWidget::mouseDoubleClickEvent(ev); -fileDialogPreSave: - QFileInfo sgdFileInfo(sgdPath); - QFileDialog fileDialog(this); - fileDialog.setFileMode(QFileDialog::AnyFile); - fileDialog.setViewMode(QFileDialog::Detail); - fileDialog.setAcceptMode(QFileDialog::AcceptSave); - fileDialog.setOption(QFileDialog::DontUseNativeDialog, true); - fileDialog.setOption(QFileDialog::DontConfirmOverwrite, true); - fileDialog.setDefaultSuffix(""); - fileDialog.setWindowFlags(fileDialog.windowFlags()^Qt::WindowContextHelpButtonHint); - fileDialog.setWindowTitle(tr("Copy savegame")); - - QStringList filters; - filters << tr("Savegame files (SGTA*)"); - filters << tr("All files (**)"); - fileDialog.setNameFilters(filters); - - QList sidebarUrls = SidebarGenerator::generateSidebarUrls(fileDialog.sidebarUrls()); - - fileDialog.setSidebarUrls(sidebarUrls); - fileDialog.restoreState(settings.value("CopySavegame","").toByteArray()); - fileDialog.selectFile(sgdFileInfo.fileName()); - - if (fileDialog.exec()) - { - QStringList selectedFiles = fileDialog.selectedFiles(); - if (selectedFiles.length() == 1) - { - QString selectedFile = selectedFiles.at(0); - - if (QFile::exists(selectedFile)) - { - if (QMessageBox::Yes == QMessageBox::warning(this, tr("Copy savegame"), tr("Overwrite %1 with current savegame?").arg("\""+selectedFile+"\""), QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes)) - { - if (!QFile::remove(selectedFile)) - { - QMessageBox::warning(this, tr("Copy savegame"), tr("Failed to overwrite %1 with current savegame").arg("\""+selectedFile+"\"")); - goto fileDialogPreSave; - } - } - else - { - goto fileDialogPreSave; - } - } - - bool isCopied = QFile::copy(sgdPath, selectedFile); - if (!isCopied) - { - QMessageBox::warning(this, tr("Copy savegame"), tr("Failed to copy current savegame")); - goto fileDialogPreSave; - } - } - else - { - QMessageBox::warning(this, tr("Copy savegame"), tr("No valid file is selected")); - goto fileDialogPreSave; - } - } - - settings.setValue("CopySavegame", fileDialog.saveState()); - settings.endGroup(); + SavegameDialog *savegameDialog = new SavegameDialog(this); + savegameDialog->setWindowFlags(savegameDialog->windowFlags()^Qt::WindowContextHelpButtonHint); + savegameDialog->setSavegameData(sgdata, sgdPath, true); + savegameDialog->setModal(true); + savegameDialog->show(); + savegameDialog->exec(); + savegameDialog->deleteLater(); + delete savegameDialog; } diff --git a/SavegameWidget.h b/SavegameWidget.h index 2a232e0..60dc5cd 100755 --- a/SavegameWidget.h +++ b/SavegameWidget.h @@ -39,6 +39,9 @@ private slots: void on_cmdDelete_clicked(); void on_cmdCopy_clicked(); +protected: + void mouseDoubleClickEvent(QMouseEvent *ev); + private: Ui::SavegameWidget *ui; SavegameData *sgdata; diff --git a/UserInterface.cpp b/UserInterface.cpp index cf93908..c649470 100755 --- a/UserInterface.cpp +++ b/UserInterface.cpp @@ -176,8 +176,8 @@ void UserInterface::openSelectProfile() void UserInterface::on_actionAbout_gta5sync_triggered() { AboutDialog *aboutDialog = new AboutDialog(this); - aboutDialog->setWindowIcon(this->windowIcon()); aboutDialog->setWindowFlags(aboutDialog->windowFlags()^Qt::WindowContextHelpButtonHint); + aboutDialog->setModal(true); aboutDialog->show(); aboutDialog->exec(); aboutDialog->deleteLater(); diff --git a/gta5sync.pro b/gta5sync.pro index 50a4df8..1f8c675 100755 --- a/gta5sync.pro +++ b/gta5sync.pro @@ -32,6 +32,7 @@ SOURCES += main.cpp \ ProfileDatabase.cpp \ ProfileInterface.cpp \ ProfileLoader.cpp \ + SavegameCopy.cpp \ SavegameData.cpp \ SavegameDialog.cpp \ SavegameWidget.cpp \ @@ -52,6 +53,7 @@ HEADERS += \ ProfileDatabase.h \ ProfileInterface.h \ ProfileLoader.h \ + SavegameCopy.h \ SavegameData.h \ SavegameDialog.h \ SavegameWidget.h \ @@ -74,7 +76,7 @@ FORMS += \ TRANSLATIONS += \ res/gta5sync_de.ts \ - res/lang/gta5sync_ru.ts + lang/gta5sync_ru.ts RESOURCES += \ res/app.qrc diff --git a/lang/gta5sync_ru.ts b/lang/gta5sync_ru.ts index 88fb184..ef11abd 100755 --- a/lang/gta5sync_ru.ts +++ b/lang/gta5sync_ru.ts @@ -9,15 +9,19 @@ О программе gta5sync - <span style=" font-weight:600;">gta5sync</span><br/><br/>A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames<br/><br/>Project version: %1<br/>Compiled with Qt %2<br/>Running with Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a> - <span style=" font-weight:600;">gta5sync</span><br/><br/>Проект для просмотра и синхронизации фотографий Snapmatic и сохранений от Grand Theft Auto 5<br/><br/>Версия проекта: %1<br/>Скомпилировано с Qt %2<br/>Работает на Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync лицензирован по <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a> + <span style=" font-weight:600;">gta5sync</span><br/><br/>Проект для просмотра и синхронизации фотографий Snapmatic и сохранений от Grand Theft Auto 5<br/><br/>Версия проекта: %1<br/>Скомпилировано с Qt %2<br/>Работает на Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync лицензирован по <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a> Close Закрыть + + + <span style=" font-weight:600;">gta5sync</span><br/><br/>A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames<br/><br/>Project version: %1<br/>Compiled with Qt %2<br/>Running with Qt %3<br/><br/>Copyright &copy; <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a> + + PictureDialog @@ -27,7 +31,7 @@ %1 - Просмотрщик фотографий Snapmatic - + <span style=" font-weight:600;">Title: </span>%6<br> <span style=" font-weight:600;">Location: </span>%1, %2, %3 <br> <span style=" font-weight:600;">Players: </span>%4<br> @@ -38,109 +42,109 @@ <span style=" font-weight:600;">ID группы: </span>%5 - - - - - - + + + + + + Export picture Экспорт картинки - + Export Экспорт - + Copy Копировать - - + + Close Закрыть - - + + Snapmatic Picture Viewer Просмотрщик фотографий Snapmatic - - + + Failed at %1 Ошибка при %1 - - + + No player Игроков нет - - + + No crew Без группы - + JPEG picture (*.jpg) Картинка JPEG (*.jpg) - + Portable Network Graphics (*.png) Картинка Portable Network Graphics (*.png) - - + + Overwrite %1 with current Snapmatic picture? Перезаписать %1 текущей картинкой Snapmatic? - - + + Failed to overwrite %1 with current Snapmatic picture Не удалось перезаписать %1 картинкой Snapmatic - + Failed to export current Snapmatic picture Не удалось экспортировать текущую картинку Snapmatic - - + + No valid file is selected Выбранный файл неверен - - - - - + + + + + Copy picture Скопировать картинку - + Snapmatic pictures (PGTA*) Картинки Snapmatic (PGTA*) - + All files (**) Все файлы (**) - + Failed to copy current Snapmatic picture Не удалось скопировать текущую картинку Snapmatic @@ -259,6 +263,11 @@ + Copy + Копировать + + + Close Закрыть @@ -291,57 +300,56 @@ Удалить - - + + Delete savegame Удалить сохранение - + Are you sure to delete %1 from your savegames? Вы уверены, что хотите удалить сохранение %1? - + Failed at deleting %1 from your savegames Не удалось удалить сохранение %1 - - - - - + + + + Copy savegame Копировать сохранение - + Savegame files (SGTA*) Файлы сохранений (SGTA*) - + All files (**) Все файлы (**) - + Overwrite %1 with current savegame? Перезаписать %1 текущим сохранением? - + Failed to overwrite %1 with current savegame Не удалось перезаписать %1 текущим сохранением - + Failed to copy current savegame Не удалось скопировать текущее сохранение - + No valid file is selected Выбранный файл неверен diff --git a/main.cpp b/main.cpp index cf8f7dd..71583eb 100755 --- a/main.cpp +++ b/main.cpp @@ -411,7 +411,7 @@ int main(int argc, char *argv[]) bool readOk = savegame.readingSavegameFromFile(arg1); savegameDialog->setWindowFlags(savegameDialog->windowFlags()^Qt::WindowContextHelpButtonHint); savegameDialog->setWindowIcon(IconLoader::loadingAppIcon()); - savegameDialog->setSavegameData(&savegame, readOk); + savegameDialog->setSavegameData(&savegame, arg1, readOk); if (!readOk) { return 1; } diff --git a/res/gta5sync_de.qm b/res/gta5sync_de.qm index db2baff351d6adc241234fb8d3e2aac4997a78d7..e333aa4f33c726204d569ed2a8d63f031a427622 100755 GIT binary patch delta 782 zcmXAnZAep57{~v+yW8Ep+uWM-byMfdrlFKc4PynFSePz?5{n|7Zkpg5(}eY*^~Dc? z_`)*Hu%zY?l`>XlL}p5uNST@mf`x{JR79C2(T5(r_j1mUb2!icdH&Bin+5j^TlC%< zumKOiH;6O@M8R(0ik!8TcJNluaD_2+5-r!BE5zsX27uu#LO^{9`6H8V1~vLf!IN2^122H z@i8j_Jz$=Z>PJUFpVahb4q!ivw49Y@1zdotfR!s>0?JnQMC5HCzL4#2qJ)+YY=1LF zCF_V1;t_Trt%vlJx9LSvI6GZ`jVh9|KR-PI)K*z|Z#%I`7RLn1VX3Uc_zuuD$xA)t zNN(e}RUPfW;)IPlDo`sja#^Hlj;mf+0W_nWdvTU@rnrA@GNA8LM?97U~N6^XN|DeOv+MIWGLpjHh$+ zO39G-G7#xkj#N_XQu0)(DeJUOQ=R0Tz>ad&)uM|)+y#|iv!8^XsZZ%iSeqm=I#oS> zh6>UhP|xR3ONF(NhehRp;;%?;i%4UmW_*|m4Ik6YDjon~emb->R!Ucy8T2yWBuWcP zP>mXRU<+2Vxe`gU@3~;|Ey$+imXhikk1gnzXGrYnI0_f4Xt+_nJ=f8Dsi)8?qH}x4 xggjKhfm-@qimmq|r=crzRk_@bI+xQ_>@k&8IBIKyFSzwEpHG<>?2b9D{tqR-#*zR4 delta 682 zcmXAlT}V@59LAq>cDA!~cIK9D^J5=wt<7OJN|qTE*oTm%AeEKW#f%C{%38D7jq@g= z4^l9*pqi8|O(A1TjVx$VB34W7gCc{BU4-43ng$a6;avURm*;)||L1ug?p>^EHiZ4) zq9H&q%CyXad*=e&6X1TW2J(VXCWir612z_y0;Wl9FKPvp4w>q&GIN$>y8f{ThUaPC z4)#{X9FS4S-p-hzISRJjzXlK;GR;M7PfZF4Tl3k+{cC~TYPK)o1Z)C3a!m)MIoYYG zffna0>~ALk?z2o+T(K#77|^6RmF6YU!Bu8O0DCXjeT5de*KyrVAl4EYVub4{xCdAp zWjgD)`NDu>n-Ewi1k6psxh=i)krys|sS#mJ7%3s$QYg_VkDc#Tj88+?IjjJC4Mjt)$oK*k{FE-#bPND`UV5d_s7GWnDrYm-yD`S{T ZEn~`QHqjMJs0x|b9`!e4tk$+w`ycN=urB}r diff --git a/res/gta5sync_de.ts b/res/gta5sync_de.ts index 9f56ab5..fd0261c 100755 --- a/res/gta5sync_de.ts +++ b/res/gta5sync_de.ts @@ -8,16 +8,24 @@ About gta5sync Über gta5sync - - + + generated by class + Generiert von der Klasse + + <span style=" font-weight:600;">gta5sync</span><br/><br/>A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames<br/><br/>Project version: %1<br/>Compiled with Qt %2<br/>Running with Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a> - <span style=" font-weight:600;">gta5sync</span><br/><br/>Ein Projekt zum ansehen und synchronisieren von Grand Theft Auto 5 Snapmatic Bilder und Spielständen<br/><br/>Projektversion: %1<br/>Gebaut mit Qt %2<br/>Läuft auf Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is lizenziert unter <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a> + <span style=" font-weight:600;">gta5sync</span><br/><br/>Ein Projekt zum ansehen und synchronisieren von Grand Theft Auto 5 Snapmatic Bilder und Spielständen<br/><br/>Projektversion: %1<br/>Gebaut mit Qt %2<br/>Läuft auf Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is lizenziert unter <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a> Close Schließen + + + <span style=" font-weight:600;">gta5sync</span><br/><br/>A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames<br/><br/>Project version: %1<br/>Compiled with Qt %2<br/>Running with Qt %3<br/><br/>Copyright &copy; <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a> + <span style=" font-weight:600;">gta5sync</span><br/><br/>Ein Projekt zum ansehen und synchronisieren von Grand Theft Auto 5 Snapmatic Bilder und Spielständen<br/><br/>Projektversion: %1<br/>Gebaut mit Qt %2<br/>Läuft auf Qt %3<br/><br/>Copyright &copy; <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is lizenziert unter <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a> + PictureDialog @@ -41,7 +49,7 @@ <span style=" font-weight:600;">Crew ID: </span>%5 - + <span style=" font-weight:600;">Title: </span>%6<br> <span style=" font-weight:600;">Location: </span>%1, %2, %3 <br> <span style=" font-weight:600;">Players: </span>%4<br> @@ -52,93 +60,93 @@ <span style=" font-weight:600;">Crew ID: </span>%5 - + Export Exportieren - + Copy Kopieren - - + + Close Schließen - - + + Snapmatic Picture Viewer Snapmatic Bildansicht - - + + Failed at %1 Fehlgeschlagen bei %1 - - + + No player Keine Spieler - - + + No crew Keine Crew - + JPEG picture (*.jpg) JPEG Bild (*.jpg) - + Portable Network Graphics (*.png) Portable Network Graphics (*.png) - - + + Overwrite %1 with current Snapmatic picture? Überschreibe %1 mit aktuellen Snapmatic Bild? - - + + Failed to overwrite %1 with current Snapmatic picture Fehlgeschlagen beim Überschreiben von %1 mit aktuellen Snapmatic Bild - + Failed to export current Snapmatic picture Fehlgeschlagen beim Exportieren vom aktuellen Snapmatic Bild - - - - - + + + + + Copy picture Bild kopieren - + Snapmatic pictures (PGTA*) Snapmatic Bilder (PGTA*) - + All files (**) Alle Dateien (**) - + Failed to copy current Snapmatic picture Fehlgeschlagen beim Kopieren vom Snapmatic Bild @@ -151,12 +159,12 @@ JPEG Bild (*.jpg);;Portable Network Graphics (*.png) - - - - - - + + + + + + Export picture Bild exportieren @@ -169,8 +177,8 @@ Beim Speichern des Bildes ist ein Fehler aufgetreten - - + + No valid file is selected Keine gültige Datei wurde ausgewählt @@ -298,6 +306,11 @@ + Copy + Kopieren + + + Close Schließen @@ -330,52 +343,51 @@ Löschen - - + + Delete savegame Savegame löschen - + Are you sure to delete %1 from your savegames? Bist du sicher %1 von deinen Spielständen zu löschen? - + Failed at deleting %1 from your savegames Fehlgeschlagen beim Löschen %1 von deinen Spielständen - - - - - + + + + Copy savegame Spielstand kopieren - + Savegame files (SGTA*) Spielstanddateien (SGTA*) - + All files (**) Alle Dateien (**) - + Overwrite %1 with current savegame? Überschreibe %1 mit aktuellen Spielstand? - + Failed to overwrite %1 with current savegame Fehlgeschlagen beim Überschreiben von %1 mit aktuellen Spielstand - + Failed to copy current savegame Fehlgeschlagen beim Kopieren vom Spielstand @@ -384,7 +396,7 @@ Beim Kopieren vom Spielstand ist ein Fehler aufgetreten - + No valid file is selected Keine gültige Datei wurde ausgewählt