24 |
24 |
25 About::About(QWidget * parent) : |
25 About::About(QWidget * parent) : |
26 QWidget(parent) |
26 QWidget(parent) |
27 { |
27 { |
28 QGridLayout *mainLayout = new QGridLayout(this); |
28 QGridLayout *mainLayout = new QGridLayout(this); |
29 QLabel *imageLabel = new QLabel; |
|
30 QImage image(":/res/Hedgehog.png"); |
|
31 |
29 |
32 imageLabel->setPixmap(QPixmap::fromImage(image)); |
30 QLabel *imageLabel = new QLabel; |
33 imageLabel->setScaledContents(true); |
31 QImage image(":/res/Hedgehog.png"); |
|
32 imageLabel->setPixmap(QPixmap::fromImage(image)); |
|
33 imageLabel->setScaledContents(true); |
|
34 imageLabel->setMinimumWidth(2.8); |
|
35 imageLabel->setMaximumWidth(280); |
|
36 imageLabel->setMinimumHeight(30); |
|
37 imageLabel->setMaximumHeight(300); |
34 |
38 |
35 imageLabel->setMinimumWidth(2.8); |
39 mainLayout->addWidget(imageLabel, 0, 0, 2, 1); |
36 imageLabel->setMaximumWidth(280); |
|
37 imageLabel->setMinimumHeight(30); |
|
38 imageLabel->setMaximumHeight(300); |
|
39 mainLayout->addWidget(imageLabel, 0, 0, 2, 1); |
|
40 |
40 |
41 QLabel *lbl1 = new QLabel(this); |
41 QLabel *lbl1 = new QLabel(this); |
42 |
42 |
43 lbl1->setOpenExternalLinks(true); |
43 lbl1->setOpenExternalLinks(true); |
44 lbl1->setText( |
44 lbl1->setText( |