[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/office/skrooge/skgbasegui
From:       Stephane Mankowski <stephane () mankowski ! fr>
Date:       2009-12-30 21:16:18
Message-ID: 1262207778.507118.22492.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1067888 by smankowski:

First color for graph is now bleue instead of red

 M  +2 -1      skgtablewithgraph.cpp  


--- trunk/extragear/office/skrooge/skgbasegui/skgtablewithgraph.cpp #1067887:1067888
@@ -816,7 +816,7 @@
                     double val=tableItem->data ( DATA_VALUE ).toDouble();
                     QString valstring=tableItem->text();
 
-                    int color_h=359*x/nbRows;
+                    int color_h=(240+359*x/nbRows)%360; //First color is blue to be \
compliant with min (red) and max (green)  int color_s=255-155* ( nbColumns-1-j ) \
/nbColumns;  int color_v=255-155* ( nbColumns-1-j ) /nbColumns;
                     int color_a=200;
@@ -1389,6 +1389,7 @@
 void SKGTableWithGraph::setGraphTypeSelectorVisible ( bool iVisible ) const
 {
     ui.kGraphTypeFrm->setVisible ( iVisible );
+    if(actShowToolBar) actShowToolBar->setVisible ( iVisible );
 }
 
 bool SKGTableWithGraph::isGraphTypeSelectorVisible() const


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic