first development version of 1.4.x
This commit is contained in:
parent
1ff4f353e3
commit
24b1f32bbe
63 changed files with 4792 additions and 4350 deletions
|
@ -25,9 +25,10 @@ AboutDialog::AboutDialog(QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::AboutDialog)
|
ui(new Ui::AboutDialog)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
// Set Window Flags
|
||||||
aboutStr = ui->labAbout->text();
|
setWindowFlags(windowFlags()^Qt::WindowContextHelpButtonHint);
|
||||||
titleStr = this->windowTitle();
|
|
||||||
|
// Build Strings
|
||||||
QString appVersion = qApp->applicationVersion();
|
QString appVersion = qApp->applicationVersion();
|
||||||
QString buildType = GTA5SYNC_BUILDTYPE;
|
QString buildType = GTA5SYNC_BUILDTYPE;
|
||||||
buildType.replace("_", " ");
|
buildType.replace("_", " ");
|
||||||
|
@ -38,6 +39,11 @@ AboutDialog::AboutDialog(QWidget *parent) :
|
||||||
#else
|
#else
|
||||||
QString projectDes = tr("A project for viewing Grand Theft Auto V Snapmatic<br/>\nPictures and Savegames");
|
QString projectDes = tr("A project for viewing Grand Theft Auto V Snapmatic<br/>\nPictures and Savegames");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Setup User Interface
|
||||||
|
ui->setupUi(this);
|
||||||
|
aboutStr = ui->labAbout->text();
|
||||||
|
titleStr = this->windowTitle();
|
||||||
ui->labAbout->setText(aboutStr.arg(appVersion % " (" % buildType % ")", buildStr, qVersion(), projectBuild, GTA5SYNC_APPVENDORLINK, GTA5SYNC_APPVENDOR, GTA5SYNC_COPYRIGHT, GTA5SYNC_APPSTR, projectDes));
|
ui->labAbout->setText(aboutStr.arg(appVersion % " (" % buildType % ")", buildStr, qVersion(), projectBuild, GTA5SYNC_APPVENDORLINK, GTA5SYNC_APPVENDOR, GTA5SYNC_COPYRIGHT, GTA5SYNC_APPSTR, projectDes));
|
||||||
this->setWindowTitle(titleStr.arg(GTA5SYNC_APPSTR));
|
this->setWindowTitle(titleStr.arg(GTA5SYNC_APPSTR));
|
||||||
|
|
||||||
|
|
|
@ -150,9 +150,7 @@ void DatabaseThread::scanCrewReference(QStringList crewList, int requestDelay)
|
||||||
waitingLoop->exec();
|
waitingLoop->exec();
|
||||||
delete waitingLoop;
|
delete waitingLoop;
|
||||||
|
|
||||||
netReply->deleteLater();
|
|
||||||
delete netReply;
|
delete netReply;
|
||||||
netManager->deleteLater();
|
|
||||||
delete netManager;
|
delete netManager;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -224,9 +222,7 @@ void DatabaseThread::scanCrewMembersList(QStringList crewList, int maxPages, int
|
||||||
currentPage++;
|
currentPage++;
|
||||||
}
|
}
|
||||||
|
|
||||||
netReply->deleteLater();
|
|
||||||
delete netReply;
|
delete netReply;
|
||||||
netManager->deleteLater();
|
|
||||||
delete netManager;
|
delete netManager;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,15 @@
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
|
// IMAGES VALUES
|
||||||
|
#define snapmaticResolutionW 960
|
||||||
|
#define snapmaticResolutionH 536
|
||||||
|
#define snapmaticResolutionLW 430
|
||||||
|
#define snapmaticResolutionLH 240
|
||||||
|
#define snapmaticAvatarResolution 470
|
||||||
|
#define snapmaticAvatarPlacementW 145
|
||||||
|
#define snapmaticAvatarPlacementH 66
|
||||||
|
|
||||||
ImportDialog::ImportDialog(QWidget *parent) :
|
ImportDialog::ImportDialog(QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::ImportDialog)
|
ui(new Ui::ImportDialog)
|
||||||
|
@ -51,7 +60,7 @@ ImportDialog::~ImportDialog()
|
||||||
void ImportDialog::processImage()
|
void ImportDialog::processImage()
|
||||||
{
|
{
|
||||||
QImage snapmaticImage = workImage;
|
QImage snapmaticImage = workImage;
|
||||||
QPixmap snapmaticPixmap(960, 536);
|
QPixmap snapmaticPixmap(snapmaticResolutionW, snapmaticResolutionH);
|
||||||
snapmaticPixmap.fill(Qt::black);
|
snapmaticPixmap.fill(Qt::black);
|
||||||
QPainter snapmaticPainter(&snapmaticPixmap);
|
QPainter snapmaticPainter(&snapmaticPixmap);
|
||||||
if (ui->cbAvatar->isChecked())
|
if (ui->cbAvatar->isChecked())
|
||||||
|
@ -61,24 +70,23 @@ void ImportDialog::processImage()
|
||||||
int diffHeight = 0;
|
int diffHeight = 0;
|
||||||
if (ui->rbKeep->isChecked())
|
if (ui->rbKeep->isChecked())
|
||||||
{
|
{
|
||||||
snapmaticImage = snapmaticImage.scaled(470, 470, Qt::KeepAspectRatio, Qt::SmoothTransformation);
|
snapmaticImage = snapmaticImage.scaled(snapmaticAvatarResolution, snapmaticAvatarResolution, Qt::KeepAspectRatio, Qt::SmoothTransformation);
|
||||||
if (snapmaticImage.width() > snapmaticImage.height())
|
if (snapmaticImage.width() > snapmaticImage.height())
|
||||||
{
|
{
|
||||||
diffHeight = 470 - snapmaticImage.height();
|
diffHeight = snapmaticAvatarResolution - snapmaticImage.height();
|
||||||
diffHeight = diffHeight / 2;
|
diffHeight = diffHeight / 2;
|
||||||
}
|
}
|
||||||
else if (snapmaticImage.width() < snapmaticImage.height())
|
else if (snapmaticImage.width() < snapmaticImage.height())
|
||||||
{
|
{
|
||||||
diffWidth = 470 - snapmaticImage.width();
|
diffWidth = snapmaticAvatarResolution - snapmaticImage.width();
|
||||||
diffWidth = diffWidth / 2;
|
diffWidth = diffWidth / 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
snapmaticImage = snapmaticImage.scaled(470, 470, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
|
snapmaticImage = snapmaticImage.scaled(snapmaticAvatarResolution, snapmaticAvatarResolution, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
|
||||||
}
|
}
|
||||||
snapmaticPainter.drawImage(0, 0, avatarAreaImage);
|
snapmaticPainter.drawImage(snapmaticAvatarPlacementW + diffWidth, snapmaticAvatarPlacementH + diffHeight, snapmaticImage);
|
||||||
snapmaticPainter.drawImage(145 + diffWidth, 66 + diffHeight, snapmaticImage);
|
|
||||||
imageTitle = "Custom Avatar";
|
imageTitle = "Custom Avatar";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -88,28 +96,28 @@ void ImportDialog::processImage()
|
||||||
int diffHeight = 0;
|
int diffHeight = 0;
|
||||||
if (ui->rbKeep->isChecked())
|
if (ui->rbKeep->isChecked())
|
||||||
{
|
{
|
||||||
snapmaticImage = snapmaticImage.scaled(960, 536, Qt::KeepAspectRatio, Qt::SmoothTransformation);
|
snapmaticImage = snapmaticImage.scaled(snapmaticResolutionW, snapmaticResolutionH, Qt::KeepAspectRatio, Qt::SmoothTransformation);
|
||||||
if (snapmaticImage.width() != 960)
|
if (snapmaticImage.width() != snapmaticResolutionW)
|
||||||
{
|
{
|
||||||
diffWidth = 960 - snapmaticImage.width();
|
diffWidth = snapmaticResolutionW - snapmaticImage.width();
|
||||||
diffWidth = diffWidth / 2;
|
diffWidth = diffWidth / 2;
|
||||||
}
|
}
|
||||||
else if (snapmaticImage.height() != 536)
|
else if (snapmaticImage.height() != snapmaticResolutionH)
|
||||||
{
|
{
|
||||||
diffHeight = 536 - snapmaticImage.height();
|
diffHeight = snapmaticResolutionH - snapmaticImage.height();
|
||||||
diffHeight = diffHeight / 2;
|
diffHeight = diffHeight / 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
snapmaticImage = snapmaticImage.scaled(960, 536, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
|
snapmaticImage = snapmaticImage.scaled(snapmaticResolutionW, snapmaticResolutionH, Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
|
||||||
}
|
}
|
||||||
snapmaticPainter.drawImage(0 + diffWidth, 0 + diffHeight, snapmaticImage);
|
snapmaticPainter.drawImage(0 + diffWidth, 0 + diffHeight, snapmaticImage);
|
||||||
imageTitle = "Custom Picture";
|
imageTitle = "Custom Picture";
|
||||||
}
|
}
|
||||||
snapmaticPainter.end();
|
snapmaticPainter.end();
|
||||||
newImage = snapmaticPixmap.toImage();
|
newImage = snapmaticPixmap.toImage();
|
||||||
ui->labPicture->setPixmap(snapmaticPixmap.scaled(430, 240, Qt::IgnoreAspectRatio, Qt::SmoothTransformation));
|
ui->labPicture->setPixmap(snapmaticPixmap.scaled(snapmaticResolutionLW, snapmaticResolutionLH, Qt::IgnoreAspectRatio, Qt::SmoothTransformation));
|
||||||
}
|
}
|
||||||
|
|
||||||
QImage ImportDialog::image()
|
QImage ImportDialog::image()
|
||||||
|
@ -162,3 +170,13 @@ void ImportDialog::on_cmdOK_clicked()
|
||||||
doImport = true;
|
doImport = true;
|
||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ImportDialog::on_labPicture_labelPainted()
|
||||||
|
{
|
||||||
|
if (ui->cbAvatar->isChecked())
|
||||||
|
{
|
||||||
|
QPainter labelPainter(ui->labPicture);
|
||||||
|
labelPainter.drawImage(0, 0, avatarAreaImage.scaled(snapmaticResolutionLW, snapmaticResolutionLH, Qt::IgnoreAspectRatio, Qt::SmoothTransformation));
|
||||||
|
labelPainter.end();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -44,6 +44,7 @@ private slots:
|
||||||
void on_cbAvatar_clicked();
|
void on_cbAvatar_clicked();
|
||||||
void on_cmdCancel_clicked();
|
void on_cmdCancel_clicked();
|
||||||
void on_cmdOK_clicked();
|
void on_cmdOK_clicked();
|
||||||
|
void on_labPicture_labelPainted();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::ImportDialog *ui;
|
Ui::ImportDialog *ui;
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="labPicture">
|
<widget class="UiModLabel" name="labPicture">
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>430</width>
|
<width>430</width>
|
||||||
|
@ -175,6 +175,13 @@
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
<customwidgets>
|
||||||
|
<customwidget>
|
||||||
|
<class>UiModLabel</class>
|
||||||
|
<extends>QLabel</extends>
|
||||||
|
<header>UiModLabel.h</header>
|
||||||
|
</customwidget>
|
||||||
|
</customwidgets>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
|
|
@ -37,6 +37,10 @@ OptionsDialog::OptionsDialog(ProfileDatabase *profileDB, QWidget *parent) :
|
||||||
QDialog(parent), profileDB(profileDB),
|
QDialog(parent), profileDB(profileDB),
|
||||||
ui(new Ui::OptionsDialog)
|
ui(new Ui::OptionsDialog)
|
||||||
{
|
{
|
||||||
|
// Set Window Flags
|
||||||
|
setWindowFlags(windowFlags()^Qt::WindowContextHelpButtonHint);
|
||||||
|
|
||||||
|
// Setup User Interface
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
ui->tabWidget->setCurrentIndex(0);
|
ui->tabWidget->setCurrentIndex(0);
|
||||||
ui->labPicCustomRes->setVisible(false);
|
ui->labPicCustomRes->setVisible(false);
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#include "SidebarGenerator.h"
|
#include "SidebarGenerator.h"
|
||||||
#include "StandardPaths.h"
|
#include "StandardPaths.h"
|
||||||
#include "PictureExport.h"
|
#include "PictureExport.h"
|
||||||
|
#include "StringParser.h"
|
||||||
#include "GlobalString.h"
|
#include "GlobalString.h"
|
||||||
#include "UiModLabel.h"
|
#include "UiModLabel.h"
|
||||||
|
|
||||||
|
@ -89,6 +90,10 @@ PictureDialog::PictureDialog(bool primaryWindow, QWidget *parent) :
|
||||||
|
|
||||||
void PictureDialog::setupPictureDialog(bool withDatabase_)
|
void PictureDialog::setupPictureDialog(bool withDatabase_)
|
||||||
{
|
{
|
||||||
|
// Set Window Flags
|
||||||
|
setWindowFlags(windowFlags()^Qt::WindowContextHelpButtonHint);
|
||||||
|
|
||||||
|
// Setup User Interface
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
windowTitleStr = this->windowTitle();
|
windowTitleStr = this->windowTitle();
|
||||||
jsonDrawString = ui->labJSON->text();
|
jsonDrawString = ui->labJSON->text();
|
||||||
|
@ -422,7 +427,7 @@ void PictureDialog::setSnapmaticPicture(SnapmaticPicture *picture, bool readOk,
|
||||||
}
|
}
|
||||||
created = picture->getSnapmaticProperties().createdDateTime.toString(Qt::DefaultLocaleShortDate);
|
created = picture->getSnapmaticProperties().createdDateTime.toString(Qt::DefaultLocaleShortDate);
|
||||||
plyrsList = picture->getSnapmaticProperties().playersList;
|
plyrsList = picture->getSnapmaticProperties().playersList;
|
||||||
picTitl = picture->getPictureTitl();
|
picTitl = StringParser::escapeString(picture->getPictureTitle());
|
||||||
picArea = picture->getSnapmaticProperties().location.area;
|
picArea = picture->getSnapmaticProperties().location.area;
|
||||||
if (globalMap.contains(picArea))
|
if (globalMap.contains(picArea))
|
||||||
{
|
{
|
||||||
|
@ -596,7 +601,7 @@ void PictureDialog::on_labPicture_mouseDoubleClicked(Qt::MouseButton button)
|
||||||
if (button == Qt::LeftButton)
|
if (button == Qt::LeftButton)
|
||||||
{
|
{
|
||||||
QRect desktopRect = QApplication::desktop()->screenGeometry(this);
|
QRect desktopRect = QApplication::desktop()->screenGeometry(this);
|
||||||
PictureWidget *pictureWidget = new PictureWidget(this);
|
PictureWidget *pictureWidget = new PictureWidget(this); // Work!
|
||||||
pictureWidget->setObjectName("PictureWidget");
|
pictureWidget->setObjectName("PictureWidget");
|
||||||
#if QT_VERSION >= 0x050600
|
#if QT_VERSION >= 0x050600
|
||||||
pictureWidget->setWindowFlags(pictureWidget->windowFlags()^Qt::FramelessWindowHint^Qt::WindowStaysOnTopHint^Qt::MaximizeUsingFullscreenGeometryHint);
|
pictureWidget->setWindowFlags(pictureWidget->windowFlags()^Qt::FramelessWindowHint^Qt::WindowStaysOnTopHint^Qt::MaximizeUsingFullscreenGeometryHint);
|
||||||
|
@ -620,8 +625,8 @@ void PictureDialog::on_labPicture_mouseDoubleClicked(Qt::MouseButton button)
|
||||||
pictureWidget->raise();
|
pictureWidget->raise();
|
||||||
pictureWidget->exec();
|
pictureWidget->exec();
|
||||||
|
|
||||||
fullscreenWidget = 0;
|
fullscreenWidget = 0; // Work!
|
||||||
delete pictureWidget;
|
delete pictureWidget; // Work!
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ void PictureExport::exportAsPicture(QWidget *parent, SnapmaticPicture *picture)
|
||||||
settings.beginGroup("FileDialogs");
|
settings.beginGroup("FileDialogs");
|
||||||
settings.beginGroup("ExportAsPicture");
|
settings.beginGroup("ExportAsPicture");
|
||||||
|
|
||||||
fileDialogPreSave:
|
fileDialogPreSave: //Work?
|
||||||
QFileDialog fileDialog(parent);
|
QFileDialog fileDialog(parent);
|
||||||
fileDialog.setFileMode(QFileDialog::AnyFile);
|
fileDialog.setFileMode(QFileDialog::AnyFile);
|
||||||
fileDialog.setViewMode(QFileDialog::Detail);
|
fileDialog.setViewMode(QFileDialog::Detail);
|
||||||
|
@ -145,12 +145,12 @@ fileDialogPreSave:
|
||||||
if (!QFile::remove(selectedFile))
|
if (!QFile::remove(selectedFile))
|
||||||
{
|
{
|
||||||
QMessageBox::warning(parent, PictureDialog::tr("Export as JPG picture"), PictureDialog::tr("Failed to overwrite %1 with current Snapmatic picture").arg("\""+selectedFile+"\""));
|
QMessageBox::warning(parent, PictureDialog::tr("Export as JPG picture"), PictureDialog::tr("Failed to overwrite %1 with current Snapmatic picture").arg("\""+selectedFile+"\""));
|
||||||
goto fileDialogPreSave;
|
goto fileDialogPreSave; //Work?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
goto fileDialogPreSave;
|
goto fileDialogPreSave; //Work?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -179,13 +179,13 @@ fileDialogPreSave:
|
||||||
if (!isSaved)
|
if (!isSaved)
|
||||||
{
|
{
|
||||||
QMessageBox::warning(parent, PictureDialog::tr("Export as JPG picture"), PictureDialog::tr("Failed to export current Snapmatic picture"));
|
QMessageBox::warning(parent, PictureDialog::tr("Export as JPG picture"), PictureDialog::tr("Failed to export current Snapmatic picture"));
|
||||||
goto fileDialogPreSave;
|
goto fileDialogPreSave; //Work?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QMessageBox::warning(parent, PictureDialog::tr("Export as JPG picture"), PictureDialog::tr("No valid file is selected"));
|
QMessageBox::warning(parent, PictureDialog::tr("Export as JPG picture"), PictureDialog::tr("No valid file is selected"));
|
||||||
goto fileDialogPreSave;
|
goto fileDialogPreSave; //Work?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -207,7 +207,7 @@ void PictureExport::exportAsSnapmatic(QWidget *parent, SnapmaticPicture *picture
|
||||||
adjustedPicPath.remove(adjustedPicPath.length() - 7, 7);
|
adjustedPicPath.remove(adjustedPicPath.length() - 7, 7);
|
||||||
}
|
}
|
||||||
|
|
||||||
fileDialogPreSave:
|
fileDialogPreSave: //Work?
|
||||||
QFileInfo sgdFileInfo(adjustedPicPath);
|
QFileInfo sgdFileInfo(adjustedPicPath);
|
||||||
QFileDialog fileDialog(parent);
|
QFileDialog fileDialog(parent);
|
||||||
fileDialog.setFileMode(QFileDialog::AnyFile);
|
fileDialog.setFileMode(QFileDialog::AnyFile);
|
||||||
|
@ -218,7 +218,7 @@ fileDialogPreSave:
|
||||||
fileDialog.setDefaultSuffix(".rem");
|
fileDialog.setDefaultSuffix(".rem");
|
||||||
fileDialog.setWindowFlags(fileDialog.windowFlags()^Qt::WindowContextHelpButtonHint);
|
fileDialog.setWindowFlags(fileDialog.windowFlags()^Qt::WindowContextHelpButtonHint);
|
||||||
fileDialog.setWindowTitle(PictureDialog::tr("Export as GTA Snapmatic..."));
|
fileDialog.setWindowTitle(PictureDialog::tr("Export as GTA Snapmatic..."));
|
||||||
fileDialog.setLabelText(QFileDialog::Accept, PictureDialog::tr("&Export"));
|
fileDialog.setLabelText(QFileDialog::Accept, PictureDialog::tr("Export"));
|
||||||
|
|
||||||
QStringList filters;
|
QStringList filters;
|
||||||
filters << PictureDialog::tr("GTA V Export (*.g5e)");
|
filters << PictureDialog::tr("GTA V Export (*.g5e)");
|
||||||
|
@ -248,12 +248,12 @@ fileDialogPreSave:
|
||||||
if (!QFile::remove(selectedFile))
|
if (!QFile::remove(selectedFile))
|
||||||
{
|
{
|
||||||
QMessageBox::warning(parent, PictureDialog::tr("Export as GTA Snapmatic"), PictureDialog::tr("Failed to overwrite %1 with current Snapmatic picture").arg("\""+selectedFile+"\""));
|
QMessageBox::warning(parent, PictureDialog::tr("Export as GTA Snapmatic"), PictureDialog::tr("Failed to overwrite %1 with current Snapmatic picture").arg("\""+selectedFile+"\""));
|
||||||
goto fileDialogPreSave;
|
goto fileDialogPreSave; //Work?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
goto fileDialogPreSave;
|
goto fileDialogPreSave; //Work?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -263,7 +263,7 @@ fileDialogPreSave:
|
||||||
if (!isExported)
|
if (!isExported)
|
||||||
{
|
{
|
||||||
QMessageBox::warning(parent, PictureDialog::tr("Export as GTA Snapmatic"), PictureDialog::tr("Failed to export current Snapmatic picture"));
|
QMessageBox::warning(parent, PictureDialog::tr("Export as GTA Snapmatic"), PictureDialog::tr("Failed to export current Snapmatic picture"));
|
||||||
goto fileDialogPreSave;
|
goto fileDialogPreSave; //Work?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -284,7 +284,7 @@ fileDialogPreSave:
|
||||||
if (!isCopied)
|
if (!isCopied)
|
||||||
{
|
{
|
||||||
QMessageBox::warning(parent, PictureDialog::tr("Export as GTA Snapmatic"), PictureDialog::tr("Failed to export current Snapmatic picture"));
|
QMessageBox::warning(parent, PictureDialog::tr("Export as GTA Snapmatic"), PictureDialog::tr("Failed to export current Snapmatic picture"));
|
||||||
goto fileDialogPreSave;
|
goto fileDialogPreSave; //Work?
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -295,7 +295,7 @@ fileDialogPreSave:
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QMessageBox::warning(parent, PictureDialog::tr("Export as GTA Snapmatic"), PictureDialog::tr("No valid file is selected"));
|
QMessageBox::warning(parent, PictureDialog::tr("Export as GTA Snapmatic"), PictureDialog::tr("No valid file is selected"));
|
||||||
goto fileDialogPreSave;
|
goto fileDialogPreSave; //Work?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
#include <QPalette>
|
#include <QPalette>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QRegExp>
|
#include <QRegExp>
|
||||||
|
#include <QAction>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QColor>
|
#include <QColor>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
@ -79,22 +80,18 @@ ProfileInterface::~ProfileInterface()
|
||||||
foreach(ProfileWidget *widget, widgets.keys())
|
foreach(ProfileWidget *widget, widgets.keys())
|
||||||
{
|
{
|
||||||
widgets.remove(widget);
|
widgets.remove(widget);
|
||||||
widget->deleteLater();
|
|
||||||
delete widget;
|
delete widget;
|
||||||
}
|
}
|
||||||
foreach(SavegameData *savegame, savegames)
|
foreach(SavegameData *savegame, savegames)
|
||||||
{
|
{
|
||||||
savegames.removeAll(savegame);
|
savegames.removeAll(savegame);
|
||||||
savegame->deleteLater();
|
|
||||||
delete savegame;
|
delete savegame;
|
||||||
}
|
}
|
||||||
foreach(SnapmaticPicture *picture, pictures)
|
foreach(SnapmaticPicture *picture, pictures)
|
||||||
{
|
{
|
||||||
pictures.removeAll(picture);
|
pictures.removeAll(picture);
|
||||||
picture->deleteLater();
|
|
||||||
delete picture;
|
delete picture;
|
||||||
}
|
}
|
||||||
profileLoader->deleteLater();
|
|
||||||
delete profileLoader;
|
delete profileLoader;
|
||||||
|
|
||||||
delete ui;
|
delete ui;
|
||||||
|
@ -318,32 +315,50 @@ void ProfileInterface::profileLoaded_p()
|
||||||
|
|
||||||
void ProfileInterface::savegameDeleted_event()
|
void ProfileInterface::savegameDeleted_event()
|
||||||
{
|
{
|
||||||
savegameDeleted((SavegameWidget*)sender());
|
savegameDeleted((SavegameWidget*)sender(), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProfileInterface::savegameDeleted(SavegameWidget *sgdWidget)
|
void ProfileInterface::savegameDeleted(SavegameWidget *sgdWidget, bool isRemoteEmited)
|
||||||
{
|
{
|
||||||
SavegameData *savegame = sgdWidget->getSavegame();
|
SavegameData *savegame = sgdWidget->getSavegame();
|
||||||
if (sgdWidget->isSelected()) { sgdWidget->setSelected(false); }
|
if (sgdWidget->isSelected()) { sgdWidget->setSelected(false); }
|
||||||
widgets.remove(sgdWidget);
|
widgets.remove(sgdWidget);
|
||||||
sgdWidget->close();
|
|
||||||
|
// Deleting when the widget did send a event cause a crash
|
||||||
|
if (isRemoteEmited)
|
||||||
|
{
|
||||||
sgdWidget->deleteLater();
|
sgdWidget->deleteLater();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
delete sgdWidget;
|
||||||
|
}
|
||||||
|
|
||||||
savegames.removeAll(savegame);
|
savegames.removeAll(savegame);
|
||||||
delete savegame;
|
delete savegame;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProfileInterface::pictureDeleted_event()
|
void ProfileInterface::pictureDeleted_event()
|
||||||
{
|
{
|
||||||
pictureDeleted((SnapmaticWidget*)sender());
|
pictureDeleted((SnapmaticWidget*)sender(), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ProfileInterface::pictureDeleted(SnapmaticWidget *picWidget)
|
void ProfileInterface::pictureDeleted(SnapmaticWidget *picWidget, bool isRemoteEmited)
|
||||||
{
|
{
|
||||||
SnapmaticPicture *picture = picWidget->getPicture();
|
SnapmaticPicture *picture = picWidget->getPicture();
|
||||||
if (picWidget->isSelected()) { picWidget->setSelected(false); }
|
if (picWidget->isSelected()) { picWidget->setSelected(false); }
|
||||||
widgets.remove(picWidget);
|
widgets.remove(picWidget);
|
||||||
picWidget->close();
|
|
||||||
|
// Deleting when the widget did send a event cause a crash
|
||||||
|
if (isRemoteEmited)
|
||||||
|
{
|
||||||
picWidget->deleteLater();
|
picWidget->deleteLater();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
delete picWidget;
|
||||||
|
}
|
||||||
|
|
||||||
pictures.removeAll(picture);
|
pictures.removeAll(picture);
|
||||||
delete picture;
|
delete picture;
|
||||||
}
|
}
|
||||||
|
@ -359,7 +374,7 @@ void ProfileInterface::on_cmdImport_clicked()
|
||||||
settings.beginGroup("FileDialogs");
|
settings.beginGroup("FileDialogs");
|
||||||
settings.beginGroup("ImportCopy");
|
settings.beginGroup("ImportCopy");
|
||||||
|
|
||||||
fileDialogPreOpen:
|
fileDialogPreOpen: //Work?
|
||||||
QFileDialog fileDialog(this);
|
QFileDialog fileDialog(this);
|
||||||
fileDialog.setFileMode(QFileDialog::ExistingFiles);
|
fileDialog.setFileMode(QFileDialog::ExistingFiles);
|
||||||
fileDialog.setViewMode(QFileDialog::Detail);
|
fileDialog.setViewMode(QFileDialog::Detail);
|
||||||
|
@ -390,7 +405,7 @@ fileDialogPreOpen:
|
||||||
if (selectedFiles.length() == 1)
|
if (selectedFiles.length() == 1)
|
||||||
{
|
{
|
||||||
QString selectedFile = selectedFiles.at(0);
|
QString selectedFile = selectedFiles.at(0);
|
||||||
if (!importFile(selectedFile, true, 0)) goto fileDialogPreOpen;
|
if (!importFile(selectedFile, true, 0)) goto fileDialogPreOpen; //Work?
|
||||||
}
|
}
|
||||||
else if (selectedFiles.length() > 1)
|
else if (selectedFiles.length() > 1)
|
||||||
{
|
{
|
||||||
|
@ -463,7 +478,7 @@ fileDialogPreOpen:
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QMessageBox::warning(this, tr("Import"), tr("No valid file is selected"));
|
QMessageBox::warning(this, tr("Import"), tr("No valid file is selected"));
|
||||||
goto fileDialogPreOpen;
|
goto fileDialogPreOpen; //Work?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -920,7 +935,6 @@ void ProfileInterface::exportSelected()
|
||||||
|
|
||||||
if (exportThread->isFinished())
|
if (exportThread->isFinished())
|
||||||
{
|
{
|
||||||
exportThread->deleteLater();
|
|
||||||
delete exportThread;
|
delete exportThread;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -928,7 +942,6 @@ void ProfileInterface::exportSelected()
|
||||||
QEventLoop threadFinishLoop;
|
QEventLoop threadFinishLoop;
|
||||||
QObject::connect(exportThread, SIGNAL(finished()), &threadFinishLoop, SLOT(quit()));
|
QObject::connect(exportThread, SIGNAL(finished()), &threadFinishLoop, SLOT(quit()));
|
||||||
threadFinishLoop.exec();
|
threadFinishLoop.exec();
|
||||||
exportThread->deleteLater();
|
|
||||||
delete exportThread;
|
delete exportThread;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -954,8 +967,7 @@ void ProfileInterface::deleteSelected()
|
||||||
if (widget->getWidgetType() == "SnapmaticWidget")
|
if (widget->getWidgetType() == "SnapmaticWidget")
|
||||||
{
|
{
|
||||||
SnapmaticWidget *picWidget = (SnapmaticWidget*)widget;
|
SnapmaticWidget *picWidget = (SnapmaticWidget*)widget;
|
||||||
QString fileName = picWidget->getPicturePath();
|
if (picWidget->getPicture()->deletePicFile())
|
||||||
if (!QFile::exists(fileName) || QFile::remove(fileName))
|
|
||||||
{
|
{
|
||||||
pictureDeleted(picWidget);
|
pictureDeleted(picWidget);
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,8 +98,8 @@ private:
|
||||||
bool importSavegameData(SavegameData *savegame, QString sgdPath, bool warn = true);
|
bool importSavegameData(SavegameData *savegame, QString sgdPath, bool warn = true);
|
||||||
void pictureLoaded(SnapmaticPicture *picture, bool inserted);
|
void pictureLoaded(SnapmaticPicture *picture, bool inserted);
|
||||||
void savegameLoaded(SavegameData *savegame, QString savegamePath, bool inserted);
|
void savegameLoaded(SavegameData *savegame, QString savegamePath, bool inserted);
|
||||||
void savegameDeleted(SavegameWidget *sgdWidget);
|
void savegameDeleted(SavegameWidget *sgdWidget, bool isRemoteEmited = false);
|
||||||
void pictureDeleted(SnapmaticWidget *picWidget);
|
void pictureDeleted(SnapmaticWidget *picWidget, bool isRemoteEmited = false);
|
||||||
void insertSnapmaticIPI(QWidget *widget);
|
void insertSnapmaticIPI(QWidget *widget);
|
||||||
void insertSavegameIPI(QWidget *widget);
|
void insertSavegameIPI(QWidget *widget);
|
||||||
void sortingProfileInterface();
|
void sortingProfileInterface();
|
||||||
|
|
|
@ -34,7 +34,7 @@ void SavegameCopy::copySavegame(QWidget *parent, QString sgdPath)
|
||||||
QSettings settings(GTA5SYNC_APPVENDOR, GTA5SYNC_APPSTR);
|
QSettings settings(GTA5SYNC_APPVENDOR, GTA5SYNC_APPSTR);
|
||||||
settings.beginGroup("FileDialogs");
|
settings.beginGroup("FileDialogs");
|
||||||
|
|
||||||
fileDialogPreSave:
|
fileDialogPreSave: //Work?
|
||||||
QFileInfo sgdFileInfo(sgdPath);
|
QFileInfo sgdFileInfo(sgdPath);
|
||||||
QFileDialog fileDialog(parent);
|
QFileDialog fileDialog(parent);
|
||||||
fileDialog.setFileMode(QFileDialog::AnyFile);
|
fileDialog.setFileMode(QFileDialog::AnyFile);
|
||||||
|
@ -72,12 +72,12 @@ fileDialogPreSave:
|
||||||
if (!QFile::remove(selectedFile))
|
if (!QFile::remove(selectedFile))
|
||||||
{
|
{
|
||||||
QMessageBox::warning(parent, SavegameWidget::tr("Export Savegame"), SavegameWidget::tr("Failed to overwrite %1 with current Savegame").arg("\""+selectedFile+"\""));
|
QMessageBox::warning(parent, SavegameWidget::tr("Export Savegame"), SavegameWidget::tr("Failed to overwrite %1 with current Savegame").arg("\""+selectedFile+"\""));
|
||||||
goto fileDialogPreSave;
|
goto fileDialogPreSave; //Work?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
goto fileDialogPreSave;
|
goto fileDialogPreSave; //Work?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,13 +85,13 @@ fileDialogPreSave:
|
||||||
if (!isCopied)
|
if (!isCopied)
|
||||||
{
|
{
|
||||||
QMessageBox::warning(parent, SavegameWidget::tr("Export Savegame"), SavegameWidget::tr("Failed to export current Savegame"));
|
QMessageBox::warning(parent, SavegameWidget::tr("Export Savegame"), SavegameWidget::tr("Failed to export current Savegame"));
|
||||||
goto fileDialogPreSave;
|
goto fileDialogPreSave; //Work?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QMessageBox::warning(parent, SavegameWidget::tr("Export Savegame"), SavegameWidget::tr("No valid file is selected"));
|
QMessageBox::warning(parent, SavegameWidget::tr("Export Savegame"), SavegameWidget::tr("No valid file is selected"));
|
||||||
goto fileDialogPreSave;
|
goto fileDialogPreSave; //Work?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,15 +19,15 @@
|
||||||
#include "StringParser.h"
|
#include "StringParser.h"
|
||||||
#include "SavegameData.h"
|
#include "SavegameData.h"
|
||||||
#include <QTextCodec>
|
#include <QTextCodec>
|
||||||
|
#include <QByteArray>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
|
||||||
|
#define savegameHeaderLength 260
|
||||||
|
#define verificationValue QByteArray::fromHex("00000001")
|
||||||
|
|
||||||
SavegameData::SavegameData(const QString &fileName, QObject *parent) : QObject(parent), savegameFileName(fileName)
|
SavegameData::SavegameData(const QString &fileName, QObject *parent) : QObject(parent), savegameFileName(fileName)
|
||||||
{
|
{
|
||||||
// PARSE INT INIT - DO NOT CHANGE THIS VALUES
|
|
||||||
savegameHeaderLength = 260;
|
|
||||||
verificationValue = QByteArray::fromHex("00000001");
|
|
||||||
|
|
||||||
// INIT SAVEGAME
|
// INIT SAVEGAME
|
||||||
savegameStr = "";
|
savegameStr = "";
|
||||||
savegameOk = 0;
|
savegameOk = 0;
|
||||||
|
|
|
@ -40,10 +40,6 @@ private:
|
||||||
QString savegameStr;
|
QString savegameStr;
|
||||||
QString lastStep;
|
QString lastStep;
|
||||||
bool savegameOk;
|
bool savegameOk;
|
||||||
|
|
||||||
// PARSE INT
|
|
||||||
QByteArray verificationValue;
|
|
||||||
int savegameHeaderLength;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SAVEGAMEDATA_H
|
#endif // SAVEGAMEDATA_H
|
||||||
|
|
|
@ -7,6 +7,10 @@ SavegameDialog::SavegameDialog(QWidget *parent) :
|
||||||
QDialog(parent),
|
QDialog(parent),
|
||||||
ui(new Ui::SavegameDialog)
|
ui(new Ui::SavegameDialog)
|
||||||
{
|
{
|
||||||
|
// Set Window Flags
|
||||||
|
setWindowFlags(windowFlags()^Qt::WindowContextHelpButtonHint);
|
||||||
|
|
||||||
|
// Setup User Interface
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
savegameLabStr = ui->labSavegameText->text();
|
savegameLabStr = ui->labSavegameText->text();
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,9 @@
|
||||||
#include "SnapmaticEditor.h"
|
#include "SnapmaticEditor.h"
|
||||||
#include "ui_SnapmaticEditor.h"
|
#include "ui_SnapmaticEditor.h"
|
||||||
#include "SnapmaticPicture.h"
|
#include "SnapmaticPicture.h"
|
||||||
|
#include "StringParser.h"
|
||||||
|
#include <QTextDocument>
|
||||||
|
#include <QInputDialog>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
@ -42,6 +45,7 @@ SnapmaticEditor::SnapmaticEditor(QWidget *parent) :
|
||||||
ui->cmdCancel->setIcon(QIcon::fromTheme("dialog-cancel"));
|
ui->cmdCancel->setIcon(QIcon::fromTheme("dialog-cancel"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
snapmaticTitle = "";
|
||||||
smpic = 0;
|
smpic = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -179,6 +183,30 @@ void SnapmaticEditor::setSnapmaticPicture(SnapmaticPicture *picture)
|
||||||
{
|
{
|
||||||
ui->rbCustom->setChecked(true);
|
ui->rbCustom->setChecked(true);
|
||||||
}
|
}
|
||||||
|
setSnapmaticTitle(picture->getPictureTitle());
|
||||||
|
}
|
||||||
|
|
||||||
|
void SnapmaticEditor::setSnapmaticTitle(const QString &title)
|
||||||
|
{
|
||||||
|
if (title.length() > 39)
|
||||||
|
{
|
||||||
|
snapmaticTitle = title.left(39);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
snapmaticTitle = title;
|
||||||
|
}
|
||||||
|
QString editStr = QString("<a href=\"g5e://edittitle\" style=\"text-decoration: none;\">%1</a>").arg(tr("Edit"));
|
||||||
|
QString titleStr = tr("Title: %1 (%2)").arg(StringParser::escapeString(snapmaticTitle), editStr);
|
||||||
|
ui->labTitle->setText(titleStr);
|
||||||
|
if (SnapmaticPicture::verifyTitle(snapmaticTitle))
|
||||||
|
{
|
||||||
|
ui->labAppropriate->setText(tr("Appropriate: %1").arg(QString("<span style=\"color: green\">%1</a>").arg(tr("Yes", "Yes, should work fine"))));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ui->labAppropriate->setText(tr("Appropriate: %1").arg(QString("<span style=\"color: red\">%1</a>").arg(tr("No", "No, could lead to issues"))));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SnapmaticEditor::on_cmdCancel_clicked()
|
void SnapmaticEditor::on_cmdCancel_clicked()
|
||||||
|
@ -210,10 +238,19 @@ void SnapmaticEditor::on_cmdApply_clicked()
|
||||||
{
|
{
|
||||||
QFile::copy(adjustedFileName, backupFileName);
|
QFile::copy(adjustedFileName, backupFileName);
|
||||||
}
|
}
|
||||||
|
SnapmaticProperties fallbackProperties = smpic->getSnapmaticProperties();
|
||||||
|
QString fallbackTitle = smpic->getPictureTitle();
|
||||||
smpic->setSnapmaticProperties(localSpJson);
|
smpic->setSnapmaticProperties(localSpJson);
|
||||||
|
smpic->setPictureTitle(snapmaticTitle);
|
||||||
if (!smpic->exportPicture(originalFileName))
|
if (!smpic->exportPicture(originalFileName))
|
||||||
{
|
{
|
||||||
QMessageBox::warning(this, tr("Snapmatic Properties"), tr("Patching of Snapmatic Properties failed because of I/O Error"));
|
QMessageBox::warning(this, tr("Snapmatic Properties"), tr("Patching of Snapmatic Properties failed because of I/O Error"));
|
||||||
|
smpic->setSnapmaticProperties(fallbackProperties);
|
||||||
|
smpic->setPictureTitle(fallbackTitle);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
smpic->emitUpdate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close();
|
close();
|
||||||
|
@ -251,3 +288,16 @@ void SnapmaticEditor::on_cbQualify_toggled(bool checked)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SnapmaticEditor::on_labTitle_linkActivated(const QString &link)
|
||||||
|
{
|
||||||
|
if (link == "g5e://edittitle")
|
||||||
|
{
|
||||||
|
bool ok;
|
||||||
|
QString newTitle = QInputDialog::getText(this, tr("Snapmatic Title"), tr("New Snapmatic title:"), QLineEdit::Normal, snapmaticTitle, &ok, windowFlags());
|
||||||
|
if (ok && !newTitle.isEmpty())
|
||||||
|
{
|
||||||
|
setSnapmaticTitle(newTitle);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -33,6 +33,7 @@ class SnapmaticEditor : public QDialog
|
||||||
public:
|
public:
|
||||||
explicit SnapmaticEditor(QWidget *parent = 0);
|
explicit SnapmaticEditor(QWidget *parent = 0);
|
||||||
void setSnapmaticPicture(SnapmaticPicture *picture);
|
void setSnapmaticPicture(SnapmaticPicture *picture);
|
||||||
|
void setSnapmaticTitle(const QString &title);
|
||||||
~SnapmaticEditor();
|
~SnapmaticEditor();
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
@ -47,11 +48,13 @@ private slots:
|
||||||
void on_cmdCancel_clicked();
|
void on_cmdCancel_clicked();
|
||||||
void on_cmdApply_clicked();
|
void on_cmdApply_clicked();
|
||||||
void on_cbQualify_toggled(bool checked);
|
void on_cbQualify_toggled(bool checked);
|
||||||
|
void on_labTitle_linkActivated(const QString &link);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::SnapmaticEditor *ui;
|
Ui::SnapmaticEditor *ui;
|
||||||
SnapmaticProperties localSpJson;
|
SnapmaticProperties localSpJson;
|
||||||
SnapmaticPicture *smpic;
|
SnapmaticPicture *smpic;
|
||||||
|
QString snapmaticTitle;
|
||||||
void qualifyAvatar();
|
void qualifyAvatar();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>375</width>
|
<width>400</width>
|
||||||
<height>319</height>
|
<height>350</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
|
@ -119,6 +119,50 @@
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QGroupBox" name="gbTitle">
|
||||||
|
<property name="title">
|
||||||
|
<string>Snapmatic Title</string>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="vlTitle">
|
||||||
|
<item>
|
||||||
|
<widget class="UiModLabel" name="labTitle">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="contextMenuPolicy">
|
||||||
|
<enum>Qt::NoContextMenu</enum>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Title: %1 (%2)</string>
|
||||||
|
</property>
|
||||||
|
<property name="wordWrap">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="UiModLabel" name="labAppropriate">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Appropriate: %1</string>
|
||||||
|
</property>
|
||||||
|
<property name="wordWrap">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QGroupBox" name="gbExtras">
|
<widget class="QGroupBox" name="gbExtras">
|
||||||
<property name="title">
|
<property name="title">
|
||||||
|
@ -133,7 +177,7 @@
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="labQualify">
|
<widget class="UiModLabel" name="labQualify">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
|
@ -212,6 +256,13 @@
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
<customwidgets>
|
||||||
|
<customwidget>
|
||||||
|
<class>UiModLabel</class>
|
||||||
|
<extends>QLabel</extends>
|
||||||
|
<header>UiModLabel.h</header>
|
||||||
|
</customwidget>
|
||||||
|
</customwidgets>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections/>
|
||||||
</ui>
|
</ui>
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include <QBuffer>
|
#include <QBuffer>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
|
#include <QSize>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
|
||||||
// PARSER ALLOCATIONS
|
// PARSER ALLOCATIONS
|
||||||
|
@ -49,11 +50,13 @@
|
||||||
#define titlStreamEditorLength 256
|
#define titlStreamEditorLength 256
|
||||||
#define titlStreamCharacterMax 39
|
#define titlStreamCharacterMax 39
|
||||||
|
|
||||||
|
// IMAGES VALUES
|
||||||
|
#define snapmaticResolutionW 960
|
||||||
|
#define snapmaticResolutionH 536
|
||||||
|
#define snapmaticResolution QSize(snapmaticResolutionW, snapmaticResolutionH)
|
||||||
|
|
||||||
SnapmaticPicture::SnapmaticPicture(const QString &fileName, QObject *parent) : QObject(parent), picFilePath(fileName)
|
SnapmaticPicture::SnapmaticPicture(const QString &fileName, QObject *parent) : QObject(parent), picFilePath(fileName)
|
||||||
{
|
{
|
||||||
// PREDEFINED PROPERTIES
|
|
||||||
snapmaticResolution = QSize(960, 536);
|
|
||||||
|
|
||||||
reset();
|
reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,7 +68,7 @@ void SnapmaticPicture::reset()
|
||||||
{
|
{
|
||||||
// INIT PIC
|
// INIT PIC
|
||||||
rawPicContent = "";
|
rawPicContent = "";
|
||||||
cachePicture = QImage(0, 0, QImage::Format_RGB888);
|
cachePicture = QImage();
|
||||||
jpegRawContentSize = 0;
|
jpegRawContentSize = 0;
|
||||||
picExportFileName = "";
|
picExportFileName = "";
|
||||||
isCustomFormat = 0;
|
isCustomFormat = 0;
|
||||||
|
@ -483,51 +486,6 @@ bool SnapmaticPicture::setPictureTitl(const QString &newTitle_)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SnapmaticPicture::exportPicture(const QString &fileName, bool customFormat)
|
|
||||||
{
|
|
||||||
QFile *picFile = new QFile(fileName);
|
|
||||||
if (picFile->open(QIODevice::WriteOnly))
|
|
||||||
{
|
|
||||||
if (!customFormat)
|
|
||||||
{
|
|
||||||
// Classic straight export
|
|
||||||
picFile->write(rawPicContent);
|
|
||||||
picFile->close();
|
|
||||||
picFile->deleteLater();
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
// Modern compressed export
|
|
||||||
QByteArray stockFileNameUTF8 = picFileName.toUtf8();
|
|
||||||
QByteArray numberLength = QByteArray::number(stockFileNameUTF8.length());
|
|
||||||
if (numberLength.length() == 1)
|
|
||||||
{
|
|
||||||
numberLength.insert(0, "0");
|
|
||||||
}
|
|
||||||
else if (numberLength.length() != 2)
|
|
||||||
{
|
|
||||||
numberLength = "00";
|
|
||||||
}
|
|
||||||
picFile->write(QByteArray::fromHex("00")); // First Null Byte
|
|
||||||
picFile->write("G5E"); // GTA 5 Export
|
|
||||||
picFile->write(QByteArray::fromHex("1000")); // 2 byte GTA 5 Export Version
|
|
||||||
picFile->write("LEN"); // Before Length
|
|
||||||
picFile->write(QByteArray::fromHex(numberLength)); // Length in HEX before Compressed
|
|
||||||
picFile->write("FIL"); // Before File Name
|
|
||||||
picFile->write(stockFileNameUTF8); // File Name
|
|
||||||
picFile->write("COM"); // Before Compressed
|
|
||||||
picFile->write(qCompress(rawPicContent, 9)); // Compressed Snapmatic
|
|
||||||
picFile->close();
|
|
||||||
picFile->deleteLater();
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
QString SnapmaticPicture::getExportPictureFileName()
|
QString SnapmaticPicture::getExportPictureFileName()
|
||||||
{
|
{
|
||||||
return picExportFileName;
|
return picExportFileName;
|
||||||
|
@ -655,24 +613,34 @@ bool SnapmaticPicture::isPicOk()
|
||||||
return picOk;
|
return picOk;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SnapmaticPicture::setPicFileName(QString picFileName_)
|
|
||||||
{
|
|
||||||
picFileName = picFileName_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SnapmaticPicture::setPicFilePath(QString picFilePath_)
|
|
||||||
{
|
|
||||||
picFilePath = picFilePath_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SnapmaticPicture::clearCache()
|
void SnapmaticPicture::clearCache()
|
||||||
{
|
{
|
||||||
cacheEnabled = false;
|
cacheEnabled = false;
|
||||||
cachePicture = QImage(0, 0, QImage::Format_RGB888);
|
cachePicture = QImage();
|
||||||
|
}
|
||||||
|
|
||||||
|
void SnapmaticPicture::emitUpdate()
|
||||||
|
{
|
||||||
|
emit updated();
|
||||||
}
|
}
|
||||||
|
|
||||||
// JSON part
|
// JSON part
|
||||||
|
|
||||||
|
bool SnapmaticPicture::isJsonOk()
|
||||||
|
{
|
||||||
|
return jsonOk;
|
||||||
|
}
|
||||||
|
|
||||||
|
QString SnapmaticPicture::getJsonStr()
|
||||||
|
{
|
||||||
|
return jsonStr;
|
||||||
|
}
|
||||||
|
|
||||||
|
SnapmaticProperties SnapmaticPicture::getSnapmaticProperties()
|
||||||
|
{
|
||||||
|
return localSpJson;
|
||||||
|
}
|
||||||
|
|
||||||
void SnapmaticPicture::parseJsonContent()
|
void SnapmaticPicture::parseJsonContent()
|
||||||
{
|
{
|
||||||
QJsonDocument jsonDocument = QJsonDocument::fromJson(jsonStr.toUtf8());
|
QJsonDocument jsonDocument = QJsonDocument::fromJson(jsonStr.toUtf8());
|
||||||
|
@ -733,21 +701,6 @@ void SnapmaticPicture::parseJsonContent()
|
||||||
jsonOk = true;
|
jsonOk = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SnapmaticPicture::isJsonOk()
|
|
||||||
{
|
|
||||||
return jsonOk;
|
|
||||||
}
|
|
||||||
|
|
||||||
QString SnapmaticPicture::getJsonStr()
|
|
||||||
{
|
|
||||||
return jsonStr;
|
|
||||||
}
|
|
||||||
|
|
||||||
SnapmaticProperties SnapmaticPicture::getSnapmaticProperties()
|
|
||||||
{
|
|
||||||
return localSpJson;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool SnapmaticPicture::setSnapmaticProperties(SnapmaticProperties newSpJson)
|
bool SnapmaticPicture::setSnapmaticProperties(SnapmaticProperties newSpJson)
|
||||||
{
|
{
|
||||||
QJsonDocument jsonDocument = QJsonDocument::fromJson(jsonStr.toUtf8());
|
QJsonDocument jsonDocument = QJsonDocument::fromJson(jsonStr.toUtf8());
|
||||||
|
@ -811,6 +764,70 @@ bool SnapmaticPicture::setSnapmaticProperties(SnapmaticProperties newSpJson)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FILE MANAGEMENT
|
||||||
|
|
||||||
|
bool SnapmaticPicture::exportPicture(const QString &fileName, bool customFormat)
|
||||||
|
{
|
||||||
|
QFile *picFile = new QFile(fileName);
|
||||||
|
if (picFile->open(QIODevice::WriteOnly))
|
||||||
|
{
|
||||||
|
if (!customFormat)
|
||||||
|
{
|
||||||
|
// Classic straight export
|
||||||
|
picFile->write(rawPicContent);
|
||||||
|
picFile->close();
|
||||||
|
picFile->deleteLater();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Modern compressed export
|
||||||
|
QByteArray stockFileNameUTF8 = picFileName.toUtf8();
|
||||||
|
QByteArray numberLength = QByteArray::number(stockFileNameUTF8.length());
|
||||||
|
if (numberLength.length() == 1)
|
||||||
|
{
|
||||||
|
numberLength.insert(0, "0");
|
||||||
|
}
|
||||||
|
else if (numberLength.length() != 2)
|
||||||
|
{
|
||||||
|
numberLength = "00";
|
||||||
|
}
|
||||||
|
picFile->write(QByteArray::fromHex("00")); // First Null Byte
|
||||||
|
picFile->write("G5E"); // GTA 5 Export
|
||||||
|
picFile->write(QByteArray::fromHex("1000")); // 2 byte GTA 5 Export Version
|
||||||
|
picFile->write("LEN"); // Before Length
|
||||||
|
picFile->write(QByteArray::fromHex(numberLength)); // Length in HEX before Compressed
|
||||||
|
picFile->write("FIL"); // Before File Name
|
||||||
|
picFile->write(stockFileNameUTF8); // File Name
|
||||||
|
picFile->write("COM"); // Before Compressed
|
||||||
|
picFile->write(qCompress(rawPicContent, 9)); // Compressed Snapmatic
|
||||||
|
picFile->close();
|
||||||
|
picFile->deleteLater();
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void SnapmaticPicture::setPicFileName(const QString &picFileName_)
|
||||||
|
{
|
||||||
|
picFileName = picFileName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SnapmaticPicture::setPicFilePath(const QString &picFilePath_)
|
||||||
|
{
|
||||||
|
picFilePath = picFilePath_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool SnapmaticPicture::deletePicFile()
|
||||||
|
{
|
||||||
|
if (!QFile::exists(picFilePath)) return true;
|
||||||
|
if (QFile::remove(picFilePath)) return true;
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// VISIBILITY
|
// VISIBILITY
|
||||||
|
|
||||||
bool SnapmaticPicture::isHidden()
|
bool SnapmaticPicture::isHidden()
|
||||||
|
|
|
@ -71,10 +71,14 @@ public:
|
||||||
bool setImage(const QImage &picture);
|
bool setImage(const QImage &picture);
|
||||||
bool setPictureTitl(const QString &newTitle);
|
bool setPictureTitl(const QString &newTitle);
|
||||||
bool setPictureStream(const QByteArray &picByteArray);
|
bool setPictureStream(const QByteArray &picByteArray);
|
||||||
bool exportPicture(const QString &fileName, bool customFormat = false);
|
|
||||||
void setPicFileName(QString picFileName);
|
|
||||||
void setPicFilePath(QString picFilePath);
|
|
||||||
void updateStrings();
|
void updateStrings();
|
||||||
|
void emitUpdate();
|
||||||
|
|
||||||
|
// FILE MANAGEMENT
|
||||||
|
bool exportPicture(const QString &fileName, bool customFormat = false);
|
||||||
|
void setPicFileName(const QString &picFileName);
|
||||||
|
void setPicFilePath(const QString &picFilePath);
|
||||||
|
bool deletePicFile();
|
||||||
|
|
||||||
// ALTERNATIVES
|
// ALTERNATIVES
|
||||||
QString getPictureTitle() { return getPictureTitl(); }
|
QString getPictureTitle() { return getPictureTitl(); }
|
||||||
|
@ -122,9 +126,6 @@ private:
|
||||||
// PICTURE STREAM
|
// PICTURE STREAM
|
||||||
QByteArray rawPicContent;
|
QByteArray rawPicContent;
|
||||||
|
|
||||||
// PREDEFINED PROPERTIES
|
|
||||||
QSize snapmaticResolution;
|
|
||||||
|
|
||||||
// JSON
|
// JSON
|
||||||
void parseJsonContent();
|
void parseJsonContent();
|
||||||
bool jsonOk;
|
bool jsonOk;
|
||||||
|
@ -135,6 +136,7 @@ private:
|
||||||
static bool verifyTitleChar(const QChar &titleChar);
|
static bool verifyTitleChar(const QChar &titleChar);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
void updated();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#include "DatabaseThread.h"
|
#include "DatabaseThread.h"
|
||||||
#include "PictureDialog.h"
|
#include "PictureDialog.h"
|
||||||
#include "PictureExport.h"
|
#include "PictureExport.h"
|
||||||
|
#include "StringParser.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QPixmap>
|
#include <QPixmap>
|
||||||
|
@ -84,6 +85,7 @@ void SnapmaticWidget::setSnapmaticPicture(SnapmaticPicture *picture)
|
||||||
picPath = picture->getPictureFilePath();
|
picPath = picture->getPictureFilePath();
|
||||||
picTitl = picture->getPictureTitl();
|
picTitl = picture->getPictureTitl();
|
||||||
picStr = picture->getPictureStr();
|
picStr = picture->getPictureStr();
|
||||||
|
QObject::connect(picture, SIGNAL(updated()), this, SLOT(snapmaticUpdated()));
|
||||||
|
|
||||||
QPixmap SnapmaticPixmap = QPixmap::fromImage(picture->getImage().scaled(ui->labPicture->width(), ui->labPicture->height(), Qt::IgnoreAspectRatio, Qt::SmoothTransformation), Qt::AutoColor);
|
QPixmap SnapmaticPixmap = QPixmap::fromImage(picture->getImage().scaled(ui->labPicture->width(), ui->labPicture->height(), Qt::IgnoreAspectRatio, Qt::SmoothTransformation), Qt::AutoColor);
|
||||||
ui->labPicStr->setText(picStr + "\n" + picTitl + "");
|
ui->labPicStr->setText(picStr + "\n" + picTitl + "");
|
||||||
|
@ -94,6 +96,15 @@ void SnapmaticWidget::setSnapmaticPicture(SnapmaticPicture *picture)
|
||||||
adjustTextColor();
|
adjustTextColor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SnapmaticWidget::snapmaticUpdated()
|
||||||
|
{
|
||||||
|
// Current only strings get updated
|
||||||
|
picPath = smpic->getPictureFilePath();
|
||||||
|
picTitl = smpic->getPictureTitl();
|
||||||
|
picStr = smpic->getPictureStr();
|
||||||
|
ui->labPicStr->setText(picStr + "\n" + picTitl + "");
|
||||||
|
}
|
||||||
|
|
||||||
void SnapmaticWidget::on_cmdView_clicked()
|
void SnapmaticWidget::on_cmdView_clicked()
|
||||||
{
|
{
|
||||||
QSettings settings(GTA5SYNC_APPVENDOR, GTA5SYNC_APPSTR);
|
QSettings settings(GTA5SYNC_APPVENDOR, GTA5SYNC_APPSTR);
|
||||||
|
@ -102,7 +113,6 @@ void SnapmaticWidget::on_cmdView_clicked()
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
|
||||||
PictureDialog *picDialog = new PictureDialog(profileDB, crewDB, this);
|
PictureDialog *picDialog = new PictureDialog(profileDB, crewDB, this);
|
||||||
picDialog->setWindowFlags(picDialog->windowFlags()^Qt::WindowContextHelpButtonHint);
|
|
||||||
picDialog->setSnapmaticPicture(smpic, true);
|
picDialog->setSnapmaticPicture(smpic, true);
|
||||||
picDialog->setModal(true);
|
picDialog->setModal(true);
|
||||||
|
|
||||||
|
@ -135,23 +145,25 @@ void SnapmaticWidget::on_cmdExport_clicked()
|
||||||
}
|
}
|
||||||
|
|
||||||
void SnapmaticWidget::on_cmdDelete_clicked()
|
void SnapmaticWidget::on_cmdDelete_clicked()
|
||||||
|
{
|
||||||
|
if (deletePicture()) emit pictureDeleted();
|
||||||
|
}
|
||||||
|
|
||||||
|
bool SnapmaticWidget::deletePicture()
|
||||||
{
|
{
|
||||||
int uchoice = QMessageBox::question(this, tr("Delete picture"), tr("Are you sure to delete %1 from your Snapmatic pictures?").arg("\""+picStr+"\""), QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
|
int uchoice = QMessageBox::question(this, tr("Delete picture"), tr("Are you sure to delete %1 from your Snapmatic pictures?").arg("\""+picStr+"\""), QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
|
||||||
if (uchoice == QMessageBox::Yes)
|
if (uchoice == QMessageBox::Yes)
|
||||||
{
|
{
|
||||||
if (!QFile::exists(picPath))
|
if (smpic->deletePicFile())
|
||||||
{
|
{
|
||||||
emit pictureDeleted();
|
return true;
|
||||||
}
|
|
||||||
else if(QFile::remove(picPath))
|
|
||||||
{
|
|
||||||
emit pictureDeleted();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QMessageBox::warning(this, tr("Delete picture"), tr("Failed at deleting %1 from your Snapmatic pictures").arg("\""+picStr+"\""));
|
QMessageBox::warning(this, tr("Delete picture"), tr("Failed at deleting %1 from your Snapmatic pictures").arg("\""+picStr+"\""));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SnapmaticWidget::mousePressEvent(QMouseEvent *ev)
|
void SnapmaticWidget::mousePressEvent(QMouseEvent *ev)
|
||||||
|
|
|
@ -42,6 +42,7 @@ public:
|
||||||
void setSnapmaticPicture(SnapmaticPicture *picture);
|
void setSnapmaticPicture(SnapmaticPicture *picture);
|
||||||
void setSelectionMode(bool selectionMode);
|
void setSelectionMode(bool selectionMode);
|
||||||
void setSelected(bool isSelected);
|
void setSelected(bool isSelected);
|
||||||
|
bool deletePicture();
|
||||||
bool makePictureVisible();
|
bool makePictureVisible();
|
||||||
bool makePictureHidden();
|
bool makePictureHidden();
|
||||||
SnapmaticPicture *getPicture();
|
SnapmaticPicture *getPicture();
|
||||||
|
@ -66,6 +67,7 @@ private slots:
|
||||||
void makePictureVisibleSlot();
|
void makePictureVisibleSlot();
|
||||||
void makePictureHiddenSlot();
|
void makePictureHiddenSlot();
|
||||||
void editSnapmaticProperties();
|
void editSnapmaticProperties();
|
||||||
|
void snapmaticUpdated();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool eventFilter(QObject *obj, QEvent *ev);
|
bool eventFilter(QObject *obj, QEvent *ev);
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
#include "StringParser.h"
|
#include "StringParser.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
#include <QTextDocument>
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QTextCodec>
|
#include <QTextCodec>
|
||||||
#include <QByteArray>
|
#include <QByteArray>
|
||||||
|
@ -60,3 +61,12 @@ QString StringParser::convertBuildedString(const QString &buildedStr)
|
||||||
outputStr.replace("$SEPARATOR", QDir::separator());
|
outputStr.replace("$SEPARATOR", QDir::separator());
|
||||||
return outputStr;
|
return outputStr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QString StringParser::escapeString(const QString &toEscape)
|
||||||
|
{
|
||||||
|
#if QT_VERSION >= 0x050000
|
||||||
|
return toEscape.toHtmlEscaped();
|
||||||
|
#else
|
||||||
|
return Qt::escape(toEscape);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
|
@ -30,6 +30,7 @@ public:
|
||||||
static QString convertDrawStringForLog(const QString &inputStr);
|
static QString convertDrawStringForLog(const QString &inputStr);
|
||||||
static QString convertLogStringForDraw(const QString &inputStr);
|
static QString convertLogStringForDraw(const QString &inputStr);
|
||||||
static QString convertBuildedString(const QString &buildedStr);
|
static QString convertBuildedString(const QString &buildedStr);
|
||||||
|
static QString escapeString(const QString &toEscape);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // STRINGPARSER_H
|
#endif // STRINGPARSER_H
|
||||||
|
|
|
@ -208,7 +208,6 @@ void UserInterface::closeProfile()
|
||||||
ui->menuProfile->setEnabled(false);
|
ui->menuProfile->setEnabled(false);
|
||||||
ui->actionSelect_profile->setEnabled(false);
|
ui->actionSelect_profile->setEnabled(false);
|
||||||
ui->swProfile->removeWidget(profileUI);
|
ui->swProfile->removeWidget(profileUI);
|
||||||
profileUI->deleteLater();
|
|
||||||
delete profileUI;
|
delete profileUI;
|
||||||
}
|
}
|
||||||
this->setWindowTitle(defaultWindowTitle.arg(tr("Select Profile")));
|
this->setWindowTitle(defaultWindowTitle.arg(tr("Select Profile")));
|
||||||
|
@ -248,11 +247,10 @@ void UserInterface::openSelectProfile()
|
||||||
void UserInterface::on_actionAbout_gta5sync_triggered()
|
void UserInterface::on_actionAbout_gta5sync_triggered()
|
||||||
{
|
{
|
||||||
AboutDialog *aboutDialog = new AboutDialog(this);
|
AboutDialog *aboutDialog = new AboutDialog(this);
|
||||||
aboutDialog->setWindowFlags(aboutDialog->windowFlags()^Qt::WindowContextHelpButtonHint);
|
aboutDialog->setWindowIcon(windowIcon());
|
||||||
aboutDialog->setModal(true);
|
aboutDialog->setModal(true);
|
||||||
aboutDialog->show();
|
aboutDialog->show();
|
||||||
aboutDialog->exec();
|
aboutDialog->exec();
|
||||||
aboutDialog->deleteLater();
|
|
||||||
delete aboutDialog;
|
delete aboutDialog;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -297,13 +295,14 @@ void UserInterface::on_actionDelete_selected_triggered()
|
||||||
void UserInterface::on_actionOptions_triggered()
|
void UserInterface::on_actionOptions_triggered()
|
||||||
{
|
{
|
||||||
OptionsDialog *optionsDialog = new OptionsDialog(profileDB, this);
|
OptionsDialog *optionsDialog = new OptionsDialog(profileDB, this);
|
||||||
optionsDialog->setWindowFlags(optionsDialog->windowFlags()^Qt::WindowContextHelpButtonHint);
|
optionsDialog->setWindowIcon(windowIcon());
|
||||||
optionsDialog->commitProfiles(GTAV_Profiles);
|
optionsDialog->commitProfiles(GTAV_Profiles);
|
||||||
QObject::connect(optionsDialog, SIGNAL(settingsApplied(int, QString)), this, SLOT(settingsApplied(int, QString)));
|
QObject::connect(optionsDialog, SIGNAL(settingsApplied(int, QString)), this, SLOT(settingsApplied(int, QString)));
|
||||||
|
|
||||||
optionsDialog->setModal(true);
|
optionsDialog->setModal(true);
|
||||||
optionsDialog->show();
|
optionsDialog->show();
|
||||||
optionsDialog->exec();
|
optionsDialog->exec();
|
||||||
|
|
||||||
delete optionsDialog;
|
delete optionsDialog;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -428,35 +427,30 @@ bool UserInterface::openFile(QString selectedFile, bool warn)
|
||||||
|
|
||||||
void UserInterface::openSnapmaticFile(SnapmaticPicture *picture)
|
void UserInterface::openSnapmaticFile(SnapmaticPicture *picture)
|
||||||
{
|
{
|
||||||
PictureDialog *picDialog = new PictureDialog(profileDB, crewDB, this);
|
PictureDialog picDialog(profileDB, crewDB, this);
|
||||||
picDialog->setWindowFlags(picDialog->windowFlags()^Qt::WindowContextHelpButtonHint);
|
picDialog.setSnapmaticPicture(picture, true);
|
||||||
picDialog->setSnapmaticPicture(picture, true);
|
picDialog.setModal(true);
|
||||||
picDialog->setModal(true);
|
|
||||||
|
|
||||||
int crewID = picture->getSnapmaticProperties().crewID;
|
int crewID = picture->getSnapmaticProperties().crewID;
|
||||||
if (crewID != 0) { crewDB->addCrew(crewID); }
|
if (crewID != 0) { crewDB->addCrew(crewID); }
|
||||||
|
|
||||||
QObject::connect(threadDB, SIGNAL(playerNameFound(int, QString)), profileDB, SLOT(setPlayerName(int, QString)));
|
QObject::connect(threadDB, SIGNAL(playerNameFound(int, QString)), profileDB, SLOT(setPlayerName(int, QString)));
|
||||||
QObject::connect(threadDB, SIGNAL(playerNameUpdated()), picDialog, SLOT(playerNameUpdated()));
|
QObject::connect(threadDB, SIGNAL(playerNameUpdated()), &picDialog, SLOT(playerNameUpdated()));
|
||||||
|
|
||||||
picDialog->show();
|
picDialog.show();
|
||||||
picDialog->setMinimumSize(picDialog->size());
|
picDialog.setMinimumSize(picDialog.size());
|
||||||
picDialog->setMaximumSize(picDialog->size());
|
picDialog.setMaximumSize(picDialog.size());
|
||||||
|
|
||||||
picDialog->exec();
|
picDialog.exec();
|
||||||
delete picDialog;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void UserInterface::openSavegameFile(SavegameData *savegame)
|
void UserInterface::openSavegameFile(SavegameData *savegame)
|
||||||
{
|
{
|
||||||
SavegameDialog *sgdDialog = new SavegameDialog(this);
|
SavegameDialog sgdDialog(this);
|
||||||
sgdDialog->setWindowFlags(sgdDialog->windowFlags()^Qt::WindowContextHelpButtonHint);
|
sgdDialog.setSavegameData(savegame, savegame->getSavegameFileName(), true);
|
||||||
sgdDialog->setSavegameData(savegame, savegame->getSavegameFileName(), true);
|
sgdDialog.setModal(true);
|
||||||
sgdDialog->setModal(true);
|
sgdDialog.show();
|
||||||
|
sgdDialog.exec();
|
||||||
sgdDialog->show();
|
|
||||||
sgdDialog->exec();
|
|
||||||
delete sgdDialog;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void UserInterface::settingsApplied(int _contentMode, QString _language)
|
void UserInterface::settingsApplied(int _contentMode, QString _language)
|
||||||
|
|
4
config.h
4
config.h
|
@ -50,14 +50,14 @@
|
||||||
|
|
||||||
#ifndef GTA5SYNC_APPVER
|
#ifndef GTA5SYNC_APPVER
|
||||||
#ifndef GTA5SYNC_DAILYB
|
#ifndef GTA5SYNC_DAILYB
|
||||||
#define GTA5SYNC_APPVER "1.3.3"
|
#define GTA5SYNC_APPVER "1.4.0-dev1"
|
||||||
#else
|
#else
|
||||||
#define GTA5SYNC_APPVER QString("%1").arg(GTA5SYNC_DAILYB)
|
#define GTA5SYNC_APPVER QString("%1").arg(GTA5SYNC_DAILYB)
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GTA5SYNC_BUILDTYPE
|
#ifndef GTA5SYNC_BUILDTYPE
|
||||||
#define GTA5SYNC_BUILDTYPE "Custom"
|
#define GTA5SYNC_BUILDTYPE "Developer"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GTA5SYNC_SHARE
|
#ifndef GTA5SYNC_SHARE
|
||||||
|
|
File diff suppressed because it is too large
Load diff
1
main.cpp
1
main.cpp
|
@ -432,7 +432,6 @@ int main(int argc, char *argv[])
|
||||||
SnapmaticPicture picture;
|
SnapmaticPicture picture;
|
||||||
|
|
||||||
bool readOk = picture.readingPictureFromFile(arg1);
|
bool readOk = picture.readingPictureFromFile(arg1);
|
||||||
picDialog.setWindowFlags(picDialog.windowFlags()^Qt::WindowContextHelpButtonHint);
|
|
||||||
picDialog.setWindowIcon(IconLoader::loadingAppIcon());
|
picDialog.setWindowIcon(IconLoader::loadingAppIcon());
|
||||||
picDialog.setSnapmaticPicture(&picture, readOk);
|
picDialog.setSnapmaticPicture(&picture, readOk);
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,8 @@ CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "gta5view.exe.manifest"
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 1, 3, 3, 0
|
FILEVERSION 1, 4, 0, 0
|
||||||
PRODUCTVERSION 1, 3, 3, 0
|
PRODUCTVERSION 1, 4, 0, 0
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
FILEFLAGS 0
|
FILEFLAGS 0
|
||||||
FILEOS VOS_NT_WINDOWS32
|
FILEOS VOS_NT_WINDOWS32
|
||||||
|
@ -25,12 +25,12 @@ BEGIN
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "Syping"
|
VALUE "CompanyName", "Syping"
|
||||||
VALUE "FileDescription", "gta5view\0"
|
VALUE "FileDescription", "gta5view\0"
|
||||||
VALUE "FileVersion", "1.3.3\0"
|
VALUE "FileVersion", "1.4.0-dev1\0"
|
||||||
VALUE "InternalName", "gta5view\0"
|
VALUE "InternalName", "gta5view\0"
|
||||||
VALUE "LegalCopyright", "Copyright © 2016-2017 Syping\0"
|
VALUE "LegalCopyright", "Copyright © 2016-2017 Syping\0"
|
||||||
VALUE "OriginalFilename", "gta5view.exe\0"
|
VALUE "OriginalFilename", "gta5view.exe\0"
|
||||||
VALUE "ProductName", "gta5view\0"
|
VALUE "ProductName", "gta5view\0"
|
||||||
VALUE "ProductVersion", "1.3.3\0"
|
VALUE "ProductVersion", "1.4.0-dev1\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
|
@ -196,32 +196,32 @@ Grand Theft Auto V Snapmatic Bilder und Spielständen</translation>
|
||||||
<translation>Importieren...</translation>
|
<translation>Importieren...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ImportDialog.ui" line="87"/>
|
<location filename="../ImportDialog.ui" line="90"/>
|
||||||
<source>Settings</source>
|
<source>Settings</source>
|
||||||
<translation>Einstellungen</translation>
|
<translation>Einstellungen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ImportDialog.ui" line="93"/>
|
<location filename="../ImportDialog.ui" line="96"/>
|
||||||
<source>&Keep Aspect Ratio</source>
|
<source>&Keep Aspect Ratio</source>
|
||||||
<translation>Seitenverhältnis &behalten</translation>
|
<translation>Seitenverhältnis &behalten</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ImportDialog.ui" line="100"/>
|
<location filename="../ImportDialog.ui" line="103"/>
|
||||||
<source>&Ignore Aspect Ratio</source>
|
<source>&Ignore Aspect Ratio</source>
|
||||||
<translation>Seitenverhältnis &ignorieren</translation>
|
<translation>Seitenverhältnis &ignorieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ImportDialog.ui" line="107"/>
|
<location filename="../ImportDialog.ui" line="110"/>
|
||||||
<source>&Avatar</source>
|
<source>&Avatar</source>
|
||||||
<translation>&Avatar</translation>
|
<translation>&Avatar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ImportDialog.ui" line="145"/>
|
<location filename="../ImportDialog.ui" line="154"/>
|
||||||
<source>&OK</source>
|
<source>&OK</source>
|
||||||
<translation>&OK</translation>
|
<translation>&OK</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ImportDialog.ui" line="152"/>
|
<location filename="../ImportDialog.ui" line="167"/>
|
||||||
<source>&Cancel</source>
|
<source>&Cancel</source>
|
||||||
<translation>Abbre&chen</translation>
|
<translation>Abbre&chen</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -559,17 +559,17 @@ Grand Theft Auto V Snapmatic Bilder und Spielständen</translation>
|
||||||
<translation>Schließen</translation>
|
<translation>Schließen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="95"/>
|
<location filename="../PictureDialog.cpp" line="128"/>
|
||||||
<source>Export as &JPG picture...</source>
|
<source>Export as &JPG picture...</source>
|
||||||
<translation>Exportiere als &JPG Bild...</translation>
|
<translation>Exportiere als &JPG Bild...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="96"/>
|
<location filename="../PictureDialog.cpp" line="129"/>
|
||||||
<source>Export as &GTA Snapmatic...</source>
|
<source>Export as &GTA Snapmatic...</source>
|
||||||
<translation>Exportiere als &GTA Snapmatic...</translation>
|
<translation>Exportiere als &GTA Snapmatic...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="297"/>
|
<location filename="../PictureDialog.cpp" line="343"/>
|
||||||
<source>Key 1 - Avatar Preview Mode
|
<source>Key 1 - Avatar Preview Mode
|
||||||
Key 2 - Toggle Overlay
|
Key 2 - Toggle Overlay
|
||||||
Arrow Keys - Navigate</source>
|
Arrow Keys - Navigate</source>
|
||||||
|
@ -578,19 +578,19 @@ Taste 2 - Overlay umschalten
|
||||||
Pfeiltasten - Navigieren</translation>
|
Pfeiltasten - Navigieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="357"/>
|
<location filename="../PictureDialog.cpp" line="402"/>
|
||||||
<location filename="../PictureDialog.cpp" line="414"/>
|
<location filename="../PictureDialog.cpp" line="474"/>
|
||||||
<source>Snapmatic Picture Viewer</source>
|
<source>Snapmatic Picture Viewer</source>
|
||||||
<translation>Snapmatic Bildansicht</translation>
|
<translation>Snapmatic Bildansicht</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="357"/>
|
<location filename="../PictureDialog.cpp" line="402"/>
|
||||||
<location filename="../PictureDialog.cpp" line="414"/>
|
<location filename="../PictureDialog.cpp" line="474"/>
|
||||||
<source>Failed at %1</source>
|
<source>Failed at %1</source>
|
||||||
<translation>Fehlgeschlagen bei %1</translation>
|
<translation>Fehlgeschlagen bei %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="469"/>
|
<location filename="../PictureDialog.cpp" line="529"/>
|
||||||
<source>Avatar Preview Mode
|
<source>Avatar Preview Mode
|
||||||
Press 1 for Default View</source>
|
Press 1 for Default View</source>
|
||||||
<translation>Avatar Vorschaumodus
|
<translation>Avatar Vorschaumodus
|
||||||
|
@ -627,19 +627,19 @@ Drücke A für Standardansicht</translation>
|
||||||
<translation type="vanished">Avatar Vorschaumodus<br>Drücke A für Standardansicht</translation>
|
<translation type="vanished">Avatar Vorschaumodus<br>Drücke A für Standardansicht</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="403"/>
|
<location filename="../PictureDialog.cpp" line="463"/>
|
||||||
<location filename="../PictureDialog.cpp" line="413"/>
|
<location filename="../PictureDialog.cpp" line="473"/>
|
||||||
<source>No player</source>
|
<source>No player</source>
|
||||||
<translation>Keine Spieler</translation>
|
<translation>Keine Spieler</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="406"/>
|
<location filename="../PictureDialog.cpp" line="466"/>
|
||||||
<location filename="../PictureDialog.cpp" line="413"/>
|
<location filename="../PictureDialog.cpp" line="473"/>
|
||||||
<source>No crew</source>
|
<source>No crew</source>
|
||||||
<translation>Keine Crew</translation>
|
<translation>Keine Crew</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="413"/>
|
<location filename="../PictureDialog.cpp" line="473"/>
|
||||||
<source>Unknown Location</source>
|
<source>Unknown Location</source>
|
||||||
<translation>Unbekannter Standort</translation>
|
<translation>Unbekannter Standort</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -864,13 +864,13 @@ Drücke A für Standardansicht</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="375"/>
|
<location filename="../ProfileInterface.cpp" line="375"/>
|
||||||
<location filename="../UserInterface.cpp" line="316"/>
|
<location filename="../UserInterface.cpp" line="335"/>
|
||||||
<source>Savegames files (SGTA*)</source>
|
<source>Savegames files (SGTA*)</source>
|
||||||
<translation>Spielstanddateien (SGTA*)</translation>
|
<translation>Spielstanddateien (SGTA*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="376"/>
|
<location filename="../ProfileInterface.cpp" line="376"/>
|
||||||
<location filename="../UserInterface.cpp" line="317"/>
|
<location filename="../UserInterface.cpp" line="336"/>
|
||||||
<source>Snapmatic pictures (PGTA*)</source>
|
<source>Snapmatic pictures (PGTA*)</source>
|
||||||
<translation>Snapmatic Bilder (PGTA*)</translation>
|
<translation>Snapmatic Bilder (PGTA*)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -881,7 +881,7 @@ Drücke A für Standardansicht</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="378"/>
|
<location filename="../ProfileInterface.cpp" line="378"/>
|
||||||
<location filename="../UserInterface.cpp" line="318"/>
|
<location filename="../UserInterface.cpp" line="337"/>
|
||||||
<source>All files (**)</source>
|
<source>All files (**)</source>
|
||||||
<translation>Alle Dateien (**)</translation>
|
<translation>Alle Dateien (**)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -902,13 +902,13 @@ Drücke A für Standardansicht</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="492"/>
|
<location filename="../ProfileInterface.cpp" line="492"/>
|
||||||
<location filename="../UserInterface.cpp" line="358"/>
|
<location filename="../UserInterface.cpp" line="377"/>
|
||||||
<source>Failed to read Snapmatic picture</source>
|
<source>Failed to read Snapmatic picture</source>
|
||||||
<translation>Fehler beim Lesen vom Snapmatic Bild</translation>
|
<translation>Fehler beim Lesen vom Snapmatic Bild</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="508"/>
|
<location filename="../ProfileInterface.cpp" line="508"/>
|
||||||
<location filename="../UserInterface.cpp" line="374"/>
|
<location filename="../UserInterface.cpp" line="393"/>
|
||||||
<source>Failed to read Savegame file</source>
|
<source>Failed to read Savegame file</source>
|
||||||
<translation>Fehler beim Lesen von Spielstanddatei</translation>
|
<translation>Fehler beim Lesen von Spielstanddatei</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -935,7 +935,7 @@ Drücke A für Standardansicht</translation>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="465"/>
|
<location filename="../ProfileInterface.cpp" line="465"/>
|
||||||
<location filename="../ProfileInterface.cpp" line="663"/>
|
<location filename="../ProfileInterface.cpp" line="663"/>
|
||||||
<location filename="../UserInterface.cpp" line="406"/>
|
<location filename="../UserInterface.cpp" line="425"/>
|
||||||
<source>No valid file is selected</source>
|
<source>No valid file is selected</source>
|
||||||
<translation>Keine gültige Datei wurde ausgewählt</translation>
|
<translation>Keine gültige Datei wurde ausgewählt</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1096,20 +1096,20 @@ Exportieren als:</translation>
|
||||||
<translation type="obsolete">Aktueller Exportiervorgang: %1</translation>
|
<translation type="obsolete">Aktueller Exportiervorgang: %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ExportThread.cpp" line="95"/>
|
<location filename="../ExportThread.cpp" line="96"/>
|
||||||
<location filename="../ExportThread.cpp" line="134"/>
|
<location filename="../ExportThread.cpp" line="135"/>
|
||||||
<location filename="../ExportThread.cpp" line="155"/>
|
<location filename="../ExportThread.cpp" line="156"/>
|
||||||
<source>Export file %1 of %2 files</source>
|
<source>Export file %1 of %2 files</source>
|
||||||
<translation>Exportiere Datei %1 von %2 Dateien</translation>
|
<translation>Exportiere Datei %1 von %2 Dateien</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.cpp" line="314"/>
|
<location filename="../UserInterface.cpp" line="333"/>
|
||||||
<source>All profile files (*.g5e SGTA* PGTA*)</source>
|
<source>All profile files (*.g5e SGTA* PGTA*)</source>
|
||||||
<translation>Alle Profildateien (*.g5e SGTA* PGTA*)</translation>
|
<translation>Alle Profildateien (*.g5e SGTA* PGTA*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="374"/>
|
<location filename="../ProfileInterface.cpp" line="374"/>
|
||||||
<location filename="../UserInterface.cpp" line="315"/>
|
<location filename="../UserInterface.cpp" line="334"/>
|
||||||
<source>GTA V Export (*.g5e)</source>
|
<source>GTA V Export (*.g5e)</source>
|
||||||
<translation>GTA V Export (*.g5e)</translation>
|
<translation>GTA V Export (*.g5e)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1211,13 +1211,13 @@ Exportieren als:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.ui" line="118"/>
|
<location filename="../SavegameWidget.ui" line="118"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="132"/>
|
<location filename="../SavegameWidget.cpp" line="131"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="145"/>
|
<location filename="../SavegameWidget.cpp" line="144"/>
|
||||||
<source>Delete savegame</source>
|
<source>Delete savegame</source>
|
||||||
<translation>Savegame löschen</translation>
|
<translation>Savegame löschen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="50"/>
|
<location filename="../SavegameWidget.cpp" line="49"/>
|
||||||
<source>Export Savegame...</source>
|
<source>Export Savegame...</source>
|
||||||
<translation>Spielstand exportieren...</translation>
|
<translation>Spielstand exportieren...</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1227,8 +1227,8 @@ Exportieren als:</translation>
|
||||||
<translation>SPIELSTAND %3 - %1<br>%2</translation>
|
<translation>SPIELSTAND %3 - %1<br>%2</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="../SavegameWidget.cpp" line="93"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="94"/>
|
<location filename="../SavegameWidget.cpp" line="94"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="95"/>
|
|
||||||
<source>WRONG FORMAT</source>
|
<source>WRONG FORMAT</source>
|
||||||
<translation>FALSCHES FORMAT</translation>
|
<translation>FALSCHES FORMAT</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1237,63 +1237,63 @@ Exportieren als:</translation>
|
||||||
<translation type="vanished">AUTO</translation>
|
<translation type="vanished">AUTO</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="57"/>
|
<location filename="../SavegameWidget.cpp" line="56"/>
|
||||||
<source>AUTOSAVE - %1
|
<source>AUTOSAVE - %1
|
||||||
%2</source>
|
%2</source>
|
||||||
<translation>AUTOSAVE - %1
|
<translation>AUTOSAVE - %1
|
||||||
%2</translation>
|
%2</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="58"/>
|
<location filename="../SavegameWidget.cpp" line="57"/>
|
||||||
<source>SAVE %3 - %1
|
<source>SAVE %3 - %1
|
||||||
%2</source>
|
%2</source>
|
||||||
<translation>SPIELSTAND %3 - %1
|
<translation>SPIELSTAND %3 - %1
|
||||||
%2</translation>
|
%2</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="118"/>
|
<location filename="../SavegameWidget.cpp" line="117"/>
|
||||||
<source>UNKNOWN</source>
|
<source>UNKNOWN</source>
|
||||||
<translation>UNKNOWN</translation>
|
<translation>UNKNOWN</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="132"/>
|
<location filename="../SavegameWidget.cpp" line="131"/>
|
||||||
<source>Are you sure to delete %1 from your savegames?</source>
|
<source>Are you sure to delete %1 from your savegames?</source>
|
||||||
<translation>Bist du sicher %1 von deinen Spielständen zu löschen?</translation>
|
<translation>Bist du sicher %1 von deinen Spielständen zu löschen?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="145"/>
|
<location filename="../SavegameWidget.cpp" line="144"/>
|
||||||
<source>Failed at deleting %1 from your savegames</source>
|
<source>Failed at deleting %1 from your savegames</source>
|
||||||
<translation>Fehlgeschlagen beim Löschen %1 von deinen Spielständen</translation>
|
<translation>Fehlgeschlagen beim Löschen %1 von deinen Spielständen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="209"/>
|
<location filename="../ProfileInterface.cpp" line="1106"/>
|
||||||
<source>&View</source>
|
<source>&View</source>
|
||||||
<translation>A&nsehen</translation>
|
<translation>A&nsehen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="211"/>
|
<location filename="../ProfileInterface.cpp" line="1108"/>
|
||||||
<source>&Remove</source>
|
<source>&Remove</source>
|
||||||
<translation>Entfe&rnen</translation>
|
<translation>Entfe&rnen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="215"/>
|
<location filename="../ProfileInterface.cpp" line="1112"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="227"/>
|
<location filename="../ProfileInterface.cpp" line="1123"/>
|
||||||
<source>&Select</source>
|
<source>&Select</source>
|
||||||
<translation>Au&swählen</translation>
|
<translation>Au&swählen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="216"/>
|
<location filename="../ProfileInterface.cpp" line="1113"/>
|
||||||
<source>&Deselect</source>
|
<source>&Deselect</source>
|
||||||
<translation>A&bwählen</translation>
|
<translation>A&bwählen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="217"/>
|
<location filename="../ProfileInterface.cpp" line="1114"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="228"/>
|
<location filename="../ProfileInterface.cpp" line="1124"/>
|
||||||
<source>Select &All</source>
|
<source>Select &All</source>
|
||||||
<translation>&Alles auswählen</translation>
|
<translation>&Alles auswählen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="221"/>
|
<location filename="../ProfileInterface.cpp" line="1117"/>
|
||||||
<source>&Deselect All</source>
|
<source>&Deselect All</source>
|
||||||
<translation>Alles a&bwählen</translation>
|
<translation>Alles a&bwählen</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1332,7 +1332,7 @@ Exportieren als:</translation>
|
||||||
<translation>Spielstand kopieren</translation>
|
<translation>Spielstand kopieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="210"/>
|
<location filename="../ProfileInterface.cpp" line="1107"/>
|
||||||
<source>&Export</source>
|
<source>&Export</source>
|
||||||
<translation>&Exportieren</translation>
|
<translation>&Exportieren</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1408,7 +1408,7 @@ Exportieren als:</translation>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.ui" line="14"/>
|
<location filename="../SnapmaticEditor.ui" line="14"/>
|
||||||
<location filename="../SnapmaticEditor.ui" line="81"/>
|
<location filename="../SnapmaticEditor.ui" line="81"/>
|
||||||
<location filename="../SnapmaticEditor.cpp" line="216"/>
|
<location filename="../SnapmaticEditor.cpp" line="247"/>
|
||||||
<source>Snapmatic Properties</source>
|
<source>Snapmatic Properties</source>
|
||||||
<translation>Snapmatic Eigenschaften</translation>
|
<translation>Snapmatic Eigenschaften</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1456,26 +1456,45 @@ Exportieren als:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.ui" line="125"/>
|
<location filename="../SnapmaticEditor.ui" line="125"/>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="297"/>
|
||||||
|
<source>Snapmatic Title</source>
|
||||||
|
<translation>Snapmatic Titel</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SnapmaticEditor.ui" line="140"/>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="200"/>
|
||||||
|
<source>Title: %1 (%2)</source>
|
||||||
|
<translation>Titel: %1 (%2)</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SnapmaticEditor.ui" line="156"/>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="204"/>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="208"/>
|
||||||
|
<source>Appropriate: %1</source>
|
||||||
|
<translation>Angemessen: %1</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SnapmaticEditor.ui" line="169"/>
|
||||||
<source>Extras</source>
|
<source>Extras</source>
|
||||||
<translation>Extras</translation>
|
<translation>Extras</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.ui" line="131"/>
|
<location filename="../SnapmaticEditor.ui" line="175"/>
|
||||||
<source>Qualify as Avatar automatically at apply</source>
|
<source>Qualify as Avatar automatically at apply</source>
|
||||||
<translation>Beim Übernehmen als Avatar qualifizieren </translation>
|
<translation>Beim Übernehmen als Avatar qualifizieren </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.ui" line="144"/>
|
<location filename="../SnapmaticEditor.ui" line="188"/>
|
||||||
<source>Qualify as Avatar allows you to use this Snapmatic as a Social Club profile picture</source>
|
<source>Qualify as Avatar allows you to use this Snapmatic as a Social Club profile picture</source>
|
||||||
<translation>Das Qualifizieren als Avatar erlaubt dir dieses Snapmatic als Social Club Profilbild zu nutzen</translation>
|
<translation>Das Qualifizieren als Avatar erlaubt dir dieses Snapmatic als Social Club Profilbild zu nutzen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.ui" line="194"/>
|
<location filename="../SnapmaticEditor.ui" line="238"/>
|
||||||
<source>&Apply</source>
|
<source>&Apply</source>
|
||||||
<translation>&Übernehmen</translation>
|
<translation>&Übernehmen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.ui" line="207"/>
|
<location filename="../SnapmaticEditor.ui" line="251"/>
|
||||||
<source>&Cancel</source>
|
<source>&Cancel</source>
|
||||||
<translation>Abbre&chen</translation>
|
<translation>Abbre&chen</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1488,15 +1507,37 @@ Exportieren als:</translation>
|
||||||
<translation type="vanished">Cancel</translation>
|
<translation type="vanished">Cancel</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.cpp" line="216"/>
|
<location filename="../SnapmaticEditor.cpp" line="199"/>
|
||||||
|
<source>Edit</source>
|
||||||
|
<translation>Bearbeiten</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="204"/>
|
||||||
|
<source>Yes</source>
|
||||||
|
<comment>Yes, should work fine</comment>
|
||||||
|
<translation>Ja</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="208"/>
|
||||||
|
<source>No</source>
|
||||||
|
<comment>No, could lead to issues</comment>
|
||||||
|
<translation>Nein</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="247"/>
|
||||||
<source>Patching of Snapmatic Properties failed because of I/O Error</source>
|
<source>Patching of Snapmatic Properties failed because of I/O Error</source>
|
||||||
<translation>Patchen von Snapmatic Eigenschaften fehlgeschlagen wegen I/O Fehler</translation>
|
<translation>Patchen von Snapmatic Eigenschaften fehlgeschlagen wegen I/O Fehler</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="297"/>
|
||||||
|
<source>New Snapmatic title:</source>
|
||||||
|
<translation>Neuer Snapmatic Titel:</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>SnapmaticPicture</name>
|
<name>SnapmaticPicture</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticPicture.cpp" line="349"/>
|
<location filename="../SnapmaticPicture.cpp" line="370"/>
|
||||||
<source>PHOTO - %1</source>
|
<source>PHOTO - %1</source>
|
||||||
<translation>FOTO - %1</translation>
|
<translation>FOTO - %1</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1535,18 +1576,18 @@ Exportieren als:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.ui" line="149"/>
|
<location filename="../SnapmaticWidget.ui" line="149"/>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="140"/>
|
<location filename="../SnapmaticWidget.cpp" line="150"/>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="153"/>
|
<location filename="../SnapmaticWidget.cpp" line="163"/>
|
||||||
<source>Delete picture</source>
|
<source>Delete picture</source>
|
||||||
<translation>Bild löschen</translation>
|
<translation>Bild löschen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="140"/>
|
<location filename="../SnapmaticWidget.cpp" line="150"/>
|
||||||
<source>Are you sure to delete %1 from your Snapmatic pictures?</source>
|
<source>Are you sure to delete %1 from your Snapmatic pictures?</source>
|
||||||
<translation>Bist du sicher %1 von deinen Snapmatic Bilder zu löschen?</translation>
|
<translation>Bist du sicher %1 von deinen Snapmatic Bilder zu löschen?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="205"/>
|
<location filename="../ProfileInterface.cpp" line="1065"/>
|
||||||
<source>Edi&t</source>
|
<source>Edi&t</source>
|
||||||
<translation>Bearbei&ten</translation>
|
<translation>Bearbei&ten</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1559,7 +1600,7 @@ Exportieren als:</translation>
|
||||||
<translation type="vanished">&Im Spiel deaktivieren</translation>
|
<translation type="vanished">&Im Spiel deaktivieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="215"/>
|
<location filename="../ProfileInterface.cpp" line="1075"/>
|
||||||
<source>&Export</source>
|
<source>&Export</source>
|
||||||
<translation>&Exportieren</translation>
|
<translation>&Exportieren</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1572,12 +1613,12 @@ Exportieren als:</translation>
|
||||||
<translation type="obsolete">Exportiere als &GTA Snapmatic</translation>
|
<translation type="obsolete">Exportiere als &GTA Snapmatic</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="208"/>
|
<location filename="../ProfileInterface.cpp" line="1068"/>
|
||||||
<source>Show &In-game</source>
|
<source>Show &In-game</source>
|
||||||
<translation>&Im Spiel anzeigen</translation>
|
<translation>&Im Spiel anzeigen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="212"/>
|
<location filename="../ProfileInterface.cpp" line="1072"/>
|
||||||
<source>Hide &In-game</source>
|
<source>Hide &In-game</source>
|
||||||
<translation>&Im Spiel ausblenden</translation>
|
<translation>&Im Spiel ausblenden</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1590,49 +1631,49 @@ Exportieren als:</translation>
|
||||||
<translation type="vanished">FOTO - %1</translation>
|
<translation type="vanished">FOTO - %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="214"/>
|
<location filename="../ProfileInterface.cpp" line="1074"/>
|
||||||
<source>&Edit Properties...</source>
|
<source>&Edit Properties...</source>
|
||||||
<translation>&Eigenschaften bearbeiten...</translation>
|
<translation>&Eigenschaften bearbeiten...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="216"/>
|
<location filename="../ProfileInterface.cpp" line="1076"/>
|
||||||
<source>Export as &JPG picture...</source>
|
<source>Export as &JPG picture...</source>
|
||||||
<translation>Exportiere als &JPG Bild...</translation>
|
<translation>Exportiere als &JPG Bild...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="217"/>
|
<location filename="../ProfileInterface.cpp" line="1077"/>
|
||||||
<source>Export as &GTA Snapmatic...</source>
|
<source>Export as &GTA Snapmatic...</source>
|
||||||
<translation>Exportiere als &GTA Snapmatic...</translation>
|
<translation>Exportiere als &GTA Snapmatic...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="218"/>
|
<location filename="../ProfileInterface.cpp" line="1078"/>
|
||||||
<source>&View</source>
|
<source>&View</source>
|
||||||
<translation>A&nsehen</translation>
|
<translation>A&nsehen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="221"/>
|
<location filename="../ProfileInterface.cpp" line="1081"/>
|
||||||
<source>&Remove</source>
|
<source>&Remove</source>
|
||||||
<translation>Entfe&rnen</translation>
|
<translation>Entfe&rnen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="225"/>
|
<location filename="../ProfileInterface.cpp" line="1085"/>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="237"/>
|
<location filename="../ProfileInterface.cpp" line="1096"/>
|
||||||
<source>&Select</source>
|
<source>&Select</source>
|
||||||
<translation>Au&swählen</translation>
|
<translation>Au&swählen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="226"/>
|
<location filename="../ProfileInterface.cpp" line="1086"/>
|
||||||
<source>&Deselect</source>
|
<source>&Deselect</source>
|
||||||
<translation>A&bwählen</translation>
|
<translation>A&bwählen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="227"/>
|
<location filename="../ProfileInterface.cpp" line="1087"/>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="238"/>
|
<location filename="../ProfileInterface.cpp" line="1097"/>
|
||||||
<source>Select &All</source>
|
<source>Select &All</source>
|
||||||
<translation>Alles &auswählen</translation>
|
<translation>Alles &auswählen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="231"/>
|
<location filename="../ProfileInterface.cpp" line="1090"/>
|
||||||
<source>&Deselect All</source>
|
<source>&Deselect All</source>
|
||||||
<translation>Alles a&bwählen</translation>
|
<translation>Alles a&bwählen</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1680,7 +1721,7 @@ Exportieren als:</translation>
|
||||||
<translation type="obsolete">Bist du sicher %1 von deinen Snapmatic Bilder zu löschen?</translation>
|
<translation type="obsolete">Bist du sicher %1 von deinen Snapmatic Bilder zu löschen?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="153"/>
|
<location filename="../SnapmaticWidget.cpp" line="163"/>
|
||||||
<source>Failed at deleting %1 from your Snapmatic pictures</source>
|
<source>Failed at deleting %1 from your Snapmatic pictures</source>
|
||||||
<translation>Fehlgeschlagen beim Löschen %1 von deinen Snapmatic Bildern</translation>
|
<translation>Fehlgeschlagen beim Löschen %1 von deinen Snapmatic Bildern</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1720,7 +1761,7 @@ Exportieren als:</translation>
|
||||||
<translation type="obsolete">Über gta5sync</translation>
|
<translation type="obsolete">Über gta5sync</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="266"/>
|
<location filename="../UserInterface.ui" line="258"/>
|
||||||
<source>Ctrl+A</source>
|
<source>Ctrl+A</source>
|
||||||
<translation>Strg+A</translation>
|
<translation>Strg+A</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1733,7 +1774,7 @@ Exportieren als:</translation>
|
||||||
<translation type="obsolete">Optionen</translation>
|
<translation type="obsolete">Optionen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="306"/>
|
<location filename="../UserInterface.ui" line="298"/>
|
||||||
<source>Ctrl+O</source>
|
<source>Ctrl+O</source>
|
||||||
<translation>Strg+O</translation>
|
<translation>Strg+O</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1742,7 +1783,7 @@ Exportieren als:</translation>
|
||||||
<translation type="obsolete">Alles auswählen</translation>
|
<translation type="obsolete">Alles auswählen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="258"/>
|
<location filename="../UserInterface.ui" line="250"/>
|
||||||
<source>Ctrl+S</source>
|
<source>Ctrl+S</source>
|
||||||
<translation>Strg+S</translation>
|
<translation>Strg+S</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1759,7 +1800,7 @@ Exportieren als:</translation>
|
||||||
<translation type="obsolete">Auswahl exportieren</translation>
|
<translation type="obsolete">Auswahl exportieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="282"/>
|
<location filename="../UserInterface.ui" line="274"/>
|
||||||
<source>Ctrl+E</source>
|
<source>Ctrl+E</source>
|
||||||
<translation>Strg+E</translation>
|
<translation>Strg+E</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1768,12 +1809,12 @@ Exportieren als:</translation>
|
||||||
<translation type="obsolete">Auswahl löschen</translation>
|
<translation type="obsolete">Auswahl löschen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="274"/>
|
<location filename="../UserInterface.ui" line="266"/>
|
||||||
<source>Ctrl+D</source>
|
<source>Ctrl+D</source>
|
||||||
<translation>Strg+D</translation>
|
<translation>Strg+D</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="235"/>
|
<location filename="../UserInterface.ui" line="231"/>
|
||||||
<source>Exit</source>
|
<source>Exit</source>
|
||||||
<translation>Beenden</translation>
|
<translation>Beenden</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1787,12 +1828,12 @@ Exportieren als:</translation>
|
||||||
<translation type="vanished">&Über Produkt</translation>
|
<translation type="vanished">&Über Produkt</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="232"/>
|
<location filename="../UserInterface.ui" line="228"/>
|
||||||
<source>&Exit</source>
|
<source>&Exit</source>
|
||||||
<translation>B&eenden</translation>
|
<translation>B&eenden</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="238"/>
|
<location filename="../UserInterface.ui" line="234"/>
|
||||||
<source>Ctrl+Q</source>
|
<source>Ctrl+Q</source>
|
||||||
<translation>Strg+Q</translation>
|
<translation>Strg+Q</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1835,43 +1876,43 @@ Exportieren als:</translation>
|
||||||
<translation type="vanished">&Über gta5sync</translation>
|
<translation type="vanished">&Über gta5sync</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="243"/>
|
<location filename="../UserInterface.ui" line="239"/>
|
||||||
<source>Close &Profile</source>
|
<source>Close &Profile</source>
|
||||||
<translation>&Profil schließen</translation>
|
<translation>&Profil schließen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="246"/>
|
<location filename="../UserInterface.ui" line="242"/>
|
||||||
<source>Ctrl+End</source>
|
<source>Ctrl+End</source>
|
||||||
<translation>Strg+Ende</translation>
|
<translation>Strg+Ende</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="290"/>
|
<location filename="../UserInterface.ui" line="282"/>
|
||||||
<source>Ctrl+Del</source>
|
<source>Ctrl+Del</source>
|
||||||
<translation>Strg+Entf</translation>
|
<translation>Strg+Entf</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="303"/>
|
<location filename="../UserInterface.ui" line="295"/>
|
||||||
<source>&Open File...</source>
|
<source>&Open File...</source>
|
||||||
<translation>Datei &öffnen...</translation>
|
<translation>Datei &öffnen...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="311"/>
|
<location filename="../UserInterface.ui" line="303"/>
|
||||||
<location filename="../UserInterface.cpp" line="131"/>
|
<location filename="../UserInterface.cpp" line="144"/>
|
||||||
<source>Select &GTA V Folder...</source>
|
<source>Select &GTA V Folder...</source>
|
||||||
<translation>Wähle &GTA V Ordner...</translation>
|
<translation>Wähle &GTA V Ordner...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="317"/>
|
<location filename="../UserInterface.ui" line="309"/>
|
||||||
<source>Ctrl+G</source>
|
<source>Ctrl+G</source>
|
||||||
<translation>Strg+G</translation>
|
<translation>Strg+G</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="322"/>
|
<location filename="../UserInterface.ui" line="314"/>
|
||||||
<source>Show In-gam&e</source>
|
<source>Show In-gam&e</source>
|
||||||
<translation>Im Spiel anzeig&en</translation>
|
<translation>Im Spiel anzeig&en</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="330"/>
|
<location filename="../UserInterface.ui" line="322"/>
|
||||||
<source>Hi&de In-game</source>
|
<source>Hi&de In-game</source>
|
||||||
<translation>Im Spiel ausblen&den</translation>
|
<translation>Im Spiel ausblen&den</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1884,7 +1925,7 @@ Exportieren als:</translation>
|
||||||
<translation type="vanished">Im Spiel aktivier&en</translation>
|
<translation type="vanished">Im Spiel aktivier&en</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="325"/>
|
<location filename="../UserInterface.ui" line="317"/>
|
||||||
<source>Shift+E</source>
|
<source>Shift+E</source>
|
||||||
<translation>Umschalt+E</translation>
|
<translation>Umschalt+E</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1893,7 +1934,7 @@ Exportieren als:</translation>
|
||||||
<translation type="vanished">Im Spiel &deaktivieren</translation>
|
<translation type="vanished">Im Spiel &deaktivieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="333"/>
|
<location filename="../UserInterface.ui" line="325"/>
|
||||||
<source>Shift+D</source>
|
<source>Shift+D</source>
|
||||||
<translation>Umschalt+D</translation>
|
<translation>Umschalt+D</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1916,27 +1957,27 @@ Exportieren als:</translation>
|
||||||
<translation type="obsolete">&Optionen</translation>
|
<translation type="obsolete">&Optionen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="255"/>
|
<location filename="../UserInterface.ui" line="247"/>
|
||||||
<source>&Settings</source>
|
<source>&Settings</source>
|
||||||
<translation>Ein&stellungen</translation>
|
<translation>Ein&stellungen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="263"/>
|
<location filename="../UserInterface.ui" line="255"/>
|
||||||
<source>Select &All</source>
|
<source>Select &All</source>
|
||||||
<translation>&Alles auswählen</translation>
|
<translation>&Alles auswählen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="271"/>
|
<location filename="../UserInterface.ui" line="263"/>
|
||||||
<source>&Deselect All</source>
|
<source>&Deselect All</source>
|
||||||
<translation>Alles a&bwählen</translation>
|
<translation>Alles a&bwählen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="279"/>
|
<location filename="../UserInterface.ui" line="271"/>
|
||||||
<source>&Export selected...</source>
|
<source>&Export selected...</source>
|
||||||
<translation>Auswahl &exportieren...</translation>
|
<translation>Auswahl &exportieren...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="287"/>
|
<location filename="../UserInterface.ui" line="279"/>
|
||||||
<source>&Remove selected</source>
|
<source>&Remove selected</source>
|
||||||
<translation>Auswahl entfe&rnen</translation>
|
<translation>Auswahl entfe&rnen</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1945,12 +1986,12 @@ Exportieren als:</translation>
|
||||||
<translation type="obsolete">Strg+R</translation>
|
<translation type="obsolete">Strg+R</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="295"/>
|
<location filename="../UserInterface.ui" line="287"/>
|
||||||
<source>&Import files...</source>
|
<source>&Import files...</source>
|
||||||
<translation>Dateien &importieren...</translation>
|
<translation>Dateien &importieren...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="298"/>
|
<location filename="../UserInterface.ui" line="290"/>
|
||||||
<source>Ctrl+I</source>
|
<source>Ctrl+I</source>
|
||||||
<translation>Strg+I</translation>
|
<translation>Strg+I</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1959,16 +2000,16 @@ Exportieren als:</translation>
|
||||||
<translation type="obsolete">GTA V Ordner nicht gefunden!</translation>
|
<translation type="obsolete">GTA V Ordner nicht gefunden!</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.cpp" line="61"/>
|
<location filename="../UserInterface.cpp" line="62"/>
|
||||||
<location filename="../UserInterface.cpp" line="201"/>
|
<location filename="../UserInterface.cpp" line="214"/>
|
||||||
<source>Select Profile</source>
|
<source>Select Profile</source>
|
||||||
<translation>Profil auswählen</translation>
|
<translation>Profil auswählen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="314"/>
|
<location filename="../UserInterface.ui" line="306"/>
|
||||||
<location filename="../OptionsDialog.cpp" line="444"/>
|
<location filename="../OptionsDialog.cpp" line="444"/>
|
||||||
<location filename="../UserInterface.cpp" line="80"/>
|
<location filename="../UserInterface.cpp" line="93"/>
|
||||||
<location filename="../UserInterface.cpp" line="455"/>
|
<location filename="../UserInterface.cpp" line="474"/>
|
||||||
<source>Select GTA V Folder...</source>
|
<source>Select GTA V Folder...</source>
|
||||||
<translation>Wähle GTA V Ordner...</translation>
|
<translation>Wähle GTA V Ordner...</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1977,7 +2018,7 @@ Exportieren als:</translation>
|
||||||
<translation type="vanished">Wähle GTA V &Ordner...</translation>
|
<translation type="vanished">Wähle GTA V &Ordner...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.cpp" line="311"/>
|
<location filename="../UserInterface.cpp" line="330"/>
|
||||||
<source>Open File...</source>
|
<source>Open File...</source>
|
||||||
<translation>Datei öffnen...</translation>
|
<translation>Datei öffnen...</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1987,26 +2028,26 @@ Exportieren als:</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="20"/>
|
<location filename="../UserInterface.ui" line="20"/>
|
||||||
<location filename="../UserInterface.cpp" line="59"/>
|
<location filename="../UserInterface.cpp" line="60"/>
|
||||||
<source>%2 - %1</source>
|
<source>%2 - %1</source>
|
||||||
<translation>%2 - %1</translation>
|
<translation>%2 - %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="220"/>
|
<location filename="../UserInterface.ui" line="220"/>
|
||||||
<location filename="../UserInterface.cpp" line="58"/>
|
<location filename="../UserInterface.cpp" line="59"/>
|
||||||
<source>&About %1</source>
|
<source>&About %1</source>
|
||||||
<translation>&Über %1</translation>
|
<translation>&Über %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.cpp" line="358"/>
|
<location filename="../UserInterface.cpp" line="377"/>
|
||||||
<location filename="../UserInterface.cpp" line="374"/>
|
<location filename="../UserInterface.cpp" line="393"/>
|
||||||
<location filename="../UserInterface.cpp" line="401"/>
|
<location filename="../UserInterface.cpp" line="420"/>
|
||||||
<location filename="../UserInterface.cpp" line="406"/>
|
<location filename="../UserInterface.cpp" line="425"/>
|
||||||
<source>Open File</source>
|
<source>Open File</source>
|
||||||
<translation>Datei öffnen</translation>
|
<translation>Datei öffnen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.cpp" line="401"/>
|
<location filename="../UserInterface.cpp" line="420"/>
|
||||||
<source>Can't open %1 because of not valid file format</source>
|
<source>Can't open %1 because of not valid file format</source>
|
||||||
<translation>Kann nicht %1 öffnen weil Dateiformat nicht gültig ist</translation>
|
<translation>Kann nicht %1 öffnen weil Dateiformat nicht gültig ist</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!DOCTYPE TS>
|
<!DOCTYPE TS>
|
||||||
<TS version="2.0" language="fr_FR">
|
<TS version="2.1" language="fr_FR">
|
||||||
<context>
|
<context>
|
||||||
<name>AboutDialog</name>
|
<name>AboutDialog</name>
|
||||||
<message>
|
<message>
|
||||||
<source>About gta5sync</source>
|
<source>About gta5sync</source>
|
||||||
<translation>À propos de gta5sync</translation>
|
<translation type="vanished">À propos de gta5sync</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source><span style=" font-weight:600;">gta5sync</span><br/>
|
<source><span style=" font-weight:600;">gta5sync</span><br/>
|
||||||
|
@ -19,7 +19,7 @@ Compiled with Qt %2<br/>
|
||||||
Running with Qt %3<br/>
|
Running with Qt %3<br/>
|
||||||
<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></source>
|
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></source>
|
||||||
<translation><span style=" font-weight:600;">gta5sync</span><br/>
|
<translation type="vanished"><span style=" font-weight:600;">gta5sync</span><br/>
|
||||||
<br/>
|
<br/>
|
||||||
Un outil pour gérer et synchroniser les photos Snapmatic<br/>
|
Un outil pour gérer et synchroniser les photos Snapmatic<br/>
|
||||||
et les fichiers de sauvegarde de Grand Theft Auto V<br/>
|
et les fichiers de sauvegarde de Grand Theft Auto V<br/>
|
||||||
|
@ -152,32 +152,32 @@ et les fichiers de sauvegarde de Grand Theft Auto V</translation>
|
||||||
<translation>Importer...</translation>
|
<translation>Importer...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ImportDialog.ui" line="87"/>
|
<location filename="../ImportDialog.ui" line="90"/>
|
||||||
<source>Settings</source>
|
<source>Settings</source>
|
||||||
<translation>Paramètres</translation>
|
<translation>Paramètres</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ImportDialog.ui" line="93"/>
|
<location filename="../ImportDialog.ui" line="96"/>
|
||||||
<source>&Keep Aspect Ratio</source>
|
<source>&Keep Aspect Ratio</source>
|
||||||
<translation>&Conserver le rapport d'aspect</translation>
|
<translation>&Conserver le rapport d'aspect</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ImportDialog.ui" line="100"/>
|
<location filename="../ImportDialog.ui" line="103"/>
|
||||||
<source>&Ignore Aspect Ratio</source>
|
<source>&Ignore Aspect Ratio</source>
|
||||||
<translation>&Ignorer le rapport d'aspect</translation>
|
<translation>&Ignorer le rapport d'aspect</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ImportDialog.ui" line="107"/>
|
<location filename="../ImportDialog.ui" line="110"/>
|
||||||
<source>&Avatar</source>
|
<source>&Avatar</source>
|
||||||
<translation>&Avatar</translation>
|
<translation>&Avatar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ImportDialog.ui" line="145"/>
|
<location filename="../ImportDialog.ui" line="154"/>
|
||||||
<source>&OK</source>
|
<source>&OK</source>
|
||||||
<translation>&OK</translation>
|
<translation>&OK</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ImportDialog.ui" line="152"/>
|
<location filename="../ImportDialog.ui" line="167"/>
|
||||||
<source>&Cancel</source>
|
<source>&Cancel</source>
|
||||||
<translation>A&nnuler</translation>
|
<translation>A&nnuler</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -452,7 +452,7 @@ et les fichiers de sauvegarde de Grand Theft Auto V</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>All files (**)</source>
|
<source>All files (**)</source>
|
||||||
<translation>Tous les fichiers (**)</translation>
|
<translation type="vanished">Tous les fichiers (**)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureExport.cpp" line="246"/>
|
<location filename="../PictureExport.cpp" line="246"/>
|
||||||
|
@ -478,7 +478,7 @@ et les fichiers de sauvegarde de Grand Theft Auto V</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Failed to copy current Snapmatic picture</source>
|
<source>Failed to copy current Snapmatic picture</source>
|
||||||
<translation>Echec de la copie</translation>
|
<translation type="vanished">Echec de la copie</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureExport.cpp" line="187"/>
|
<location filename="../PictureExport.cpp" line="187"/>
|
||||||
|
@ -487,17 +487,17 @@ et les fichiers de sauvegarde de Grand Theft Auto V</translation>
|
||||||
<translation>Fichier invalide</translation>
|
<translation>Fichier invalide</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="95"/>
|
<location filename="../PictureDialog.cpp" line="128"/>
|
||||||
<source>Export as &JPG picture...</source>
|
<source>Export as &JPG picture...</source>
|
||||||
<translation>Exporter comme image &JPG...</translation>
|
<translation>Exporter comme image &JPG...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="96"/>
|
<location filename="../PictureDialog.cpp" line="129"/>
|
||||||
<source>Export as &GTA Snapmatic...</source>
|
<source>Export as &GTA Snapmatic...</source>
|
||||||
<translation>Exporter comme &GTA Snapmatic...</translation>
|
<translation>Exporter comme &GTA Snapmatic...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="297"/>
|
<location filename="../PictureDialog.cpp" line="343"/>
|
||||||
<source>Key 1 - Avatar Preview Mode
|
<source>Key 1 - Avatar Preview Mode
|
||||||
Key 2 - Toggle Overlay
|
Key 2 - Toggle Overlay
|
||||||
Arrow Keys - Navigate</source>
|
Arrow Keys - Navigate</source>
|
||||||
|
@ -506,19 +506,19 @@ Touche 2 - Activer/désactiver l'overlay
|
||||||
Touches fléchées - Naviguer</translation>
|
Touches fléchées - Naviguer</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="357"/>
|
<location filename="../PictureDialog.cpp" line="402"/>
|
||||||
<location filename="../PictureDialog.cpp" line="414"/>
|
<location filename="../PictureDialog.cpp" line="474"/>
|
||||||
<source>Snapmatic Picture Viewer</source>
|
<source>Snapmatic Picture Viewer</source>
|
||||||
<translation>Visionneuse de photo Snapmatic</translation>
|
<translation>Visionneuse de photo Snapmatic</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="357"/>
|
<location filename="../PictureDialog.cpp" line="402"/>
|
||||||
<location filename="../PictureDialog.cpp" line="414"/>
|
<location filename="../PictureDialog.cpp" line="474"/>
|
||||||
<source>Failed at %1</source>
|
<source>Failed at %1</source>
|
||||||
<translation>Echec de %1</translation>
|
<translation>Echec de %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="469"/>
|
<location filename="../PictureDialog.cpp" line="529"/>
|
||||||
<source>Avatar Preview Mode
|
<source>Avatar Preview Mode
|
||||||
Press 1 for Default View</source>
|
Press 1 for Default View</source>
|
||||||
<translation>Mode Aperçu Avatar
|
<translation>Mode Aperçu Avatar
|
||||||
|
@ -526,22 +526,22 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Avatar Preview Mode<br>Press A for Default View</source>
|
<source>Avatar Preview Mode<br>Press A for Default View</source>
|
||||||
<translation>Aperçu avatar<br>Appuyer sur A pour la vue par défaut</translation>
|
<translation type="vanished">Aperçu avatar<br>Appuyer sur A pour la vue par défaut</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="403"/>
|
<location filename="../PictureDialog.cpp" line="463"/>
|
||||||
<location filename="../PictureDialog.cpp" line="413"/>
|
<location filename="../PictureDialog.cpp" line="473"/>
|
||||||
<source>No player</source>
|
<source>No player</source>
|
||||||
<translation>Aucun joueur</translation>
|
<translation>Aucun joueur</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="406"/>
|
<location filename="../PictureDialog.cpp" line="466"/>
|
||||||
<location filename="../PictureDialog.cpp" line="413"/>
|
<location filename="../PictureDialog.cpp" line="473"/>
|
||||||
<source>No crew</source>
|
<source>No crew</source>
|
||||||
<translation>Aucun crew</translation>
|
<translation>Aucun crew</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="413"/>
|
<location filename="../PictureDialog.cpp" line="473"/>
|
||||||
<source>Unknown Location</source>
|
<source>Unknown Location</source>
|
||||||
<translation>Emplacement inconnu</translation>
|
<translation>Emplacement inconnu</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -619,9 +619,9 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
<translation>&Fermer</translation>
|
<translation>&Fermer</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ExportThread.cpp" line="95"/>
|
<location filename="../ExportThread.cpp" line="96"/>
|
||||||
<location filename="../ExportThread.cpp" line="134"/>
|
<location filename="../ExportThread.cpp" line="135"/>
|
||||||
<location filename="../ExportThread.cpp" line="155"/>
|
<location filename="../ExportThread.cpp" line="156"/>
|
||||||
<source>Export file %1 of %2 files</source>
|
<source>Export file %1 of %2 files</source>
|
||||||
<translation>Copie du fichier %1 sur %2</translation>
|
<translation>Copie du fichier %1 sur %2</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -659,23 +659,23 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>All profile files (SGTA* PGTA*)</source>
|
<source>All profile files (SGTA* PGTA*)</source>
|
||||||
<translation>Fichiers de profil GTA (SGTA* PGTA*)</translation>
|
<translation type="vanished">Fichiers de profil GTA (SGTA* PGTA*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="375"/>
|
<location filename="../ProfileInterface.cpp" line="375"/>
|
||||||
<location filename="../UserInterface.cpp" line="316"/>
|
<location filename="../UserInterface.cpp" line="335"/>
|
||||||
<source>Savegames files (SGTA*)</source>
|
<source>Savegames files (SGTA*)</source>
|
||||||
<translation>Fichiers de sauvegarde GTA (SGTA*)</translation>
|
<translation>Fichiers de sauvegarde GTA (SGTA*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="376"/>
|
<location filename="../ProfileInterface.cpp" line="376"/>
|
||||||
<location filename="../UserInterface.cpp" line="317"/>
|
<location filename="../UserInterface.cpp" line="336"/>
|
||||||
<source>Snapmatic pictures (PGTA*)</source>
|
<source>Snapmatic pictures (PGTA*)</source>
|
||||||
<translation>Photos Snapmatic (PGTA*)</translation>
|
<translation>Photos Snapmatic (PGTA*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="378"/>
|
<location filename="../ProfileInterface.cpp" line="378"/>
|
||||||
<location filename="../UserInterface.cpp" line="318"/>
|
<location filename="../UserInterface.cpp" line="337"/>
|
||||||
<source>All files (**)</source>
|
<source>All files (**)</source>
|
||||||
<translation>Tous les fichiers (**)</translation>
|
<translation>Tous les fichiers (**)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -697,19 +697,19 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="465"/>
|
<location filename="../ProfileInterface.cpp" line="465"/>
|
||||||
<location filename="../ProfileInterface.cpp" line="663"/>
|
<location filename="../ProfileInterface.cpp" line="663"/>
|
||||||
<location filename="../UserInterface.cpp" line="406"/>
|
<location filename="../UserInterface.cpp" line="425"/>
|
||||||
<source>No valid file is selected</source>
|
<source>No valid file is selected</source>
|
||||||
<translation>Fichier invalide</translation>
|
<translation>Fichier invalide</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="492"/>
|
<location filename="../ProfileInterface.cpp" line="492"/>
|
||||||
<location filename="../UserInterface.cpp" line="358"/>
|
<location filename="../UserInterface.cpp" line="377"/>
|
||||||
<source>Failed to read Snapmatic picture</source>
|
<source>Failed to read Snapmatic picture</source>
|
||||||
<translation>Impossible d'ouvrir la photo Snapmatic</translation>
|
<translation>Impossible d'ouvrir la photo Snapmatic</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="508"/>
|
<location filename="../ProfileInterface.cpp" line="508"/>
|
||||||
<location filename="../UserInterface.cpp" line="374"/>
|
<location filename="../UserInterface.cpp" line="393"/>
|
||||||
<source>Failed to read Savegame file</source>
|
<source>Failed to read Savegame file</source>
|
||||||
<translation>Impossible de lire le fichier de sauvegarde</translation>
|
<translation>Impossible de lire le fichier de sauvegarde</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -720,7 +720,7 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Failed to import the Snapmatic picture, file not begin with PGTA</source>
|
<source>Failed to import the Snapmatic picture, file not begin with PGTA</source>
|
||||||
<translation>Impossible d'importer la photo Snapmatic,nom de fichier incorrect (PGTA*)</translation>
|
<translation type="vanished">Impossible d'importer la photo Snapmatic,nom de fichier incorrect (PGTA*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="373"/>
|
<location filename="../ProfileInterface.cpp" line="373"/>
|
||||||
|
@ -831,13 +831,13 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
<translation>Impossible de supprimer la sélection</translation>
|
<translation>Impossible de supprimer la sélection</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.cpp" line="314"/>
|
<location filename="../UserInterface.cpp" line="333"/>
|
||||||
<source>All profile files (*.g5e SGTA* PGTA*)</source>
|
<source>All profile files (*.g5e SGTA* PGTA*)</source>
|
||||||
<translation>Tous les fichiers de profil (*.g5e SGTA* PGTA*)</translation>
|
<translation>Tous les fichiers de profil (*.g5e SGTA* PGTA*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../ProfileInterface.cpp" line="374"/>
|
<location filename="../ProfileInterface.cpp" line="374"/>
|
||||||
<location filename="../UserInterface.cpp" line="315"/>
|
<location filename="../UserInterface.cpp" line="334"/>
|
||||||
<source>GTA V Export (*.g5e)</source>
|
<source>GTA V Export (*.g5e)</source>
|
||||||
<translation>GTA V Export (*.g5e)</translation>
|
<translation>GTA V Export (*.g5e)</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -919,8 +919,8 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.ui" line="118"/>
|
<location filename="../SavegameWidget.ui" line="118"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="132"/>
|
<location filename="../SavegameWidget.cpp" line="131"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="145"/>
|
<location filename="../SavegameWidget.cpp" line="144"/>
|
||||||
<source>Delete savegame</source>
|
<source>Delete savegame</source>
|
||||||
<translation>Supprimer la sauvegarde</translation>
|
<translation>Supprimer la sauvegarde</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -930,7 +930,7 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
<translation>Supprimer</translation>
|
<translation>Supprimer</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="210"/>
|
<location filename="../ProfileInterface.cpp" line="1107"/>
|
||||||
<source>&Export</source>
|
<source>&Export</source>
|
||||||
<translation>&Exporter</translation>
|
<translation>&Exporter</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -973,74 +973,74 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
<translation>Fichier invalide</translation>
|
<translation>Fichier invalide</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="50"/>
|
<location filename="../SavegameWidget.cpp" line="49"/>
|
||||||
<source>Export Savegame...</source>
|
<source>Export Savegame...</source>
|
||||||
<translation>Exporter la sauvegarde...</translation>
|
<translation>Exporter la sauvegarde...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="57"/>
|
<location filename="../SavegameWidget.cpp" line="56"/>
|
||||||
<source>AUTOSAVE - %1
|
<source>AUTOSAVE - %1
|
||||||
%2</source>
|
%2</source>
|
||||||
<translation>SAUVEGARDE AUTO - %1
|
<translation>SAUVEGARDE AUTO - %1
|
||||||
%2</translation>
|
%2</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="58"/>
|
<location filename="../SavegameWidget.cpp" line="57"/>
|
||||||
<source>SAVE %3 - %1
|
<source>SAVE %3 - %1
|
||||||
%2</source>
|
%2</source>
|
||||||
<translation>SAUVEGARDE %3 - %1
|
<translation>SAUVEGARDE %3 - %1
|
||||||
%2</translation>
|
%2</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
<location filename="../SavegameWidget.cpp" line="93"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="94"/>
|
<location filename="../SavegameWidget.cpp" line="94"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="95"/>
|
|
||||||
<source>WRONG FORMAT</source>
|
<source>WRONG FORMAT</source>
|
||||||
<translation>Format invalide</translation>
|
<translation>Format invalide</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="118"/>
|
<location filename="../SavegameWidget.cpp" line="117"/>
|
||||||
<source>UNKNOWN</source>
|
<source>UNKNOWN</source>
|
||||||
<translation>Inconnu</translation>
|
<translation>Inconnu</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="132"/>
|
<location filename="../SavegameWidget.cpp" line="131"/>
|
||||||
<source>Are you sure to delete %1 from your savegames?</source>
|
<source>Are you sure to delete %1 from your savegames?</source>
|
||||||
<translation>Supprimer %1 ?</translation>
|
<translation>Supprimer %1 ?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="145"/>
|
<location filename="../SavegameWidget.cpp" line="144"/>
|
||||||
<source>Failed at deleting %1 from your savegames</source>
|
<source>Failed at deleting %1 from your savegames</source>
|
||||||
<translation>Impossible de supprimer %1</translation>
|
<translation>Impossible de supprimer %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="209"/>
|
<location filename="../ProfileInterface.cpp" line="1106"/>
|
||||||
<source>&View</source>
|
<source>&View</source>
|
||||||
<translation>&Voir</translation>
|
<translation>&Voir</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="211"/>
|
<location filename="../ProfileInterface.cpp" line="1108"/>
|
||||||
<source>&Remove</source>
|
<source>&Remove</source>
|
||||||
<translation>&Supprimer</translation>
|
<translation>&Supprimer</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="215"/>
|
<location filename="../ProfileInterface.cpp" line="1112"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="227"/>
|
<location filename="../ProfileInterface.cpp" line="1123"/>
|
||||||
<source>&Select</source>
|
<source>&Select</source>
|
||||||
<translation>&Sélectionner</translation>
|
<translation>&Sélectionner</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="216"/>
|
<location filename="../ProfileInterface.cpp" line="1113"/>
|
||||||
<source>&Deselect</source>
|
<source>&Deselect</source>
|
||||||
<translation>&Déselectionner</translation>
|
<translation>&Déselectionner</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="217"/>
|
<location filename="../ProfileInterface.cpp" line="1114"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="228"/>
|
<location filename="../ProfileInterface.cpp" line="1124"/>
|
||||||
<source>Select &All</source>
|
<source>Select &All</source>
|
||||||
<translation>Sélectionner to&ut</translation>
|
<translation>Sélectionner to&ut</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="221"/>
|
<location filename="../ProfileInterface.cpp" line="1117"/>
|
||||||
<source>&Deselect All</source>
|
<source>&Deselect All</source>
|
||||||
<translation>&Déselectionner tout</translation>
|
<translation>&Déselectionner tout</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1050,7 +1050,7 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.ui" line="14"/>
|
<location filename="../SnapmaticEditor.ui" line="14"/>
|
||||||
<location filename="../SnapmaticEditor.ui" line="81"/>
|
<location filename="../SnapmaticEditor.ui" line="81"/>
|
||||||
<location filename="../SnapmaticEditor.cpp" line="216"/>
|
<location filename="../SnapmaticEditor.cpp" line="247"/>
|
||||||
<source>Snapmatic Properties</source>
|
<source>Snapmatic Properties</source>
|
||||||
<translation>Propriétés Snapmatic</translation>
|
<translation>Propriétés Snapmatic</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1084,7 +1084,7 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>Custom</source>
|
<source>Custom</source>
|
||||||
<translation>Personnalisé</translation>
|
<translation type="vanished">Personnalisé</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.ui" line="101"/>
|
<location filename="../SnapmaticEditor.ui" line="101"/>
|
||||||
|
@ -1098,39 +1098,80 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.ui" line="125"/>
|
<location filename="../SnapmaticEditor.ui" line="125"/>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="297"/>
|
||||||
|
<source>Snapmatic Title</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SnapmaticEditor.ui" line="140"/>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="200"/>
|
||||||
|
<source>Title: %1 (%2)</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SnapmaticEditor.ui" line="156"/>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="204"/>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="208"/>
|
||||||
|
<source>Appropriate: %1</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SnapmaticEditor.ui" line="169"/>
|
||||||
<source>Extras</source>
|
<source>Extras</source>
|
||||||
<translation>Extras</translation>
|
<translation>Extras</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.ui" line="131"/>
|
<location filename="../SnapmaticEditor.ui" line="175"/>
|
||||||
<source>Qualify as Avatar automatically at apply</source>
|
<source>Qualify as Avatar automatically at apply</source>
|
||||||
<translation>Qualifier comme Avatar</translation>
|
<translation>Qualifier comme Avatar</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.ui" line="144"/>
|
<location filename="../SnapmaticEditor.ui" line="188"/>
|
||||||
<source>Qualify as Avatar allows you to use this Snapmatic as a Social Club profile picture</source>
|
<source>Qualify as Avatar allows you to use this Snapmatic as a Social Club profile picture</source>
|
||||||
<translation>Qualifier comme Avatar permet d'utiliser cette image en tant que photo de profil sur le Social Club</translation>
|
<translation>Qualifier comme Avatar permet d'utiliser cette image en tant que photo de profil sur le Social Club</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.ui" line="194"/>
|
<location filename="../SnapmaticEditor.ui" line="238"/>
|
||||||
<source>&Apply</source>
|
<source>&Apply</source>
|
||||||
<translation>A&ppliquer</translation>
|
<translation>A&ppliquer</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.ui" line="207"/>
|
<location filename="../SnapmaticEditor.ui" line="251"/>
|
||||||
<source>&Cancel</source>
|
<source>&Cancel</source>
|
||||||
<translation>A&nnuler</translation>
|
<translation>A&nnuler</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticEditor.cpp" line="216"/>
|
<location filename="../SnapmaticEditor.cpp" line="199"/>
|
||||||
|
<source>Edit</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="204"/>
|
||||||
|
<source>Yes</source>
|
||||||
|
<comment>Yes, should work fine</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="208"/>
|
||||||
|
<source>No</source>
|
||||||
|
<comment>No, could lead to issues</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="247"/>
|
||||||
<source>Patching of Snapmatic Properties failed because of I/O Error</source>
|
<source>Patching of Snapmatic Properties failed because of I/O Error</source>
|
||||||
<translation>La modification des propriétés Snapmatic a échoué : erreur d'entrée/sortie</translation>
|
<translation>La modification des propriétés Snapmatic a échoué : erreur d'entrée/sortie</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SnapmaticEditor.cpp" line="297"/>
|
||||||
|
<source>New Snapmatic title:</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>SnapmaticPicture</name>
|
<name>SnapmaticPicture</name>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticPicture.cpp" line="349"/>
|
<location filename="../SnapmaticPicture.cpp" line="370"/>
|
||||||
<source>PHOTO - %1</source>
|
<source>PHOTO - %1</source>
|
||||||
<translation>PHOTO - %1</translation>
|
<translation>PHOTO - %1</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1179,8 +1220,8 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.ui" line="149"/>
|
<location filename="../SnapmaticWidget.ui" line="149"/>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="140"/>
|
<location filename="../SnapmaticWidget.cpp" line="150"/>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="153"/>
|
<location filename="../SnapmaticWidget.cpp" line="163"/>
|
||||||
<source>Delete picture</source>
|
<source>Delete picture</source>
|
||||||
<translation>Supprimer la photo</translation>
|
<translation>Supprimer la photo</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1190,79 +1231,79 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
<translation>Supprimer</translation>
|
<translation>Supprimer</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="140"/>
|
<location filename="../SnapmaticWidget.cpp" line="150"/>
|
||||||
<source>Are you sure to delete %1 from your Snapmatic pictures?</source>
|
<source>Are you sure to delete %1 from your Snapmatic pictures?</source>
|
||||||
<translation>Supprimer %1 ?</translation>
|
<translation>Supprimer %1 ?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="153"/>
|
<location filename="../SnapmaticWidget.cpp" line="163"/>
|
||||||
<source>Failed at deleting %1 from your Snapmatic pictures</source>
|
<source>Failed at deleting %1 from your Snapmatic pictures</source>
|
||||||
<translation>Impossible de supprimer %1</translation>
|
<translation>Impossible de supprimer %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="205"/>
|
<location filename="../ProfileInterface.cpp" line="1065"/>
|
||||||
<source>Edi&t</source>
|
<source>Edi&t</source>
|
||||||
<translation>Édi&ter</translation>
|
<translation>Édi&ter</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="208"/>
|
<location filename="../ProfileInterface.cpp" line="1068"/>
|
||||||
<source>Show &In-game</source>
|
<source>Show &In-game</source>
|
||||||
<translation>&Visible en jeu</translation>
|
<translation>&Visible en jeu</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="212"/>
|
<location filename="../ProfileInterface.cpp" line="1072"/>
|
||||||
<source>Hide &In-game</source>
|
<source>Hide &In-game</source>
|
||||||
<translation>&Invisible en jeu</translation>
|
<translation>&Invisible en jeu</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="214"/>
|
<location filename="../ProfileInterface.cpp" line="1074"/>
|
||||||
<source>&Edit Properties...</source>
|
<source>&Edit Properties...</source>
|
||||||
<translation>Modifier les &propriétés...</translation>
|
<translation>Modifier les &propriétés...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="215"/>
|
<location filename="../ProfileInterface.cpp" line="1075"/>
|
||||||
<source>&Export</source>
|
<source>&Export</source>
|
||||||
<translation>&Exporter</translation>
|
<translation>&Exporter</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="216"/>
|
<location filename="../ProfileInterface.cpp" line="1076"/>
|
||||||
<source>Export as &JPG picture...</source>
|
<source>Export as &JPG picture...</source>
|
||||||
<translation>Exporter comme image &JPG...</translation>
|
<translation>Exporter comme image &JPG...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="217"/>
|
<location filename="../ProfileInterface.cpp" line="1077"/>
|
||||||
<source>Export as &GTA Snapmatic...</source>
|
<source>Export as &GTA Snapmatic...</source>
|
||||||
<translation>Exporter comme &GTA Snapmatic...</translation>
|
<translation>Exporter comme &GTA Snapmatic...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="218"/>
|
<location filename="../ProfileInterface.cpp" line="1078"/>
|
||||||
<source>&View</source>
|
<source>&View</source>
|
||||||
<translation>&Voir</translation>
|
<translation>&Voir</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="221"/>
|
<location filename="../ProfileInterface.cpp" line="1081"/>
|
||||||
<source>&Remove</source>
|
<source>&Remove</source>
|
||||||
<translation>S&upprimer</translation>
|
<translation>S&upprimer</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="225"/>
|
<location filename="../ProfileInterface.cpp" line="1085"/>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="237"/>
|
<location filename="../ProfileInterface.cpp" line="1096"/>
|
||||||
<source>&Select</source>
|
<source>&Select</source>
|
||||||
<translation>&Sélectionner</translation>
|
<translation>&Sélectionner</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="226"/>
|
<location filename="../ProfileInterface.cpp" line="1086"/>
|
||||||
<source>&Deselect</source>
|
<source>&Deselect</source>
|
||||||
<translation>&Déselectionner</translation>
|
<translation>&Déselectionner</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="227"/>
|
<location filename="../ProfileInterface.cpp" line="1087"/>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="238"/>
|
<location filename="../ProfileInterface.cpp" line="1097"/>
|
||||||
<source>Select &All</source>
|
<source>Select &All</source>
|
||||||
<translation>Sélectionner &tout</translation>
|
<translation>Sélectionner &tout</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SnapmaticWidget.cpp" line="231"/>
|
<location filename="../ProfileInterface.cpp" line="1090"/>
|
||||||
<source>&Deselect All</source>
|
<source>&Deselect All</source>
|
||||||
<translation>&Déselectionner tout</translation>
|
<translation>&Déselectionner tout</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1271,7 +1312,7 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
<name>UserInterface</name>
|
<name>UserInterface</name>
|
||||||
<message>
|
<message>
|
||||||
<source>gta5sync - %1</source>
|
<source>gta5sync - %1</source>
|
||||||
<translation>gta5sync - %1</translation>
|
<translation type="vanished">gta5sync - %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="74"/>
|
<location filename="../UserInterface.ui" line="74"/>
|
||||||
|
@ -1315,7 +1356,7 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<source>&About gta5sync</source>
|
<source>&About gta5sync</source>
|
||||||
<translation>&À propos de gta5sync</translation>
|
<translation type="vanished">&À propos de gta5sync</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="223"/>
|
<location filename="../UserInterface.ui" line="223"/>
|
||||||
|
@ -1323,126 +1364,126 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
<translation>Ctrl+P</translation>
|
<translation>Ctrl+P</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="232"/>
|
<location filename="../UserInterface.ui" line="228"/>
|
||||||
<source>&Exit</source>
|
<source>&Exit</source>
|
||||||
<translation>&Quitter</translation>
|
<translation>&Quitter</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="235"/>
|
<location filename="../UserInterface.ui" line="231"/>
|
||||||
<source>Exit</source>
|
<source>Exit</source>
|
||||||
<translation>Quitter</translation>
|
<translation>Quitter</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="238"/>
|
<location filename="../UserInterface.ui" line="234"/>
|
||||||
<source>Ctrl+Q</source>
|
<source>Ctrl+Q</source>
|
||||||
<translation>Ctrl+Q</translation>
|
<translation>Ctrl+Q</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="243"/>
|
<location filename="../UserInterface.ui" line="239"/>
|
||||||
<source>Close &Profile</source>
|
<source>Close &Profile</source>
|
||||||
<translation>Fermer le &profil</translation>
|
<translation>Fermer le &profil</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="246"/>
|
<location filename="../UserInterface.ui" line="242"/>
|
||||||
<source>Ctrl+End</source>
|
<source>Ctrl+End</source>
|
||||||
<translation>Ctrl + Fin</translation>
|
<translation>Ctrl + Fin</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="255"/>
|
<location filename="../UserInterface.ui" line="247"/>
|
||||||
<source>&Settings</source>
|
<source>&Settings</source>
|
||||||
<translation>Paramètre&s</translation>
|
<translation>Paramètre&s</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="258"/>
|
<location filename="../UserInterface.ui" line="250"/>
|
||||||
<source>Ctrl+S</source>
|
<source>Ctrl+S</source>
|
||||||
<translation>Ctrl+S</translation>
|
<translation>Ctrl+S</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="263"/>
|
<location filename="../UserInterface.ui" line="255"/>
|
||||||
<source>Select &All</source>
|
<source>Select &All</source>
|
||||||
<translation>Sélectionner &tout</translation>
|
<translation>Sélectionner &tout</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="266"/>
|
<location filename="../UserInterface.ui" line="258"/>
|
||||||
<source>Ctrl+A</source>
|
<source>Ctrl+A</source>
|
||||||
<translation>Ctrl+A</translation>
|
<translation>Ctrl+A</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="271"/>
|
<location filename="../UserInterface.ui" line="263"/>
|
||||||
<source>&Deselect All</source>
|
<source>&Deselect All</source>
|
||||||
<translation>&Désélectionner tout</translation>
|
<translation>&Désélectionner tout</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="274"/>
|
<location filename="../UserInterface.ui" line="266"/>
|
||||||
<source>Ctrl+D</source>
|
<source>Ctrl+D</source>
|
||||||
<translation>Ctrl+D</translation>
|
<translation>Ctrl+D</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="279"/>
|
<location filename="../UserInterface.ui" line="271"/>
|
||||||
<source>&Export selected...</source>
|
<source>&Export selected...</source>
|
||||||
<translation>&Exporter la sélection...</translation>
|
<translation>&Exporter la sélection...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="282"/>
|
<location filename="../UserInterface.ui" line="274"/>
|
||||||
<source>Ctrl+E</source>
|
<source>Ctrl+E</source>
|
||||||
<translation>Ctrl+E</translation>
|
<translation>Ctrl+E</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="287"/>
|
<location filename="../UserInterface.ui" line="279"/>
|
||||||
<source>&Remove selected</source>
|
<source>&Remove selected</source>
|
||||||
<translation>&Supprimer la sélection</translation>
|
<translation>&Supprimer la sélection</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="290"/>
|
<location filename="../UserInterface.ui" line="282"/>
|
||||||
<source>Ctrl+Del</source>
|
<source>Ctrl+Del</source>
|
||||||
<translation>Ctrl+Del</translation>
|
<translation>Ctrl+Del</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="295"/>
|
<location filename="../UserInterface.ui" line="287"/>
|
||||||
<source>&Import files...</source>
|
<source>&Import files...</source>
|
||||||
<translation>&Importer...</translation>
|
<translation>&Importer...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="298"/>
|
<location filename="../UserInterface.ui" line="290"/>
|
||||||
<source>Ctrl+I</source>
|
<source>Ctrl+I</source>
|
||||||
<translation>Ctrl+I</translation>
|
<translation>Ctrl+I</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="303"/>
|
<location filename="../UserInterface.ui" line="295"/>
|
||||||
<source>&Open File...</source>
|
<source>&Open File...</source>
|
||||||
<translation>&Ouvrir...</translation>
|
<translation>&Ouvrir...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="306"/>
|
<location filename="../UserInterface.ui" line="298"/>
|
||||||
<source>Ctrl+O</source>
|
<source>Ctrl+O</source>
|
||||||
<translation>Ctrl+O</translation>
|
<translation>Ctrl+O</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="311"/>
|
<location filename="../UserInterface.ui" line="303"/>
|
||||||
<location filename="../UserInterface.cpp" line="131"/>
|
<location filename="../UserInterface.cpp" line="144"/>
|
||||||
<source>Select &GTA V Folder...</source>
|
<source>Select &GTA V Folder...</source>
|
||||||
<translation>Modifier l'emplacement de &GTA V...</translation>
|
<translation>Modifier l'emplacement de &GTA V...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="314"/>
|
<location filename="../UserInterface.ui" line="306"/>
|
||||||
<location filename="../OptionsDialog.cpp" line="444"/>
|
<location filename="../OptionsDialog.cpp" line="444"/>
|
||||||
<location filename="../UserInterface.cpp" line="80"/>
|
<location filename="../UserInterface.cpp" line="93"/>
|
||||||
<location filename="../UserInterface.cpp" line="455"/>
|
<location filename="../UserInterface.cpp" line="474"/>
|
||||||
<source>Select GTA V Folder...</source>
|
<source>Select GTA V Folder...</source>
|
||||||
<translation>Modifier l'emplacement de GTA V...</translation>
|
<translation>Modifier l'emplacement de GTA V...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="317"/>
|
<location filename="../UserInterface.ui" line="309"/>
|
||||||
<source>Ctrl+G</source>
|
<source>Ctrl+G</source>
|
||||||
<translation>Ctrl+G</translation>
|
<translation>Ctrl+G</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="322"/>
|
<location filename="../UserInterface.ui" line="314"/>
|
||||||
<source>Show In-gam&e</source>
|
<source>Show In-gam&e</source>
|
||||||
<translation>Rendre visible &en jeu</translation>
|
<translation>Rendre visible &en jeu</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="325"/>
|
<location filename="../UserInterface.ui" line="317"/>
|
||||||
<source>Shift+E</source>
|
<source>Shift+E</source>
|
||||||
<translation>Shift+E</translation>
|
<translation>Shift+E</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -1452,48 +1493,48 @@ Appuyer sur 1 pour le mode par défaut</translation>
|
||||||
<translation>&Visibilité de la sélection</translation>
|
<translation>&Visibilité de la sélection</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="330"/>
|
<location filename="../UserInterface.ui" line="322"/>
|
||||||
<source>Hi&de In-game</source>
|
<source>Hi&de In-game</source>
|
||||||
<translation>Ren&dre invisible en jeu</translation>
|
<translation>Ren&dre invisible en jeu</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="333"/>
|
<location filename="../UserInterface.ui" line="325"/>
|
||||||
<source>Shift+D</source>
|
<source>Shift+D</source>
|
||||||
<translation>Shift+D</translation>
|
<translation>Shift+D</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="20"/>
|
<location filename="../UserInterface.ui" line="20"/>
|
||||||
<location filename="../UserInterface.cpp" line="59"/>
|
<location filename="../UserInterface.cpp" line="60"/>
|
||||||
<source>%2 - %1</source>
|
<source>%2 - %1</source>
|
||||||
<translation>%2 - %1</translation>
|
<translation>%2 - %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.ui" line="220"/>
|
<location filename="../UserInterface.ui" line="220"/>
|
||||||
<location filename="../UserInterface.cpp" line="58"/>
|
<location filename="../UserInterface.cpp" line="59"/>
|
||||||
<source>&About %1</source>
|
<source>&About %1</source>
|
||||||
<translation>&À propos de %1</translation>
|
<translation>&À propos de %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.cpp" line="61"/>
|
<location filename="../UserInterface.cpp" line="62"/>
|
||||||
<location filename="../UserInterface.cpp" line="201"/>
|
<location filename="../UserInterface.cpp" line="214"/>
|
||||||
<source>Select Profile</source>
|
<source>Select Profile</source>
|
||||||
<translation>Sélectionner un profil</translation>
|
<translation>Sélectionner un profil</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.cpp" line="311"/>
|
<location filename="../UserInterface.cpp" line="330"/>
|
||||||
<source>Open File...</source>
|
<source>Open File...</source>
|
||||||
<translation>Ouvrir...</translation>
|
<translation>Ouvrir...</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.cpp" line="358"/>
|
<location filename="../UserInterface.cpp" line="377"/>
|
||||||
<location filename="../UserInterface.cpp" line="374"/>
|
<location filename="../UserInterface.cpp" line="393"/>
|
||||||
<location filename="../UserInterface.cpp" line="401"/>
|
<location filename="../UserInterface.cpp" line="420"/>
|
||||||
<location filename="../UserInterface.cpp" line="406"/>
|
<location filename="../UserInterface.cpp" line="425"/>
|
||||||
<source>Open File</source>
|
<source>Open File</source>
|
||||||
<translation>Ouvrir</translation>
|
<translation>Ouvrir</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../UserInterface.cpp" line="401"/>
|
<location filename="../UserInterface.cpp" line="420"/>
|
||||||
<source>Can't open %1 because of not valid file format</source>
|
<source>Can't open %1 because of not valid file format</source>
|
||||||
<translation>Impossible d'ouvrir %1, format invalide</translation>
|
<translation>Impossible d'ouvrir %1, format invalide</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* gta5sync GRAND THEFT AUTO V SYNC
|
* gta5sync GRAND THEFT AUTO V SYNC
|
||||||
* Copyright (C) 2016 Syping
|
* Copyright (C) 2016-2017 Syping
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -17,6 +17,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "UiModLabel.h"
|
#include "UiModLabel.h"
|
||||||
|
#include <QPaintEvent>
|
||||||
#include <QMouseEvent>
|
#include <QMouseEvent>
|
||||||
|
|
||||||
UiModLabel::UiModLabel(const QString &text, QWidget *parent) : QLabel(parent)
|
UiModLabel::UiModLabel(const QString &text, QWidget *parent) : QLabel(parent)
|
||||||
|
@ -37,6 +38,12 @@ UiModLabel::~UiModLabel()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void UiModLabel::paintEvent(QPaintEvent *ev)
|
||||||
|
{
|
||||||
|
QLabel::paintEvent(ev);
|
||||||
|
emit labelPainted();
|
||||||
|
}
|
||||||
|
|
||||||
void UiModLabel::mouseMoveEvent(QMouseEvent *ev)
|
void UiModLabel::mouseMoveEvent(QMouseEvent *ev)
|
||||||
{
|
{
|
||||||
QLabel::mouseMoveEvent(ev);
|
QLabel::mouseMoveEvent(ev);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* gta5sync GRAND THEFT AUTO V SYNC
|
* gta5sync GRAND THEFT AUTO V SYNC
|
||||||
* Copyright (C) 2016 Syping
|
* Copyright (C) 2016-2017 Syping
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -38,6 +38,7 @@ protected:
|
||||||
void mousePressEvent(QMouseEvent *ev);
|
void mousePressEvent(QMouseEvent *ev);
|
||||||
void mouseReleaseEvent(QMouseEvent *ev);
|
void mouseReleaseEvent(QMouseEvent *ev);
|
||||||
void mouseDoubleClickEvent(QMouseEvent *ev);
|
void mouseDoubleClickEvent(QMouseEvent *ev);
|
||||||
|
void paintEvent(QPaintEvent *ev);
|
||||||
void resizeEvent(QResizeEvent *ev);
|
void resizeEvent(QResizeEvent *ev);
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
@ -45,6 +46,7 @@ signals:
|
||||||
void mousePressed(Qt::MouseButton button);
|
void mousePressed(Qt::MouseButton button);
|
||||||
void mouseReleased(Qt::MouseButton button);
|
void mouseReleased(Qt::MouseButton button);
|
||||||
void mouseDoubleClicked(Qt::MouseButton button);
|
void mouseDoubleClicked(Qt::MouseButton button);
|
||||||
|
void labelPainted();
|
||||||
void resized(QSize newSize);
|
void resized(QSize newSize);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue