SciDAVis
1.D4
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
scidavis
src
ScriptingLangDialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
File : ScriptingLangDialog.h
3
Project : SciDAVis
4
--------------------------------------------------------------------
5
Copyright : (C) 2006 by Knut Franke, Ion Vasilief
6
Email (use @ for *) : knut.franke*gmx.de, ion_vasilief*yahoo.fr
7
Description : Dialog for changing the current scripting
8
language
9
10
***************************************************************************/
11
12
/***************************************************************************
13
* *
14
* This program is free software; you can redistribute it and/or modify *
15
* it under the terms of the GNU General Public License as published by *
16
* the Free Software Foundation; either version 2 of the License, or *
17
* (at your option) any later version. *
18
* *
19
* This program is distributed in the hope that it will be useful, *
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
22
* GNU General Public License for more details. *
23
* *
24
* You should have received a copy of the GNU General Public License *
25
* along with this program; if not, write to the Free Software *
26
* Foundation, Inc., 51 Franklin Street, Fifth Floor, *
27
* Boston, MA 02110-1301 USA *
28
* *
29
***************************************************************************/
30
#ifndef SCRIPTING_LANG_DIALOG_H
31
#define SCRIPTING_LANG_DIALOG_H
32
33
#include "
ScriptingEnv.h
"
34
#include "
Script.h
"
35
36
#include <QDialog>
37
38
class
ApplicationWindow
;
39
class
QListWidget;
40
class
QPushButton;
41
42
class
ScriptingLangDialog
:
public
QDialog,
public
scripted
43
{
44
Q_OBJECT
45
46
public
:
47
ScriptingLangDialog
(
ScriptingEnv
*env,
ApplicationWindow
*parent, Qt::WFlags fl = 0);
48
49
public
slots:
50
void
updateLangList
();
51
void
accept
();
52
53
private
:
54
QListWidget *
langList
;
55
QPushButton *
btnOK
, *
btnCancel
;
56
};
57
58
#endif
59
Generated by
1.8.1