QTfrontend/pagedata.cpp
changeset 5582 48ced03a9949
parent 5567 44c9a577b082
child 5746 fbc52bb92cad
equal deleted inserted replaced
5581:cc43f382ed9a 5582:48ced03a9949
    33     pageLayout->setColumnStretch(2, 1);
    33     pageLayout->setColumnStretch(2, 1);
    34 
    34 
    35     BtnBack = addButton(":/res/Exit.png", pageLayout, 1, 0, true);
    35     BtnBack = addButton(":/res/Exit.png", pageLayout, 1, 0, true);
    36 
    36 
    37     web = new QWebView(this);
    37     web = new QWebView(this);
    38     connect(this, SIGNAL(linkClicked(const QUrl&)), this, SLOT(install(const QUrl&)));
    38     connect(web, SIGNAL(linkClicked(const QUrl&)), this, SLOT(install(const QUrl&)));
    39     web->load(QUrl("http://m8y.org/hw/downloads/"));
    39     web->load(QUrl("http://m8y.org/hw/downloads/"));
    40     web->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
    40     web->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
    41     pageLayout->addWidget(web, 0, 0, 1, 3);
    41     pageLayout->addWidget(web, 0, 0, 1, 3);
    42 }
    42 }
    43 
    43