QTfrontend/pageconnecting.cpp
changeset 5147 a2ae7702bb75
parent 5078 3527f0e7bb21
child 5204 e1a5f4d5d86a
--- 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()));
 }