summaryrefslogtreecommitdiffstats
path: root/knights/wiz_setup.h
blob: 4f764d96097a4dbf0745dde6c2d52e08934d271b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/***************************************************************************
                          wiz_setup.h  -  description
                             -------------------
    begin                : Wed Nov 21 2001
    copyright            : (C) 2003 by Troy Corbin Jr.
    email                : tcorbin@users.sourceforge.net
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef WIZ_SETUP_H
#define WIZ_SETUP_H

#include <kwizard.h>
#include <tqhbox.h>
#include <tqvbox.h>
#include <tqlayout.h>
#include <tqpushbutton.h>
#include <tqbuttongroup.h>
#include <tqradiobutton.h>
#include <tqlabel.h>
#include "resource.h"
#include "definitions.h"
#include "knightstextview.h"

/**
  *@author Troy Corbin Jr.
  */

class wiz_setup : public KWizard
{
		TQ_OBJECT
  
		public:
									wiz_setup( TQWidget *parent=0, const char *name=0, resource *Rsrc=0 );
									~wiz_setup();
		protected slots:
			void				slot_Work( const TQString& pageTitle );
			void				slot_License( int );
		protected:
			void			  initPage1( void );
			void			  initPage2( void );
			void			  initPage3( void );
			void			  initPage4( void );
			void			  initPage5( void );
			void			  initPage6( void );
			void				findEngines( void );
			void				setupServers( void );
			void				setupPGN( void );
		private:
			resource		*myResource;
			int					steps;

			TQFrame				*Page1;
				TQGridLayout		*P1B1;
					TQLabel			*SideImage1;
					TQLabel			*WelcomeMessage;
			TQFrame				*Page2;
				TQGridLayout		*P2B1;
					TQLabel				*SideImage2;
					TQLabel				*pgnExplain;
					TQButtonGroup	*pgnButtons;
						TQRadioButton	*pgnYes;
						TQRadioButton	*pgnNo;
			TQFrame				*Page3;
				TQGridLayout		*P3B1;
					TQLabel			*SideImage3;
					TQLabel			*engineExplain;
					TQButtonGroup	*engineButtons;
						TQRadioButton	*engineYes;
						TQRadioButton	*engineNo;
			TQFrame				*Page4;
				TQGridLayout		*P4B1;
					TQLabel			*SideImage4;
					TQLabel			*serverExplain;
					TQButtonGroup	*serverButtons;
						TQRadioButton	*serverYes;
						TQRadioButton	*serverNo;
			TQFrame				*Page5;
				TQGridLayout		*P5B1;
					TQLabel			*SideImage5;
					TQLabel			*FinishExplain;
			TQVBox					*Page6;
				KnightsTextView	*licenseView;
				TQButtonGroup	*licenseButtons;
					TQRadioButton	*licenseYes;
					TQRadioButton	*licenseNo;
};

#endif