<table><tr><td style="">ahmadsamir created this revision.<br />ahmadsamir added a reviewer: Konsole.<br />Restricted Application added a project: Konsole.<br />Restricted Application added a subscriber: konsole-devel.<br />ahmadsamir requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12981">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Change updateKeyBindingsList() to select the last edited keybindings scheme after closing the editor dialog</li>
<li class="remarkup-list-item">Add a tooltip showing the path of each keybinding scheme, this should lessen the confusion when the scheme description and the file name of the .keytab file are different</li>
<li class="remarkup-list-item">Add a button to the Keyboard tab to reset a scheme to its default values, this is only applicable for schemes that exist in both system-wide and user specific locations</li>
<li class="remarkup-list-item">Move a lot of the construction of the keybinding editor widgets from EditProfileDialog to  KeyBindingEditor</li>
<li class="remarkup-list-item">Change the wording from "key bindings list" to "key bindings scheme" to differentiate between a keyboard translator "scheme" and the key bindings "list" on the Keyboard tab</li>
</ul>

<p>KeyBindingEditor:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Make the KeyBindingEditor a QDialog and set Qt::WA_DeleteOnClose</li>
<li class="remarkup-list-item">Add a QLineEdit to show only the rows that have strings matching the text entered in the line edit box</li>
<li class="remarkup-list-item">Reimplement sizeHint() to make the dialog slightly smaller than the Edit Profile dialog, for better visibility of the entries</li>
</ul>

<p>KeyboardTranslatorManager:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Make findTranslatorPath() const and public</li>
<li class="remarkup-list-item">Make allTranslators() return type const</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Editing a key bindings scheme works and closing the dialog selects the edited scheme</li>
<li class="remarkup-list-item">Creating a new scheme works as before</li>
<li class="remarkup-list-item">"Defaults" button works for system-wide schemes if they were previously edited and saved under the user's home dir</li>
<li class="remarkup-list-item">Remove button is only enabled for schemes under the user's home dir</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>BRANCH</strong><div><div>keybindings-editor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12981">https://phabricator.kde.org/D12981</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/EditProfileDialog.cpp<br />
src/EditProfileDialog.h<br />
src/EditProfileDialog.ui<br />
src/KeyBindingEditor.cpp<br />
src/KeyBindingEditor.h<br />
src/KeyBindingEditor.ui<br />
src/KeyboardTranslatorManager.cpp<br />
src/KeyboardTranslatorManager.h</div></div></div><br /><div><strong>To: </strong>ahmadsamir, Konsole<br /><strong>Cc: </strong>konsole-devel, Konsole, herrold, ngraham, maximilianocuria, hindenburg<br /></div>