Dans l'assistant de creation d'un nouvel element, le bouton Annuler apparait desormais sous MacOS.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@735 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2009-08-14 17:50:44 +00:00
parent 4781e6b35c
commit 38c07b7d23

View File

@@ -39,6 +39,7 @@ NewElementWizard::NewElementWizard(QWidget *parent, Qt::WindowFlags f) :
QWizard(parent, f),
chosen_category(0)
{
setOptions(options() & ~QWizard::NoCancelButton);
setPixmap(LogoPixmap, QPixmap(":/ico/256x256/qelectrotech.png").scaled(64, 64, Qt::KeepAspectRatio, Qt::SmoothTransformation));
setWindowTitle(tr("Cr\351er un nouvel \351l\351ment : Assistant", "window title"));
setButtonText(QWizard::NextButton, tr("&Suivant >"));