diff options
Diffstat (limited to 'knights/setpageengines.h')
-rw-r--r-- | knights/setpageengines.h | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/knights/setpageengines.h b/knights/setpageengines.h new file mode 100644 index 0000000..130b151 --- /dev/null +++ b/knights/setpageengines.h @@ -0,0 +1,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 |