Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |

# main.cpp Example File
tutorial/t13/main.cpp

        /****************************************************************
        **
        ** Qt tutorial 13
        **
        ****************************************************************/

        #include <QApplication>

        #include "gameboard.h"

        int main(int argc, char *argv[])
        {
            QApplication app(argc, argv);
            GameBoard board;
            board.setGeometry(100, 100, 500, 355);
            app.setMainWidget(&board);
            board.show();
            return app.exec();
        }