]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiPrefs.cpp
PrefShortcuts: add a simple shortcut dialog (does nothing now), adjust prefShortcuts...
[features.git] / src / frontends / qt4 / GuiPrefs.cpp
index eeb370c6bfe1c04e306e8387a5b239b011bf3f12..60a22363a96976141dcc86ba5452d89ef1c8b13f 100644 (file)
@@ -1698,6 +1698,8 @@ PrefShortcuts::PrefShortcuts(GuiPreferences * form, QWidget * parent)
                this, SLOT(select_bind()));
        connect(bindFileED, SIGNAL(textChanged(const QString &)),
                this, SIGNAL(changed()));
+       
+       shortcut_ = new GuiShortcutDialog(this);
 }
 
 
@@ -1793,6 +1795,32 @@ void PrefShortcuts::select_bind()
 }
 
 
+void PrefShortcuts::on_newPB_pressed()
+{
+       // FIXME
+       shortcut_->exec();
+}
+
+
+void PrefShortcuts::on_modifyPB_pressed()
+{
+       // FIXME
+       shortcut_->exec();
+}
+
+
+void PrefShortcuts::on_removePB_pressed()
+{
+       //
+}
+
+
+void PrefShortcuts::on_searchPB_pressed()
+{
+       //
+}
+
+
 PrefIdentity::PrefIdentity(QWidget * parent)
        : PrefModule(_("Identity"), 0, parent)
 {