Rooms list colourizing patch by TheXception
authorunc0rr
Sun, 15 Mar 2009 14:47:59 +0000 (2009-03-15)
changeset 1894 ba54441631da
parent 1893 85c61bc5e160
child 1895 7ba647a88b2f
Rooms list colourizing patch by TheXception
QTfrontend/main.cpp
QTfrontend/pages.cpp
--- a/QTfrontend/main.cpp	Sun Mar 15 14:36:14 2009 +0000
+++ b/QTfrontend/main.cpp	Sun Mar 15 14:47:59 2009 +0000
@@ -133,6 +133,9 @@
 				"border-bottom-width: 3px;"
 				"background-color: #00351d;"
 			"}"
+			"QTableView {"
+				"alternate-background-color: #2f213a;"
+			"}"
 
             "QTabBar::tab {"
                  "border-top: solid;"
--- a/QTfrontend/pages.cpp	Sun Mar 15 14:36:14 2009 +0000
+++ b/QTfrontend/pages.cpp	Sun Mar 15 14:47:59 2009 +0000
@@ -760,6 +760,7 @@
 	roomsList->setSelectionBehavior(QAbstractItemView::SelectRows);
 	roomsList->verticalHeader()->setVisible(false);
 	roomsList->horizontalHeader()->setResizeMode(QHeaderView::Interactive);
+	roomsList->setAlternatingRowColors(true);
 	pageLayout->addWidget(roomsList, 1, 0, 3, 1);
 	pageLayout->setRowStretch(2, 100);