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.

dialogconnecting.cpp 369B

1234567891011121314151617181920
  1. #include "dialogconnecting.h"
  2. #include "ui_dialogconnecting.h"
  3. DialogConnecting::DialogConnecting(QWidget *parent) :
  4. QDialog(parent),
  5. ui(new Ui::DialogConnecting)
  6. {
  7. ui->setupUi(this);
  8. }
  9. DialogConnecting::~DialogConnecting()
  10. {
  11. delete ui;
  12. }
  13. void DialogConnecting::on_pushButton_clicked()
  14. {
  15. ui->pushButton->setEnabled(false);
  16. emit canceled();
  17. }