From df5483aafbfc787f34b3dfaba2c51434b3a8f40e Mon Sep 17 00:00:00 2001 From: Vincent Texier <vit@free.fr> Date: Sat, 11 Apr 2015 17:40:30 +0200 Subject: [PATCH] Alternate background colors in tables --- res/ui/community_tab.ui | 5 ++++- res/ui/transactions_tab.ui | 6 ++++++ res/ui/wallets_tab.ui | 3 +++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/res/ui/community_tab.ui b/res/ui/community_tab.ui index 2155cb19..357db655 100644 --- a/res/ui/community_tab.ui +++ b/res/ui/community_tab.ui @@ -6,7 +6,7 @@ <rect> <x>0</x> <y>0</y> - <width>421</width> + <width>431</width> <height>369</height> </rect> </property> @@ -47,6 +47,9 @@ <property name="contextMenuPolicy"> <enum>Qt::CustomContextMenu</enum> </property> + <property name="alternatingRowColors"> + <bool>true</bool> + </property> <property name="sortingEnabled"> <bool>true</bool> </property> diff --git a/res/ui/transactions_tab.ui b/res/ui/transactions_tab.ui index 5cd0f97a..d61b34cd 100644 --- a/res/ui/transactions_tab.ui +++ b/res/ui/transactions_tab.ui @@ -48,6 +48,12 @@ <property name="contextMenuPolicy"> <enum>Qt::CustomContextMenu</enum> </property> + <property name="alternatingRowColors"> + <bool>true</bool> + </property> + <property name="showGrid"> + <bool>true</bool> + </property> <attribute name="horizontalHeaderShowSortIndicator" stdset="0"> <bool>true</bool> </attribute> diff --git a/res/ui/wallets_tab.ui b/res/ui/wallets_tab.ui index d7bca00f..f896dc71 100644 --- a/res/ui/wallets_tab.ui +++ b/res/ui/wallets_tab.ui @@ -92,6 +92,9 @@ QGroupBox::title { <property name="contextMenuPolicy"> <enum>Qt::CustomContextMenu</enum> </property> + <property name="alternatingRowColors"> + <bool>true</bool> + </property> <property name="selectionMode"> <enum>QAbstractItemView::SingleSelection</enum> </property> -- GitLab