From 1d158dda7d0b187ec48e40b2048818b7596bf962 Mon Sep 17 00:00:00 2001 From: Lars Bisballe Jensen Date: Thu, 3 Nov 2011 11:30:36 +0100 Subject: removed irrelevant setTexts --- client/macrodrawer.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'client') diff --git a/client/macrodrawer.cc b/client/macrodrawer.cc index 343d5d1..2ddc0c0 100644 --- a/client/macrodrawer.cc +++ b/client/macrodrawer.cc @@ -105,15 +105,12 @@ void MacroDrawer::activationChange(bool active) // Set padlock icon on button. if(button) { button->setIcon(QPixmap(":icons/padlock.png")); - //button->setText(""); } } else { // Clear padlock icon on button if(button) { button->setIcon(QPixmap()); - //button->setText(""); } } - } -- cgit v1.2.3 From 592211cbd4b710caf8934e2806e259415087f69d Mon Sep 17 00:00:00 2001 From: Lars Bisballe Jensen Date: Thu, 3 Nov 2011 11:33:34 +0100 Subject: removed QLabel that wasn't used anymore --- client/mainwindow.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'client') diff --git a/client/mainwindow.cc b/client/mainwindow.cc index 1a63434..700501f 100644 --- a/client/mainwindow.cc +++ b/client/mainwindow.cc @@ -103,7 +103,6 @@ MainWindow::MainWindow(QString patientid, QString course, QString templ, setWindowIcon(QIcon(":/icons/icon.png")); QStatusBar *status = statusBar(); - //status->addPermanentWidget(new QLabel("Pracro v."VERSION)); aboutButton = new QPushButton("Pracro v."VERSION, status); aboutButton->setIcon(QIcon(":icons/icon.png")); -- cgit v1.2.3 From 95ca5d5e396bfaad076324d225b5a15cfc9fcb29 Mon Sep 17 00:00:00 2001 From: Lars Bisballe Jensen Date: Thu, 3 Nov 2011 15:21:31 +0100 Subject: changed aboutbox text --- client/aboutbox.cc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'client') diff --git a/client/aboutbox.cc b/client/aboutbox.cc index 47cc9e3..e90efa1 100644 --- a/client/aboutbox.cc +++ b/client/aboutbox.cc @@ -67,9 +67,15 @@ AboutBox::AboutBox(QWidget *parent, Qt::WindowFlags f): QDialog(parent, f) QHBoxLayout *topLayout = new QHBoxLayout(); QLabel *logo = new QLabel(); logo->setPixmap(QPixmap(":icons/icon.png")); - QLabel *title = new QLabel(tr("

Pracro Client

" - "

v."VERSION"

" - "Developed at Aarhus University Hospital")); + QLabel *title = new QLabel; + title->setWordWrap(true); + title->setText(tr("

Pracro Client

" + "

v."VERSION"

" + "Copyright (C) 2007-2011 Aasimon.org
" + "This is free software. You may redistribute copies of it " + "under the terms of the GNU General Public License " + "(http://www.gnu.org/licenses/gpl.html). There is NO " + "WARRANTY, to the extent permitted by law.")); topLayout->addWidget(logo); topLayout->addWidget(title); -- cgit v1.2.3