23 #if ! defined (octave_shortcut_manager_h) 24 #define octave_shortcut_manager_h 1 27 #include <QTreeWidget> 126 void init (
const QString&,
const QString&,
const QKeySequence&);
~shortcut_t(void)=default
void do_fill_treewidget(QTreeWidget *tree_view)
void shortcut_dialog_set_default()
static void cleanup_instance(void)
void do_set_shortcut(QAction *action, const QString &key)
QKeySequence m_default_sc
static void import_export(int action)
QHash< int, QTreeWidgetItem * > m_index_item_hash
shortcut_t(const shortcut_t &x)
QHash< QString, int > m_action_hash
bool do_import_export(int action)
virtual void keyPressEvent(QKeyEvent *e)
static void fill_treewidget(QTreeWidget *tree_view)
QHash< QString, int > m_shortcut_hash
enter_shortcut * m_edit_actual
static shortcut_manager * instance
shortcut_manager & operator=(const shortcut_manager &)=delete
void do_write_shortcuts(QSettings *settings, bool closing)
void handle_direct_shortcut(int)
static void init_data(void)
static void set_shortcut(QAction *action, const QString &key)
void init(const QString &, const QString &, const QKeySequence &)
void import_shortcuts(QSettings *settings)
QHash< QTreeWidgetItem *, int > m_item_index_hash
static bool instance_ok(void)
QHash< QString, QTreeWidgetItem * > m_level_hash
void shortcut_dialog(int)
void shortcut_dialog_finished(int)
enter_shortcut(QWidget *p=nullptr)
QTreeWidgetItem * m_tree_item
static void write_shortcuts(QSettings *settings, bool closing)
~shortcut_manager(void)=default
~enter_shortcut(void)=default
void handle_double_clicked(QTreeWidgetItem *, int)
shortcut_t & operator=(const shortcut_t &x)
bool overwrite_all_shortcuts(void)
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE * x