[Kita-svn] [2442] draw the background of subjectList and m_boardList using alternating colors

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2009年 7月 19日 (日) 17:08:52 JST


Revision: 2442
          http://sourceforge.jp/projects/kita/svn/view?view=rev&revision=2442
Author:   nogu
Date:     2009-07-19 17:08:52 +0900 (Sun, 19 Jul 2009)

Log Message:
-----------
draw the background of subjectList and m_boardList using alternating colors

Modified Paths:
--------------
    kita/branches/KITA-KDE4/kita/src/bbsview.cpp
    kita/branches/KITA-KDE4/kita/src/threadlistview.cpp

Modified: kita/branches/KITA-KDE4/kita/src/bbsview.cpp
===================================================================
--- kita/branches/KITA-KDE4/kita/src/bbsview.cpp	2009-07-19 01:00:21 UTC (rev 2441)
+++ kita/branches/KITA-KDE4/kita/src/bbsview.cpp	2009-07-19 08:08:52 UTC (rev 2442)
@@ -68,6 +68,7 @@
     bbsViewBaseLayout->addLayout(layout10);
 
     m_boardList = new QTreeWidget(this);
+    m_boardList->setAlternatingRowColors(true);
     m_boardList->setRootIsDecorated(true);
     bbsViewBaseLayout->addWidget(m_boardList);
     resize(QSize(600, 482).expandedTo(minimumSizeHint()));

Modified: kita/branches/KITA-KDE4/kita/src/threadlistview.cpp
===================================================================
--- kita/branches/KITA-KDE4/kita/src/threadlistview.cpp	2009-07-19 01:00:21 UTC (rev 2441)
+++ kita/branches/KITA-KDE4/kita/src/threadlistview.cpp	2009-07-19 08:08:52 UTC (rev 2442)
@@ -60,6 +60,7 @@
 
     ThreadListHeaderView* header = new ThreadListHeaderView;
 
+    subjectList->setAlternatingRowColors(true);
     subjectList->setColumnCount(ColumnEnd - ColumnBegin + 1);
     subjectList->setHorizontalHeader(header);
     subjectList->setShowGrid(false);




Kita-svn メーリングリストの案内
アーカイブの一覧に戻る