diff options
author | Arno <am@disconnect.de> | 2010-12-22 16:59:12 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2010-12-26 20:49:27 +0100 |
commit | 7bb7295a9033c0a6729b301e7c9b76393539e29a (patch) | |
tree | df92ec2f09e1cf6797fde07dc495efb051c94b74 /mappingtablewidget.cpp | |
parent | 832d48d3b9249db178f649d00c5c7134bea2becb (diff) | |
download | SheMov-7bb7295a9033c0a6729b301e7c9b76393539e29a.tar.gz SheMov-7bb7295a9033c0a6729b301e7c9b76393539e29a.tar.bz2 SheMov-7bb7295a9033c0a6729b301e7c9b76393539e29a.zip |
Made colors configurable
Added a tab to ConfigurationDialog to make some colors configurable. It
works somehow. The font color isn't evaluated yet, since I'm not
convinced that it is a good idea.
But one problem is that calling qApp->setPalette() doesn't propagate to
non visible child dialogs. Dunno if it's worth fixing.
Diffstat (limited to 'mappingtablewidget.cpp')
-rw-r--r-- | mappingtablewidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mappingtablewidget.cpp b/mappingtablewidget.cpp index 03bfa75..74763b9 100644 --- a/mappingtablewidget.cpp +++ b/mappingtablewidget.cpp @@ -26,6 +26,7 @@ MappingTableWidget::MappingTableWidget(const QString &table, QWidget *parent) : mModel = new MappingTableItemModel(this); mModel->setHeaderData(0, Qt::Horizontal, mTable); mView->setModel(mModel); + mView->setAlternatingRowColors(true); //mapping model mMappingModel = static_cast<MappingTableModel*>(SmGlobals::instance()->model(mTable)); |