Scientific Calculator application in Qt

  • Hi All,

    Iam developing scientific calculator.

    I want to know how to handle my calculator to get input from my keyboard, including Ctrl+C and Ctrl+V also just like in windows calculator.


  • handle? QKeySequence() class. To work with that use QAction() class as in menu (look for example in MainWindow/Menu Example)...

  • You can use it , for example :

    void MainWindow::on_actionCopy_triggered()

    [EDIT: code formatting, please wrap in @-tags, Volker]

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.