BALL
1.4.79
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
shortcutDialog.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_SHORTCUTDIALOG_H
6
#define BALL_VIEW_DIALOGS_SHORTCUTDIALOG_H
7
8
#ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
9
# include <
BALL/VIEW/KERNEL/preferencesEntry.h
>
10
#endif
11
12
#ifndef BALL_VIEW_KERNEL_SHORTCUTREGISTRY_H
13
# include <
BALL/VIEW/KERNEL/shortcutRegistry.h
>
14
#endif
15
16
#ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
17
# include <
BALL/VIEW/KERNEL/modularWidget.h
>
18
#endif
19
20
#include <BALL/VIEW/UIC/ui_shortcutDialog.h>
21
22
namespace
BALL
23
{
24
namespace
VIEW
25
{
26
class
MainControl;
27
31
class
BALL_VIEW_EXPORT
ShortcutDialog
32
:
public
QWidget
,
33
public
Ui_ShortcutDialogData,
34
public
ModularWidget
,
35
public
PreferencesEntry
36
{
37
// macro needed for Qt's slot mechanism:
38
Q_OBJECT
39
40
BALL_EMBEDDABLE
(
ShortcutDialog
,
ModularWidget
)
41
42
public
:
43
45
ShortcutDialog
(
QWidget
* parent = NULL,
const
char
* name =
"ShortcutDialog"
, Qt::WFlags fl = 0 );
46
48
virtual
~
ShortcutDialog
();
49
50
56
virtual
void
initializeWidget(
MainControl
& main_control);
57
58
public
slots:
59
virtual
void
searchTextChanged(QString filter);
60
61
protected
slots:
62
virtual
void
browseImportFile_();
63
virtual
void
browseExportFile_();
64
65
virtual
void
shortcutChanged_();
66
67
void
loadPredefinedShortcuts_(QString entry);
68
void
loadShortcutsFromFile_(
const
String
& filename);
69
};
70
71
}
72
}
73
74
#endif //BALL_VIEW_DIALOGS_SHORTCUTDIALOG_H
75
BALL::VIEW::MainControl
Definition:
mainControl.h:114
BALL::String
Definition:
string.h:61
QWidget
modularWidget.h
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition:
COMMON/global.h:52
BALL::VIEW::ModularWidget
Definition:
modularWidget.h:61
BALL_EMBEDDABLE
#define BALL_EMBEDDABLE(TYPE, BASE)
Definition:
embeddable.h:31
BALL::VIEW::ShortcutDialog
Definition:
shortcutDialog.h:31
preferencesEntry.h
BALL::VIEW::PreferencesEntry
Definition:
preferencesEntry.h:68
shortcutRegistry.h
Generated by
1.8.7