Implemention of global shortcuts

Showing 1-1 of 1 messages
Implemention of global shortcuts Aaron Lewis 3/1/12 7:32 PM
Hi Guys,
        I've made the shortcut editor available now

        * Add new shortcut     (Right click)
        * Remove selected ones (Right click)
        * Reset changes                   (Right click)

        Settings will be saved to ~/.razor/razor-globalaccel on destruction
        of that widget.

        Syntax:  four field separated by "|"
        * Enabled or not ( 0 disabled | 1 enabled )
    * Action name ( QString::toUtf8::toBase64 )
        * Shortcut Key ( QString )
        * Command  ( QString::toUtf8::toBase64 )

        ------------------------------------------

        But I'm having some trouble integrating this withe
        razor-session/config ,

        I checkd sessionconfigwindow.ui , I'm not sure how the pages of
        stackedwidget was added , for now I use:

    new QListWidgetItem(XdgIcon::fromTheme("preferences-desktop-keyboard.png"), tr("Keyboard Shortcuts"), listWidget);
        stackedWidget->addWidget (new RazorAccelEditor (this));

        Can anyone help me correct this , the newly add cpp file / header
        was attached , thanks !

        ------------------------------------------

        I'll move on to the daemon that reads the configuration ASAP.

--
Best Regards,
Aaron Lewis - PGP: 0xDFE6C29E ( http://pgp.mit.edu/ )
Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E