use alternating row colors in list views.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14298 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2007-08-12 19:18:11 +00:00
parent c1e0932eca
commit 90c40b7fea
4 changed files with 5 additions and 1 deletions

View file

@ -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);
}

View file

@ -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);

View file

@ -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()));
}

View file

@ -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)));
}