Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: d88d0e8ab1
Fetching contributors…

Cannot retrieve contributors at this time

79 lines (68 sloc) 2.587 kB
/***************************************************************************
* Copyright (C) 2004 by Dominik Seichter *
* domseichter@web.de *
* *
* 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. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef SELECTGAMECOLORBOX_H
#define SELECTGAMECOLORBOX_H
#include <QLabel>
#include <QWizardPage>
class QWidget;
class QLineEdit;
class QLabel;
class QRadioButton;
class GameInfo;
class Card;
class SelectGameWizard;
class GameInfo;
struct t_AllowedGames;
/**
@author Christian Kern
*/
class SelectGameColorBox : public QWizardPage
{
Q_OBJECT
public:
SelectGameColorBox( QWidget *parent = 0 );
void cleanGameInfo();
~SelectGameColorBox();
void setGameInfo(GameInfo* info);
GameInfo* getGameInfo();
bool getFinish();
private:
t_AllowedGames* m_allowed;
protected:
GameInfo* m_gameinfo;
QRadioButton* checkFarblos;
QRadioButton* checkEichel;
QRadioButton* checkGras;
QRadioButton* checkHerz;
QRadioButton* checkSchellen;
Card* m_Herz;
Card* m_Schelle;
Card* m_Eichel;
Card* m_Gras;
SelectGameWizard* parent;
void setStatus(bool Eichel, bool Gras, bool Herz, bool Schellen, bool Farblos);
void checkFirstVisible();
bool m_finish;
void statusChanged();
int getColor();
protected slots:
void colorChanged();
};
#endif
Jump to Line
Something went wrong with that request. Please try again.