ScriptingLangDialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002     File                 : ScriptingLangDialog.h
00003     Project              : QtiPlot
00004 --------------------------------------------------------------------
00005     Copyright            : (C) 2006 by Knut Franke, Ion Vasilief
00006     Email (use @ for *)  : knut.franke*gmx.de, ion_vasilief*yahoo.fr
00007     Description          : Dialog for changing the current scripting
00008                            language
00009 
00010  ***************************************************************************/
00011 
00012 /***************************************************************************
00013  *                                                                         *
00014  *  This program is free software; you can redistribute it and/or modify   *
00015  *  it under the terms of the GNU General Public License as published by   *
00016  *  the Free Software Foundation; either version 2 of the License, or      *
00017  *  (at your option) any later version.                                    *
00018  *                                                                         *
00019  *  This program is distributed in the hope that it will be useful,        *
00020  *  but WITHOUT ANY WARRANTY; without even the implied warranty of         *
00021  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
00022  *  GNU General Public License for more details.                           *
00023  *                                                                         *
00024  *   You should have received a copy of the GNU General Public License     *
00025  *   along with this program; if not, write to the Free Software           *
00026  *   Foundation, Inc., 51 Franklin Street, Fifth Floor,                    *
00027  *   Boston, MA  02110-1301  USA                                           *
00028  *                                                                         *
00029  ***************************************************************************/
00030 #ifndef SCRIPTING_LANG_DIALOG_H
00031 #define SCRIPTING_LANG_DIALOG_H
00032 
00033 #include "ScriptingEnv.h"
00034 #include "Script.h"
00035 
00036 #include <QDialog>
00037 
00038 class ApplicationWindow;
00039 class QListWidget;
00040 class QPushButton;
00041 
00042 class ScriptingLangDialog: public QDialog, public scripted
00043 {
00044     Q_OBJECT
00045 
00046     public:
00047         ScriptingLangDialog(ScriptingEnv *env, ApplicationWindow *parent, Qt::WFlags fl = 0);
00048 
00049     public slots:
00050         void updateLangList();
00051         void accept();
00052 
00053     private:
00054         QListWidget *langList;
00055         QPushButton *btnOK, *btnCancel;
00056 };
00057 
00058 #endif
00059 

Generated by  doxygen 1.6.2