Your warranties manager
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

26 lines
443 B

  1. #include "aboutdialog.h"
  2. #include "ui_aboutdialog.h"
  3. #include <QMessageBox>
  4. AboutDialog::AboutDialog(QWidget *parent, QString version) :
  5. QDialog(parent),
  6. ui(new Ui::AboutDialog)
  7. {
  8. ui->setupUi(this);
  9. ui->version->setText(tr("Version ")+version);
  10. ui->btnFermer->setFocus();
  11. }
  12. void AboutDialog::on_btnQt_clicked()
  13. {
  14. QMessageBox::aboutQt(this, tr("À propos de Qt"));
  15. }
  16. AboutDialog::~AboutDialog()
  17. {
  18. delete ui;
  19. }