[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/krecipes/src/widgets
From: Unai Garro <Unai.Garro () ee ! ed ! ac ! uk>
Date: 2003-11-21 6:06:40
[Download RAW message or body]
CVS commit by uga:
set the cursor when over the moving bar
M +9 -0 kremenu.cpp 1.6
--- kdenonbeta/krecipes/src/widgets/kremenu.cpp #1.5:1.6
@@ -11,4 +11,5 @@
#include <qbitmap.h>
+#include <qcursor.h>
#include <qimage.h>
#include <qpainter.h>
@@ -49,4 +50,12 @@ dragging=true;
void KreMenu::mouseMoveEvent (QMouseEvent *e)
{
+// Set the mouse cursor in any case
+int x=e->x(),y=e->y();
+if (x > (width()-15))
+ {
+ setCursor(QCursor(Qt::SplitHCursor));
+ }
+
+// If already dragging, resize
if (dragging)
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic