source: liacs/pm/qt-nim2/nimform.h@ 86

Last change on this file since 86 was 2, checked in by Rick van der Zwet, 15 years ago

Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)

  • Property svn:executable set to *
File size: 832 bytes
Line 
1#ifndef NIMFORM_H
2#define NIMFORM_H
3
4#include "stapeldisplay.h"
5
6#include <qmainwindow.h>
7
8class NimForm: public QMainWindow
9{
10 Q_OBJECT
11public:
12 NimForm();
13 ~NimForm();
14
15 QPopupMenu *optionsMenu;
16
17
18 public slots:
19 void stapelMin( int, int ); //stapelnummer, aantal
20
21 protected:
22 //virtual void closeEvent( QCloseEvent * );
23
24 private slots:
25 void fileNew();
26 void fileQuit();
27 void helpHelp();
28 void helpAbout();
29 private:
30 int stapelAantal;
31 int stokjesMin;
32 int stokjesMax;
33 int niveauComputer;
34 StapelGroupBox *stapelBox[20];
35
36 void clearBord(int stapelAantalLocal, int stokjesMinLocal, int stokjesMaxLocal );
37 void createBord(int stapelAantalLocal, int stokjesMinLocal, int stokjesMaxLocal );
38 int getStapelAantal( int stapelNumber );
39 QPopupMenu *fileMenu;
40 QPopupMenu *helpMenu;
41};
42
43#endif
Note: See TracBrowser for help on using the repository browser.