blob: 130b15150459bec871285056acb6752c92e4e7bf (
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
|
/***************************************************************************
setpageengines.h - description
-------------------
begin : Thu Aug 16 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 SETPAGEENGINES_H
#define SETPAGEENGINES_H
#include <kbuttonbox.h>
#include <klistview.h>
#include <kcombobox.h>
#include <qstringlist.h>
#include <qcheckbox.h>
#include <qwidget.h>
#include <qgroupbox.h>
#include <qptrlist.h>
#include <qhbox.h>
#include <qlayout.h>
#include "resource.h"
#include "dlg_engine.h"
/**
*@author Troy Corbin Jr.
*/
class setPageEngines : public QVBoxLayout
{
Q_OBJECT
public:
setPageEngines(QWidget *parent=0, resource *Rsrc=0);
~setPageEngines();
public slots:
void slotEngine_Add( void );
void slotEngine_Modify( void );
void slotEngine_Delete( void );
void slotCurrent_White( int );
void slotCurrent_White_Book( int );
void slotCurrent_Black( int );
void slotCurrent_Black_Book( int );
void slotToggle_White_Book( bool );
void slotToggle_Black_Book( bool );
signals:
void enableApply( void );
protected slots:
void BuildEngineData( void );
void selectionChanged( void );
private:
QWidget *Parent;
resource *Resource;
QHBox *BOX_Current;
QGroupBox *GROUP_White_Current;
KComboBox *Engines_White;
QCheckBox *White_Use_Book;
KComboBox *Engines_White_Book;
QGroupBox *GROUP_Black_Current;
KComboBox *Engines_Black;
QCheckBox *Black_Use_Book;
KComboBox *Engines_Black_Book;
QGroupBox *GROUP_Engines;
KListView *Engines_ListView;
KButtonBox *Engines_ButtonBox;
QPushButton *Engines_Button_Add;
QPushButton *Engines_Button_Change;
QPushButton *Engines_Button_Delete;
dlg_engine *Engine_Dialog;
};
#endif
|