projects
/
medard
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ae705cb
)
Added wrapping of labels in about dialog.
author
Roman Moravcik
<roman.moravcik@gmail.com>
Tue, 28 Jun 2011 15:57:57 +0000
(17:57 +0200)
committer
Roman Moravcik
<roman.moravcik@gmail.com>
Tue, 28 Jun 2011 15:57:57 +0000
(17:57 +0200)
src/aboutdialog.cpp
patch
|
blob
|
history
diff --git
a/src/aboutdialog.cpp
b/src/aboutdialog.cpp
index
2231bd0
..
e383f5f
100644
(file)
--- a/
src/aboutdialog.cpp
+++ b/
src/aboutdialog.cpp
@@
-36,16
+36,18
@@
AboutDialog::AboutDialog(QGraphicsItem *parent) : MApplicationPage(parent)
centralWidget()->setLayout(layout);
MLabel *application = new MLabel();
centralWidget()->setLayout(layout);
MLabel *application = new MLabel();
- application->setText("Medard 0.1");
-// application->setAlignment(Qt::AlignCenter);
+ application->setText("Medard 0.2");
+ application->setStyleName ("CommonHeader");
+ application->setAlignment(Qt::AlignCenter);
layout->addItem(application);
MLabel *applicationCopyright = new MLabel();
applicationCopyright->setText(tr("Copyright(c) 2011 Roman Moravcik"));
layout->addItem(application);
MLabel *applicationCopyright = new MLabel();
applicationCopyright->setText(tr("Copyright(c) 2011 Roman Moravcik"));
-// applicationCopyright->setAlignment(Qt::AlignCenter);
+ applicationCopyright->setAlignment(Qt::AlignCenter);
layout->addItem(applicationCopyright);
MLabel *weatherDataCopyright = new MLabel();
layout->addItem(applicationCopyright);
MLabel *weatherDataCopyright = new MLabel();
+ weatherDataCopyright->setWordWrap(true);
weatherDataCopyright->setText(tr("\n"
"Weather data:\n"
"Project MEDARD, Institute of Computer Science,\n"
weatherDataCopyright->setText(tr("\n"
"Weather data:\n"
"Project MEDARD, Institute of Computer Science,\n"