mitsuba/src/qtgui/importdlg.h

48 lines
1.3 KiB
C
Raw Normal View History

/*
This file is part of Mitsuba, a physically based rendering system.
Copyright (c) 2007-2010 by Wenzel Jakob and others.
Mitsuba is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License Version 3
as published by the Free Software Foundation.
Mitsuba 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/>.
*/
2010-08-12 20:36:51 +08:00
#if !defined(__IMPORTDLG_H)
#define __IMPORTDLG_H
#include "common.h"
namespace Ui {
class ImportDialog;
}
class ImportDialog : public QDialog {
Q_OBJECT
public:
2010-08-27 15:45:33 +08:00
ImportDialog(QWidget *parent, FileResolver *resolver);
2010-08-12 20:36:51 +08:00
~ImportDialog();
public slots:
void accept();
protected slots:
void on_inputBrowse_clicked(bool checked);
void on_directoryBrowse_clicked(bool checked);
void on_adjustmentBrowse_clicked(bool checked);
void refresh();
2010-08-12 20:36:51 +08:00
protected:
void changeEvent(QEvent *e);
private:
Ui::ImportDialog *ui;
2010-08-27 15:45:33 +08:00
ref<FileResolver> m_resolver;
2010-08-12 20:36:51 +08:00
};
#endif // __IMPORTDLG_H