QTfrontend/pagedata.cpp
changeset 6009 14f6fc9869f2
parent 5769 09aca6e1317a
child 6042 8b5345758f62
equal deleted inserted replaced
6008:215f0c9719e3 6009:14f6fc9869f2
    39     QGridLayout * pageLayout = new QGridLayout(this);
    39     QGridLayout * pageLayout = new QGridLayout(this);
    40     pageLayout->setColumnStretch(0, 1);
    40     pageLayout->setColumnStretch(0, 1);
    41     pageLayout->setColumnStretch(1, 1);
    41     pageLayout->setColumnStretch(1, 1);
    42     pageLayout->setColumnStretch(2, 1);
    42     pageLayout->setColumnStretch(2, 1);
    43 
    43 
    44     BtnBack = addButton(":/res/Exit.png", pageLayout, 2, 0, true);
       
    45 
    44 
    46     web = new DataBrowser(this);
    45     web = new DataBrowser(this);
    47     connect(web, SIGNAL(anchorClicked(QUrl)), this, SLOT(request(const QUrl&)));
    46     connect(web, SIGNAL(anchorClicked(QUrl)), this, SLOT(request(const QUrl&)));
    48     web->setOpenLinks(false);
    47     web->setOpenLinks(false);
    49     pageLayout->addWidget(web, 0, 0, 1, 3);
    48     pageLayout->addWidget(web, 0, 0, 1, 3);
    50 
    49 
    51     progressBarsLayout = new QVBoxLayout();
    50     progressBarsLayout = new QVBoxLayout();
    52     pageLayout->addLayout(progressBarsLayout, 1, 0, 1, 3);
    51     pageLayout->addLayout(progressBarsLayout, 1, 0, 1, 3);
    53 
    52 
    54     fetchList();
    53     fetchList();
       
    54 
       
    55 
       
    56     BtnBack = addButton(":/res/Exit.png", pageLayout, 2, 0, true);
       
    57     connect(BtnBack, SIGNAL(clicked()), this, SIGNAL(goBack()));
    55 }
    58 }
    56 
    59 
    57 void PageDataDownload::request(const QUrl &url)
    60 void PageDataDownload::request(const QUrl &url)
    58 {
    61 {
    59     QUrl finalUrl;
    62     QUrl finalUrl;