1#ifndef BALL_VIEW_WIDGETS_HOTKEY_TABLE_H
2#define BALL_VIEW_WIDGETS_HOTKEY_TABLE_H
4#ifndef BALL_VIEW_KERNEL_COMMON_H
8#ifndef BALL_VIEW_KERNEL_PREFERENCESENTRY
12#ifndef BALL_VIEW_WIDGETS_PYWIDGET_H
16#include <QtWidgets/QTableWidget>
17#include <QtWidgets/QItemDelegate>
31 const QModelIndex &index)
const;
37 const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
41 QStringList sl_modifier_;
93 QStringList modifier_, keys_;
QWidget * createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
ComboBoxDelegate(QObject *parent=0)
void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const
void setEditorData(QWidget *editor, const QModelIndex &index) const
virtual void appendHotkey(const String &modif, const String &F_key, const String &command, String comment="")
std::list< Hotkey > getContent() const
HotkeyTable(QWidget *parent=0, const char *name="PythonSettings")
virtual bool setValue(const String &value)
Overload this in derived classes!
void setContent(const std::list< Hotkey > &hotkeys)
virtual bool getValue(String &value) const
Overload this in derived classes!
virtual void removeSelection()
virtual void addEmptyRow()