QTfrontend/ui/page/pagenet.cpp
changeset 14883 ea2a1436cdd3
parent 14865 90cf07c60feb
child 14942 05cde9ba4183
equal deleted inserted replaced
14882:d99ad8ac75d6 14883:ea2a1436cdd3
    50     BtnNetConnect->setWhatsThis(tr("Connect to the selected server"));
    50     BtnNetConnect->setWhatsThis(tr("Connect to the selected server"));
    51     GBClayout->addWidget(BtnNetConnect, 2, 2);
    51     GBClayout->addWidget(BtnNetConnect, 2, 2);
    52 
    52 
    53     tvServersList = new QTableView(ConnGroupBox);
    53     tvServersList = new QTableView(ConnGroupBox);
    54     tvServersList->setSelectionBehavior(QAbstractItemView::SelectRows);
    54     tvServersList->setSelectionBehavior(QAbstractItemView::SelectRows);
       
    55     tvServersList->setSelectionMode(QAbstractItemView::SingleSelection);
       
    56     tvServersList->setShowGrid(false);
       
    57     tvServersList->setAlternatingRowColors(true);
       
    58     tvServersList->verticalHeader()->setVisible(false);
       
    59 
    55     GBClayout->addWidget(tvServersList, 1, 0, 1, 3);
    60     GBClayout->addWidget(tvServersList, 1, 0, 1, 3);
    56 
    61 
    57     BtnUpdateSList = new QPushButton(ConnGroupBox);
    62     BtnUpdateSList = new QPushButton(ConnGroupBox);
    58     BtnUpdateSList->setFont(*font14);
    63     BtnUpdateSList->setFont(*font14);
    59     BtnUpdateSList->setText(QPushButton::tr("Update"));
    64     BtnUpdateSList->setText(QPushButton::tr("Update"));