[rkward] rkward/misc: EXPERIMENTAL: Alternating row colors in accordion table
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Wed Nov 4 14:43:34 UTC 2015
Git commit 4c458a1a0afbc91a1bc4c34ced39462f6873d598 by Thomas Friedrichsmeier.
Committed on 04/11/2015 at 14:43.
Pushed by tfry into branch 'master'.
EXPERIMENTAL: Alternating row colors in accordion table
M +1 -0 rkward/misc/rkaccordiontable.cpp
http://commits.kde.org/rkward/4c458a1a0afbc91a1bc4c34ced39462f6873d598
diff --git a/rkward/misc/rkaccordiontable.cpp b/rkward/misc/rkaccordiontable.cpp
index c71afdd..6627c6b 100644
--- a/rkward/misc/rkaccordiontable.cpp
+++ b/rkward/misc/rkaccordiontable.cpp
@@ -269,6 +269,7 @@ RKAccordionTable::RKAccordionTable (QWidget* parent) : QTreeView (parent) {
setDragDropOverwriteMode (false);
setIndentation (0);
setRootIsDecorated (false);
+ setAlternatingRowColors (true);
setExpandsOnDoubleClick (false); // we expand on single click, instead
setItemsExpandable (false); // custom handling
setSizePolicy (QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
More information about the rkward-tracker
mailing list