BALL
1.4.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
VIEW
DIALOGS
pythonSettings.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
5
#ifndef BALL_VIEW_DIALOGS_PYTHONSETTINGS_H
6
#define BALL_VIEW_DIALOGS_PYTHONSETTINGS_H
7
8
#ifndef BALL_COMMON_GLOBAL_H
9
# include <
BALL/COMMON/global.h
>
10
#endif
11
12
#ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
13
# include <
BALL/VIEW/KERNEL/preferencesEntry.h
>
14
#endif
15
16
#ifndef BALL_VIEW_WIDGETS_PYWIDGET_H
17
# include <
BALL/VIEW/WIDGETS/pyWidget.h
>
18
#endif
19
20
#include <BALL/VIEW/UIC/ui_pythonSettings.h>
21
22
#include <QtGui/QWidget>
23
#include <QtGui/QFont>
24
25
namespace
BALL
26
{
27
namespace
VIEW
28
{
34
class
BALL_VIEW_EXPORT
PythonSettings
35
:
public
QWidget
,
36
public
Ui_PythonSettingsData,
37
public
PreferencesEntry
38
{
39
Q_OBJECT
40
41
public
:
42
44
PythonSettings
(
QWidget
* parent = 0,
const
char
* name = 0);
45
47
~PythonSettings
() {}
48
50
QFont
getEditorFont
()
const
{
return
font_;}
51
53
void
setFilename(
const
String
& filename);
54
56
String
getFilename()
const
;
57
59
const
std::list<Hotkey> getContent()
const
;
60
62
void
setContent(
const
std::list<Hotkey>& hotkeys);
63
65
void
writePreferenceEntries(
INIFile
& inifile);
66
68
void
readPreferenceEntries(
const
INIFile
& inifile);
69
70
public
slots:
71
73
void
fileSelected();
74
76
void
clearStartupScript();
77
79
virtual
void
rowSelected();
80
82
void
selectFont();
83
84
protected
:
85
86
QFont
font_
;
87
};
88
} }
89
90
#endif
Generated by
1.8.3.1