Frontend: Normalize appearance/style of all tables
authorWuzzy <Wuzzy2@mail.ru>
Sun, 05 May 2019 15:05:48 +0200
changeset 14888 ea2a1436cdd3
parent 14887 d99ad8ac75d6
child 14889 1f0e8a144bad
Frontend: Normalize appearance/style of all tables
QTfrontend/ui/page/pagenet.cpp
QTfrontend/ui/page/pagevideos.cpp
--- a/QTfrontend/ui/page/pagenet.cpp	Sun May 05 14:27:19 2019 +0200
+++ b/QTfrontend/ui/page/pagenet.cpp	Sun May 05 15:05:48 2019 +0200
@@ -52,6 +52,11 @@
 
     tvServersList = new QTableView(ConnGroupBox);
     tvServersList->setSelectionBehavior(QAbstractItemView::SelectRows);
+    tvServersList->setSelectionMode(QAbstractItemView::SingleSelection);
+    tvServersList->setShowGrid(false);
+    tvServersList->setAlternatingRowColors(true);
+    tvServersList->verticalHeader()->setVisible(false);
+
     GBClayout->addWidget(tvServersList, 1, 0, 1, 3);
 
     BtnUpdateSList = new QPushButton(ConnGroupBox);
--- a/QTfrontend/ui/page/pagevideos.cpp	Sun May 05 14:27:19 2019 +0200
+++ b/QTfrontend/ui/page/pagevideos.cpp	Sun May 05 15:05:48 2019 +0200
@@ -123,6 +123,8 @@
         filesTable->setSelectionBehavior(QAbstractItemView::SelectRows);
         filesTable->setSelectionMode(QAbstractItemView::SingleSelection);
         filesTable->setEditTriggers(QAbstractItemView::SelectedClicked);
+        filesTable->setShowGrid(false);
+        filesTable->setAlternatingRowColors(true);
         filesTable->verticalHeader()->hide();
         filesTable->setMinimumWidth(400);