Exemplo n.º 1
0
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    KeyPress *keyPress = new KeyPress();
    keyPress->show();

    return a.exec();
}
Exemplo n.º 2
0
int main(int argc, char *argv[]) {

    QApplication app(argc, argv);

    KeyPress window;

    window.resize(250, 150);
    window.setWindowTitle("Key press");
    window.show();

    return app.exec();
}
Exemplo n.º 3
0
void MainWindow::KeyPressShow()
{
    KeyPress *keyPress =new KeyPress();
    keyPress->show();
}