QTfrontend/about.cpp
changeset 5646 1d44c448cfa4
parent 5626 82e1811c5e70
child 5648 e61e36bb22a8
equal deleted inserted replaced
5643:1617a8636451 5646:1d44c448cfa4
    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(