added OptionsDialog
This commit is contained in:
parent
90e69b88a2
commit
300db91cc5
4 changed files with 93 additions and 0 deletions
32
OptionsDialog.cpp
Executable file
32
OptionsDialog.cpp
Executable 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
40
OptionsDialog.h
Executable 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
18
OptionsDialog.ui
Executable 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>
|
|
@ -29,6 +29,7 @@ SOURCES += main.cpp \
|
||||||
DatabaseThread.cpp \
|
DatabaseThread.cpp \
|
||||||
ExportThread.cpp \
|
ExportThread.cpp \
|
||||||
IconLoader.cpp \
|
IconLoader.cpp \
|
||||||
|
OptionsDialog.cpp \
|
||||||
PictureCopy.cpp \
|
PictureCopy.cpp \
|
||||||
PictureDialog.cpp \
|
PictureDialog.cpp \
|
||||||
PictureExport.cpp \
|
PictureExport.cpp \
|
||||||
|
@ -54,6 +55,7 @@ HEADERS += \
|
||||||
DatabaseThread.h \
|
DatabaseThread.h \
|
||||||
ExportThread.h \
|
ExportThread.h \
|
||||||
IconLoader.h \
|
IconLoader.h \
|
||||||
|
OptionsDialog.h \
|
||||||
PictureCopy.h \
|
PictureCopy.h \
|
||||||
PictureDialog.h \
|
PictureDialog.h \
|
||||||
PictureExport.h \
|
PictureExport.h \
|
||||||
|
@ -75,6 +77,7 @@ HEADERS += \
|
||||||
|
|
||||||
FORMS += \
|
FORMS += \
|
||||||
AboutDialog.ui \
|
AboutDialog.ui \
|
||||||
|
OptionsDialog.ui \
|
||||||
PictureDialog.ui \
|
PictureDialog.ui \
|
||||||
ProfileInterface.ui \
|
ProfileInterface.ui \
|
||||||
SavegameDialog.ui \
|
SavegameDialog.ui \
|
||||||
|
|
Loading…
Reference in a new issue