mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 04:33:38 -04:00
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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user