added OptionsDialog

This commit is contained in:
Rafael 2016-04-04 23:54:17 +02:00
parent 90e69b88a2
commit 300db91cc5
4 changed files with 93 additions and 0 deletions

32
OptionsDialog.cpp Executable file
View File

@ -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 <http://www.gnu.org/licenses/>.
*****************************************************************************/
#include "OptionsDialog.h"
#include "ui_OptionsDialog.h"
OptionsDialog::OptionsDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::OptionsDialog)
{
ui->setupUi(this);
}
OptionsDialog::~OptionsDialog()
{
delete ui;
}

40
OptionsDialog.h Executable file
View File

@ -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 <http://www.gnu.org/licenses/>.
*****************************************************************************/
#ifndef OPTIONSDIALOG_H
#define OPTIONSDIALOG_H
#include <QDialog>
namespace Ui {
class OptionsDialog;
}
class OptionsDialog : public QDialog
{
Q_OBJECT
public:
explicit OptionsDialog(QWidget *parent = 0);
~OptionsDialog();
private:
Ui::OptionsDialog *ui;
};
#endif // OPTIONSDIALOG_H

18
OptionsDialog.ui Executable file
View File

@ -0,0 +1,18 @@
<ui version="4.0">
<class>OptionsDialog</class>
<widget class="QDialog" name="OptionsDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
</widget>
<resources/>
<connections/>
</ui>

View File

@ -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 \