Loading...
Searching...
No Matches
shortcutDialog.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_VIEW_DIALOGS_SHORTCUTDIALOG_H
#define BALL_VIEW_DIALOGS_SHORTCUTDIALOG_H
#ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
# include <BALL/VIEW/KERNEL/preferencesEntry.h>
#endif
#ifndef BALL_VIEW_KERNEL_SHORTCUTREGISTRY_H
# include <BALL/VIEW/KERNEL/shortcutRegistry.h>
#endif
#ifndef BALL_VIEW_KERNEL_MODULARWIDGET_H
# include <BALL/VIEW/KERNEL/modularWidget.h>
#endif
#include <BALL/VIEW/UIC/ui_shortcutDialog.h>
namespace BALL
{
namespace VIEW
{
class MainControl;
class BALL_VIEW_EXPORT ShortcutDialog
: public QWidget,
public Ui_ShortcutDialogData,
public ModularWidget,
public PreferencesEntry
{
// macro needed for Qt's slot mechanism:
Q_OBJECT
BALL_EMBEDDABLE(ShortcutDialog,ModularWidget)
public:
ShortcutDialog(QWidget* parent = NULL, const char* name = "ShortcutDialog", Qt::WindowFlags fl = 0 );
virtual ~ShortcutDialog();
virtual void initializeWidget(MainControl& main_control);
public Q_SLOTS:
virtual void searchTextChanged(QString filter);
protected Q_SLOTS:
virtual void browseImportFile_();
virtual void browseExportFile_();
virtual void shortcutChanged_();
void loadPredefinedShortcuts_(QString entry);
void loadShortcutsFromFile_(const String& filename);
};
}
}
#endif //BALL_VIEW_DIALOGS_SHORTCUTDIALOG_H
BALL_VIEW_EXPORT
#define BALL_VIEW_EXPORT
Definition COMMON/global.h:52
BALL::String
Definition string.h:57
BALL::VIEW::MainControl
Definition mainControl.h:118
BALL::VIEW::ModularWidget::ModularWidget
ModularWidget(const char *name="<ModularWidget>")
BALL::VIEW::PreferencesEntry::PreferencesEntry
PreferencesEntry()
BALL::VIEW::ShortcutDialog::browseImportFile_
virtual void browseImportFile_()
BALL::VIEW::ShortcutDialog::browseExportFile_
virtual void browseExportFile_()
BALL::VIEW::ShortcutDialog::searchTextChanged
virtual void searchTextChanged(QString filter)
BALL::VIEW::ShortcutDialog::~ShortcutDialog
virtual ~ShortcutDialog()
Destructor.
BALL::VIEW::ShortcutDialog::initializeWidget
virtual void initializeWidget(MainControl &main_control)
BALL::VIEW::ShortcutDialog::loadPredefinedShortcuts_
void loadPredefinedShortcuts_(QString entry)
BALL::VIEW::ShortcutDialog::ShortcutDialog
ShortcutDialog(QWidget *parent=NULL, const char *name="ShortcutDialog", Qt::WindowFlags fl=0)
Constructor.
BALL::VIEW::ShortcutDialog::loadShortcutsFromFile_
void loadShortcutsFromFile_(const String &filename)
BALL::VIEW::ShortcutDialog::shortcutChanged_
virtual void shortcutChanged_()
QWidget
BALL_EMBEDDABLE
#define BALL_EMBEDDABLE(TYPE, BASE)
Definition embeddable.h:31
modularWidget.h
BALL::VIEW
Definition constraints.h:35
BALL
Definition constants.h:13
preferencesEntry.h
shortcutRegistry.h