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.
27 lines
551 B
27 lines
551 B
#include "connectionprogressdialog.h"
|
|
#include "ui_connectionprogressdialog.h"
|
|
|
|
#include <QCloseEvent>
|
|
|
|
ConnectionProgressDialog::ConnectionProgressDialog(QWidget *parent) :
|
|
QDialog(parent),
|
|
ui(new Ui::ConnectionProgressDialog)
|
|
{
|
|
ui->setupUi(this);
|
|
}
|
|
|
|
ConnectionProgressDialog::~ConnectionProgressDialog()
|
|
{
|
|
delete ui;
|
|
}
|
|
|
|
void ConnectionProgressDialog::setNetworkName(QString name)
|
|
{
|
|
ui->label->setText(tr("Connecting to %1...").arg(name));
|
|
}
|
|
|
|
void ConnectionProgressDialog::closeEvent(QCloseEvent *event)
|
|
{
|
|
event->ignore();
|
|
}
|