equal
deleted
inserted
replaced
17 */ |
17 */ |
18 |
18 |
19 #include <QGridLayout> |
19 #include <QGridLayout> |
20 #include <QSvgWidget> |
20 #include <QSvgWidget> |
21 #include <QLabel> |
21 #include <QLabel> |
|
22 #include <QScrollArea> |
22 #include "about.h" |
23 #include "about.h" |
23 |
24 |
24 About::About(QWidget * parent) : |
25 About::About(QWidget * parent) : |
25 QWidget(parent) |
26 QWidget(parent) |
26 { |
27 { |
40 "</div>" |
41 "</div>" |
41 ); |
42 ); |
42 lbl1->setWordWrap(true); |
43 lbl1->setWordWrap(true); |
43 mainLayout->addWidget(lbl1, 0, 1); |
44 mainLayout->addWidget(lbl1, 0, 1); |
44 |
45 |
|
46 QScrollArea *sa = new QScrollArea(this); |
|
47 sa->setWidgetResizable(true); |
|
48 sa->setFrameStyle(QFrame::NoFrame); |
45 QLabel *lbl2 = new QLabel(this); |
49 QLabel *lbl2 = new QLabel(this); |
46 |
50 |
47 lbl2->setOpenExternalLinks(true); |
51 lbl2->setOpenExternalLinks(true); |
48 lbl2->setText( |
52 lbl2->setText( |
49 QLabel::tr("<h2>Developers:</h2>") + |
53 QLabel::tr("<h2>Developers:</h2>") + |
59 "Aleksey Andreev <<a href=\"mailto:blaknayabr@gmail.com\">blaknayabr@gmail.com</a>><br>" |
63 "Aleksey Andreev <<a href=\"mailto:blaknayabr@gmail.com\">blaknayabr@gmail.com</a>><br>" |
60 "Natasha Stafeeva <<a href=\"mailto:layout@pisem.net\">layout@pisem.net</a>>" |
64 "Natasha Stafeeva <<a href=\"mailto:layout@pisem.net\">layout@pisem.net</a>>" |
61 "</p>" |
65 "</p>" |
62 ); |
66 ); |
63 lbl2->setWordWrap(true); |
67 lbl2->setWordWrap(true); |
64 mainLayout->addWidget(lbl2, 1, 1); |
68 sa->setWidget(lbl2); |
|
69 mainLayout->addWidget(sa, 1, 1); |
65 } |
70 } |