QTfrontend/ui/page/pageadmin.cpp
changeset 6616 f77bb02b669f
parent 6180 0992fc5a4ad9
child 6680 907999eff9e9
equal deleted inserted replaced
6615:65602f1ef0f8 6616:f77bb02b669f
    30 {
    30 {
    31     QGridLayout * pageLayout = new QGridLayout();
    31     QGridLayout * pageLayout = new QGridLayout();
    32 
    32 
    33     // 0
    33     // 0
    34     pbAsk = addButton(tr("Fetch data"), pageLayout, 0, 0, 1, 3);
    34     pbAsk = addButton(tr("Fetch data"), pageLayout, 0, 0, 1, 3);
    35     
    35 
    36     // 1
    36     // 1
    37     QLabel * lblSMN = new QLabel(this);
    37     QLabel * lblSMN = new QLabel(this);
    38     lblSMN->setText(tr("Server message for latest version:"));
    38     lblSMN->setText(tr("Server message for latest version:"));
    39     pageLayout->addWidget(lblSMN, 1, 0);
    39     pageLayout->addWidget(lblSMN, 1, 0);
    40 
    40 
    64 
    64 
    65     tb = new QTextBrowser(this);
    65     tb = new QTextBrowser(this);
    66     tb->setOpenExternalLinks(true);
    66     tb->setOpenExternalLinks(true);
    67     tb->document()->setDefaultStyleSheet(HWChatWidget::styleSheet());
    67     tb->document()->setDefaultStyleSheet(HWChatWidget::styleSheet());
    68     pageLayout->addWidget(tb, 4, 1, 1, 2);
    68     pageLayout->addWidget(tb, 4, 1, 1, 2);
    69     
    69 
    70     // 5
    70     // 5
    71     pbClearAccountsCache = addButton(tr("Clear Accounts Cache"), pageLayout, 5, 0);
    71     pbClearAccountsCache = addButton(tr("Clear Accounts Cache"), pageLayout, 5, 0);
    72     
    72 
    73     // 6
    73     // 6
    74     pbSetSM = addButton(tr("Set data"), pageLayout, 6, 0, 1, 3);
    74     pbSetSM = addButton(tr("Set data"), pageLayout, 6, 0, 1, 3);
    75 
    75 
    76     return pageLayout;
    76     return pageLayout;
    77 }
    77 }