#ifndef NIMFORM_H #define NIMFORM_H #include "stapeldisplay.h" #include class NimForm: public QMainWindow { Q_OBJECT public: NimForm(); ~NimForm(); QPopupMenu *optionsMenu; public slots: void stapelMin( int, int ); //stapelnummer, aantal protected: //virtual void closeEvent( QCloseEvent * ); private slots: void fileNew(); void fileQuit(); void helpHelp(); void helpAbout(); private: int stapelAantal; int stokjesMin; int stokjesMax; int niveauComputer; StapelGroupBox *stapelBox[20]; void clearBord(int stapelAantalLocal, int stokjesMinLocal, int stokjesMaxLocal ); void createBord(int stapelAantalLocal, int stokjesMinLocal, int stokjesMaxLocal ); int getStapelAantal( int stapelNumber ); QPopupMenu *fileMenu; QPopupMenu *helpMenu; }; #endif