Package org.kde.qt

Examples of org.kde.qt.QKeySequence


  public MenuBar(QWidget arg0, String arg1) {
    //super(arg0, arg1);
   
    QPopupMenu file = new QPopupMenu(arg0);
    file.insertItem("E&xit", qApp(), SLOT("quit()"), new QKeySequence(CTRL
        + Key_Q));

    QPopupMenu tools = new QPopupMenu(arg0);
    tools.insertItem("Attach to Project", arg0, SLOT("attachToProject()"),
        new QKeySequence(CTRL + Key_W));
    tools.insertItem("Account manager", arg0, SLOT("accountManager()"), new QKeySequence(
        CTRL + Key_A));
    QPopupMenu activity = new QPopupMenu(arg0);
    activity.insertItem("Run always", arg0, SLOT("runAlways()"));
    activity.insertItem("Run based on preferences", arg0, SLOT("runBasedOnPreferences()"));
    activity.insertItem("Suspend", arg0, SLOT("suspend()"));
View Full Code Here

TOP

Related Classes of org.kde.qt.QKeySequence

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.