Copy the built-in key bindings into a new keytab file, install it and make it the default key bindings. The built-in one is still there at the moment. Reorganise the profile edit dialog, put the Scrolling page before the Keyboard Setup page since I expect it to be used more frequently. Add widgets for a not-yet-implemented test area to the key bindings editor.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=676102
This commit is contained in:
Robert Knight
2007-06-16 00:54:41 +00:00
parent bf48ede570
commit 649ac01268
10 changed files with 211 additions and 121 deletions

View File

@@ -48,6 +48,10 @@ KeyBindingEditor::KeyBindingEditor(QWidget* parent)
_ui->keyBindingTable->setHorizontalHeaderLabels(labels);
_ui->keyBindingTable->horizontalHeader()->setStretchLastSection(true);
_ui->keyBindingTable->verticalHeader()->hide();
// test area
connect( _ui->testAreaInputEdit , SIGNAL(textChanged(const QString&)) , this ,
SLOT(updateTestAreaOutput(const QString&)) );
}
KeyBindingEditor::~KeyBindingEditor()
@@ -55,6 +59,13 @@ KeyBindingEditor::~KeyBindingEditor()
delete _ui;
}
void KeyBindingEditor::updateTestAreaOutput(const QString& input)
{
// TODO : Run 'input' text through the keyboard translator
}
void KeyBindingEditor::setDescription(const QString& newDescription)
{
if ( description() != newDescription )