File indexing completed on 2024-04-14 05:38:47

0001 /*******************************************************************************
0002  * Copyright (C) 2008-2013 Konstantinos Smanis <konstantinos.smanis@gmail.com> *
0003  *                                                                             *
0004  * This program is free software: you can redistribute it and/or modify it     *
0005  * under the terms of the GNU General Public License as published by the Free  *
0006  * Software Foundation, either version 3 of the License, or (at your option)   *
0007  * any later version.                                                          *
0008  *                                                                             *
0009  * This program is distributed in the hope that it will be useful, but WITHOUT *
0010  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or       *
0011  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for    *
0012  * more details.                                                               *
0013  *                                                                             *
0014  * You should have received a copy of the GNU General Public License along     *
0015  * with this program. If not, see <http://www.gnu.org/licenses/>.              *
0016  *******************************************************************************/
0017 
0018 #ifndef CONVERTDLG_H
0019 #define CONVERTDLG_H
0020 
0021 //Qt
0022 #include <QDialog>
0023 
0024 //Ui
0025 namespace Ui
0026 {
0027     class ConvertDialog;
0028 }
0029 
0030 class ConvertDialog : public QDialog
0031 {
0032     Q_OBJECT
0033 public:
0034     explicit ConvertDialog(QWidget *parent = nullptr);
0035     virtual ~ConvertDialog();
0036 
0037     void setResolution(int width, int height);
0038 private Q_SLOTS:
0039     void slotAccepted();
0040 Q_SIGNALS:
0041     void splashImageCreated(const QString &splashImage);
0042 private:
0043     Ui::ConvertDialog *ui;
0044 };
0045 
0046 #endif