/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
** If you wish to add, delete or rename functions respectively slots use
** Qt Designer which will update this file, preserving your code. Create an
** init() function in place of a constructor, and a destroy() function in
** place of a destructor.
*****************************************************************************/


void Form1::cliquer()
{
QPushButton * bt = (QPushButton *) sender();
QString motRecuperer= bt-> text();
 phrase2 -> setText(motRecuperer);
QString bouton11;
 
	 if (motRecuperer==bouton11)
 {	
     phrase2->setPaletteBackgroundColor(QColor(0,255,0));
     rejouer->setEnabled(true);
 }
 else
 {
     phrase2->setPaletteBackgroundColor(QColor(255,0,0));
     rejouer->setEnabled(false);
 }
}
