From 300db91cc5db9cfe61ccdc650565b96360518939 Mon Sep 17 00:00:00 2001 From: Rafael Date: Mon, 4 Apr 2016 23:54:17 +0200 Subject: [PATCH] added OptionsDialog --- OptionsDialog.cpp | 32 ++++++++++++++++++++++++++++++++ OptionsDialog.h | 40 ++++++++++++++++++++++++++++++++++++++++ OptionsDialog.ui | 18 ++++++++++++++++++ gta5sync.pro | 3 +++ 4 files changed, 93 insertions(+) create mode 100755 OptionsDialog.cpp create mode 100755 OptionsDialog.h create mode 100755 OptionsDialog.ui diff --git a/OptionsDialog.cpp b/OptionsDialog.cpp new file mode 100755 index 0000000..0d5eeb2 --- /dev/null +++ b/OptionsDialog.cpp @@ -0,0 +1,32 @@ +/***************************************************************************** +* gta5sync GRAND THEFT AUTO V SYNC +* Copyright (C) 2016 Syping +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see . +*****************************************************************************/ + +#include "OptionsDialog.h" +#include "ui_OptionsDialog.h" + +OptionsDialog::OptionsDialog(QWidget *parent) : + QDialog(parent), + ui(new Ui::OptionsDialog) +{ + ui->setupUi(this); +} + +OptionsDialog::~OptionsDialog() +{ + delete ui; +} diff --git a/OptionsDialog.h b/OptionsDialog.h new file mode 100755 index 0000000..f9b363a --- /dev/null +++ b/OptionsDialog.h @@ -0,0 +1,40 @@ +/***************************************************************************** +* gta5sync GRAND THEFT AUTO V SYNC +* Copyright (C) 2016 Syping +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see . +*****************************************************************************/ + +#ifndef OPTIONSDIALOG_H +#define OPTIONSDIALOG_H + +#include + +namespace Ui { +class OptionsDialog; +} + +class OptionsDialog : public QDialog +{ + Q_OBJECT + +public: + explicit OptionsDialog(QWidget *parent = 0); + ~OptionsDialog(); + +private: + Ui::OptionsDialog *ui; +}; + +#endif // OPTIONSDIALOG_H diff --git a/OptionsDialog.ui b/OptionsDialog.ui new file mode 100755 index 0000000..f22a4f7 --- /dev/null +++ b/OptionsDialog.ui @@ -0,0 +1,18 @@ + + OptionsDialog + + + + 0 + 0 + 400 + 300 + + + + Dialog + + + + + diff --git a/gta5sync.pro b/gta5sync.pro index 4a03a45..2ba73fd 100755 --- a/gta5sync.pro +++ b/gta5sync.pro @@ -29,6 +29,7 @@ SOURCES += main.cpp \ DatabaseThread.cpp \ ExportThread.cpp \ IconLoader.cpp \ + OptionsDialog.cpp \ PictureCopy.cpp \ PictureDialog.cpp \ PictureExport.cpp \ @@ -54,6 +55,7 @@ HEADERS += \ DatabaseThread.h \ ExportThread.h \ IconLoader.h \ + OptionsDialog.h \ PictureCopy.h \ PictureDialog.h \ PictureExport.h \ @@ -75,6 +77,7 @@ HEADERS += \ FORMS += \ AboutDialog.ui \ + OptionsDialog.ui \ PictureDialog.ui \ ProfileInterface.ui \ SavegameDialog.ui \