diff options
Diffstat (limited to 'client')
| -rw-r--r-- | client/aboutbox.cc | 12 | ||||
| -rw-r--r-- | client/macrodrawer.cc | 3 | ||||
| -rw-r--r-- | client/mainwindow.cc | 1 | 
3 files changed, 9 insertions, 7 deletions
| 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("<h1>Pracro Client</h1>" -                                "<h2>v."VERSION"</h2>" -                                "Developed at Aarhus University Hospital")); +  QLabel *title = new QLabel; +  title->setWordWrap(true); +  title->setText(tr("<h1>Pracro Client</h1>" +                    "<h2>v."VERSION"</h2>" +                    "Copyright (C) 2007-2011 Aasimon.org<br />" +                    "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); 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("");      }    } -  } diff --git a/client/mainwindow.cc b/client/mainwindow.cc index 9aa6241..f415dcb 100644 --- a/client/mainwindow.cc +++ b/client/mainwindow.cc @@ -103,7 +103,6 @@ MainWindow::MainWindow(QString patientid, QString title, QString course,    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")); | 
