From ce3329047d378a14006ce74ec273ac59e3375303 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 12 May 2010 19:42:27 +0200 Subject: initial import of latest svn version --- src/gui/clientInfoDialog.cpp | 60 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 src/gui/clientInfoDialog.cpp (limited to 'src/gui/clientInfoDialog.cpp') diff --git a/src/gui/clientInfoDialog.cpp b/src/gui/clientInfoDialog.cpp new file mode 100644 index 0000000..02a6fd8 --- /dev/null +++ b/src/gui/clientInfoDialog.cpp @@ -0,0 +1,60 @@ +/* + # Copyright (c) 2009, 2010 - OpenSLX Project, Computer Center University of + # Freiburg + # + # This program is free software distributed under the GPL version 2. + # See http://openslx.org/COPYING + # + # If you have any feedback please consult http://openslx.org/feedback and + # send your suggestions, praise, or complaints to feedback@openslx.org + # + # General information about OpenSLX can be found at http://openslx.org/ + # ----------------------------------------------------------------------------- + # clientInfoDialog.cpp + # - shows big info dialog (connected host and passwd) + # ----------------------------------------------------------------------------- + */ + +#include "clientInfoDialog.h" + +ClientInfoDialog::ClientInfoDialog(QWidget *parent) : + QDialog(parent) +{ + setupUi(this); +} + +ClientInfoDialog::~ClientInfoDialog() +{ + +} + +//////////////////////////////////////////////////////////////////////////////// +// Public + +void ClientInfoDialog::setHost(QString host) +{ + hostLabel->setText("" + "
" + "" + "" + + host + "
"); +} + +void ClientInfoDialog::setPasswd(QString passwd) +{ + passwdLabel->setText("" + "" + "" + "" + + passwd + "
"); +} -- cgit v1.2.3-55-g7522