summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-08-12 19:18:11 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-08-12 19:18:11 +0000
commit90c40b7fea0275e212addf3ae6ac6979f5b4585b (patch)
tree7c9092786d6666a98e2c34f3e77bd555095c8c73 /rbutil
parentc1e0932eca57421fd725794eb288c02352faf483 (diff)
use alternating row colors in list views.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14298 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/browsedirtree.cpp1
-rw-r--r--rbutil/rbutilqt/configure.cpp2
-rw-r--r--rbutil/rbutilqt/progressloggergui.cpp1
-rw-r--r--rbutil/rbutilqt/uninstallwindow.cpp2
4 files changed, 5 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/browsedirtree.cpp b/rbutil/rbutilqt/browsedirtree.cpp
index 80dc6910ac..43232cf355 100644
--- a/rbutil/rbutilqt/browsedirtree.cpp
+++ b/rbutil/rbutilqt/browsedirtree.cpp
@@ -33,6 +33,7 @@ BrowseDirtree::BrowseDirtree(QWidget *parent) : QDialog(parent)
ui.tree->setColumnHidden(1, true);
ui.tree->setColumnHidden(2, true);
ui.tree->setColumnHidden(3, true);
+ ui.tree->setAlternatingRowColors(true);
}
diff --git a/rbutil/rbutilqt/configure.cpp b/rbutil/rbutilqt/configure.cpp
index df3fa4bc53..7a0658d104 100644
--- a/rbutil/rbutilqt/configure.cpp
+++ b/rbutil/rbutilqt/configure.cpp
@@ -55,6 +55,8 @@ Config::Config(QWidget *parent) : QDialog(parent)
ui.listLanguages->setSelectionMode(QAbstractItemView::SingleSelection);
connect(ui.listLanguages, SIGNAL(itemSelectionChanged()), this, SLOT(updateLanguage()));
ui.proxyPass->setEchoMode(QLineEdit::Password);
+ ui.treeDevices->setAlternatingRowColors(true);
+ ui.listLanguages->setAlternatingRowColors(true);
this->setModal(true);
diff --git a/rbutil/rbutilqt/progressloggergui.cpp b/rbutil/rbutilqt/progressloggergui.cpp
index b4471e4476..c7282300da 100644
--- a/rbutil/rbutilqt/progressloggergui.cpp
+++ b/rbutil/rbutilqt/progressloggergui.cpp
@@ -24,6 +24,7 @@ ProgressLoggerGui::ProgressLoggerGui(QObject* parent): ProgressloggerInterface(p
downloadProgress = new QDialog();
downloadProgress->setModal(true);
dp.setupUi(downloadProgress);
+ dp.listProgress->setAlternatingRowColors(true);
connect(dp.buttonAbort, SIGNAL(clicked()), this, SLOT(abort()));
}
diff --git a/rbutil/rbutilqt/uninstallwindow.cpp b/rbutil/rbutilqt/uninstallwindow.cpp
index 18fc863159..6bd2ee6d26 100644
--- a/rbutil/rbutilqt/uninstallwindow.cpp
+++ b/rbutil/rbutilqt/uninstallwindow.cpp
@@ -24,7 +24,7 @@
UninstallWindow::UninstallWindow(QWidget *parent) : QDialog(parent)
{
ui.setupUi(this);
-
+ ui.UninstalllistWidget->setAlternatingRowColors(true);
connect(ui.UninstalllistWidget,SIGNAL(itemSelectionChanged()),this,SLOT(selectionChanged()));
connect(ui.CompleteRadioBtn,SIGNAL(toggled(bool)),this,SLOT(UninstallMethodChanged(bool)));
}