summaryrefslogtreecommitdiffabout
path: root/microkde/KDGanttMinimizeSplitter.cpp
authorzautrix <zautrix>2005-04-01 22:32:18 (UTC)
committer zautrix <zautrix>2005-04-01 22:32:18 (UTC)
commit02bdd5a73feb7bd2431c5492c7bbf663f28efbd8 (patch) (side-by-side diff)
treec87553742dfa351f4d4ae2308d68dd87cc400304 /microkde/KDGanttMinimizeSplitter.cpp
parentefb66afca923f23a94b19da1fa12555956e70844 (diff)
downloadkdepimpi-02bdd5a73feb7bd2431c5492c7bbf663f28efbd8.zip
kdepimpi-02bdd5a73feb7bd2431c5492c7bbf663f28efbd8.tar.gz
kdepimpi-02bdd5a73feb7bd2431c5492c7bbf663f28efbd8.tar.bz2
nf
Diffstat (limited to 'microkde/KDGanttMinimizeSplitter.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/KDGanttMinimizeSplitter.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/microkde/KDGanttMinimizeSplitter.cpp b/microkde/KDGanttMinimizeSplitter.cpp
index 6cb1f31..253175e 100644
--- a/microkde/KDGanttMinimizeSplitter.cpp
+++ b/microkde/KDGanttMinimizeSplitter.cpp
@@ -271,7 +271,12 @@ void KDGanttSplitterHandle::paintEvent( QPaintEvent * )
p.setBrush( colorGroup().background() );
p.setPen( colorGroup().foreground() );
//p.drawRect( rect() );
- buffer.fill( colorGroup().background() );
+#ifndef DESKTOP_VERSION
+ if ( mMouseDown )
+ buffer.fill( QColor( 242,27,255 ) );
+ else
+#endif
+ buffer.fill( colorGroup().background() );
//buffer.fill( backgroundColor() );
// parentWidget()->style().drawPrimitive( QStyle::PE_Panel, &p, rect(), parentWidget()->colorGroup());
@@ -283,7 +288,11 @@ void KDGanttSplitterHandle::paintEvent( QPaintEvent * )
col = colorGroup().background().dark( 250 );
else {
if ( mMouseDown )
- col = Qt::white;
+#ifndef DESKTOP_VERSION
+ col = QColor( 178,18,188);//QColor( 242,27,255 );//Qt::white;
+#else
+ col = Qt::white;
+#endif
else
col = colorGroup().background().dark( 150 );
}