mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-10 01:58:44 -04:00
All UI files are now located in src/gui/Forms and have been renamed. Old classes using some of the forms (AboutDialog, ExportProjectDialog) have been adapted to instantiate Ui::* instead of inheriting from it.
60 lines
1.6 KiB
C++
60 lines
1.6 KiB
C++
/*
|
|
* ExportProjectDialog.h - declaration of class ExportProjectDialog which
|
|
* offers options for exporting project
|
|
*
|
|
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
|
*
|
|
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
|
*
|
|
* 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 2 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 (see COPYING); if not, write to the
|
|
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
* Boston, MA 02110-1301 USA.
|
|
*
|
|
*/
|
|
|
|
#ifndef _EXPORT_PROJECT_DIALOG_H
|
|
#define _EXPORT_PROJECT_DIALOG_H
|
|
|
|
#include <QtGui/QDialog>
|
|
|
|
namespace Ui { class ExportProjectDialog; }
|
|
class ProjectRenderer;
|
|
|
|
class ExportProjectDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
ExportProjectDialog( const QString & _file_name, QWidget * _parent );
|
|
virtual ~ExportProjectDialog();
|
|
|
|
|
|
protected:
|
|
virtual void reject();
|
|
virtual void closeEvent( QCloseEvent * _ce );
|
|
|
|
|
|
private slots:
|
|
void startBtnClicked();
|
|
void updateTitleBar( int );
|
|
|
|
|
|
private:
|
|
Ui::ExportProjectDialog * ui;
|
|
QString m_fileName;
|
|
ProjectRenderer * m_renderer;
|
|
|
|
} ;
|
|
|
|
#endif
|