/****************************************************************************
** 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::init()
{
    nb1->setText("9");
}

void Form1::ajoutenombre(QString nbr)
{
   nb2->setText(nbr);
}


void Form1::press_1()
{
    ajoutenombre("1");
}

void Form1::press_2()
{
    ajoutenombre("2");
}
