diff -r 7b65e83e261d -r a2ae7702bb75 QTfrontend/pageconnecting.cpp --- a/QTfrontend/pageconnecting.cpp Fri Apr 15 21:36:59 2011 +0400 +++ b/QTfrontend/pageconnecting.cpp Fri Apr 15 22:38:50 2011 +0400 @@ -29,4 +29,9 @@ QLabel * lblConnecting = new QLabel(this); lblConnecting->setText(tr("Connecting...")); pageLayout->addWidget(lblConnecting); + + QPushButton * pbCancel = new QPushButton(this); + pbCancel->setText(tr("Cancel")); + pageLayout->addWidget(pbCancel); + connect(pbCancel, SIGNAL(clicked()), this, SIGNAL(cancelConnection())); }