Beispiel #1
0
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

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

    return a.exec();
}
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();
}
Beispiel #3
0
void MainWindow::KeyPressShow()
{
    KeyPress *keyPress =new KeyPress();
    keyPress->show();
}