author | clem <clem> | 2004-10-05 23:58:38 (UTC) |
---|---|---|
committer | clem <clem> | 2004-10-05 23:58:38 (UTC) |
commit | 637e5e26c5d30778234c03412f1bf44ed7b38a8e (patch) (side-by-side diff) | |
tree | 7a5dc05ca871be0fa264765a7541830edb7ed5fc | |
parent | c09e45b02053c61b4e195c9d79a573ebfed2c521 (diff) | |
download | opie-637e5e26c5d30778234c03412f1bf44ed7b38a8e.zip opie-637e5e26c5d30778234c03412f1bf44ed7b38a8e.tar.gz opie-637e5e26c5d30778234c03412f1bf44ed7b38a8e.tar.bz2 |
at the beginning of the test mode, tell the user she can skip the steps she fails
-rw-r--r-- | libopie2/opiesecurity/multiauthmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiesecurity/multiauthmainwindow.cpp b/libopie2/opiesecurity/multiauthmainwindow.cpp index fb720bb..e60d245 100644 --- a/libopie2/opiesecurity/multiauthmainwindow.cpp +++ b/libopie2/opiesecurity/multiauthmainwindow.cpp @@ -39,49 +39,49 @@ MultiauthMainWindow::MultiauthMainWindow(bool allowBypass = false) // and we proceed directly if ( explanScreens == true ) { title = new QLabel("<center><h1>" + tr("Welcome to Opie Multi-authentication Framework") + "</h1></center>", this); message = new QLabel("<center><h3>" + tr("Launching authentication plugins...") + "</h3></center>", this); } else { title = new QLabel("", this); message = new QLabel("", this); } layout->addWidget(title); layout->addWidget(message); proceedButton = new QPushButton(tr("Proceed..."), this); layout->addWidget(proceedButton, 0, Qt::AlignHCenter); QObject::connect(proceedButton, SIGNAL(clicked()), this, SLOT(proceed())); if ( explanScreens == true ) { quit = new QPushButton("Exit", this); layout->addWidget(quit, 0, Qt::AlignHCenter); if ( allowBypass == true ) { // very important: we can close the widget through the quit button, and bypass authentication, only if allowBypass is set! - message2 = new QLabel("<center><i>" + tr("Note: this 'exit' button only appears during <b>simulations</b>, like the one we are in.") + "</i></center>", this); + message2 = new QLabel("<center><i>" + tr("Note: this 'exit' button only appears during <b>simulations</b>, like the one we are in. If you don't succeed an authentication step at some point, it will keep on asking you to authenticate, but remember you can <b>skip</b> it too (and have access to this button again).") + "</i></center>", this); layout->addWidget(message2); QObject::connect(quit, SIGNAL(clicked()), this, SLOT(close())); } else { quit->hide(); } } else { // we will need this button only if runPlugins() fails in proceed() proceedButton->hide(); // let's proceed now proceed(); } } /// nothing to do MultiauthMainWindow::~MultiauthMainWindow() { } /// launch the authentication void MultiauthMainWindow::proceed() { |