[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kexi/plugins/forms
From: Jaroslaw Staniek <js () iidea ! pl>
Date: 2005-07-09 13:10:35
Message-ID: 1120914635.755659.2115.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 433021 by staniek:
Private class moved to private area!
I hope this fix can avoid some confusion
M +18 -0 kexilabel.cpp
M +1 -20 kexilabel.h
--- trunk/koffice/kexi/plugins/forms/kexilabel.cpp #433020:433021
@@ -37,6 +37,24 @@
#define SHADOW_DIAGONAL_FACTOR 1.0
#define SHADOW_THICKNESS 1
+class KexiLabelPrivate : public QLabel {
+ friend class KexiLabel;
+ public:
+ KexiLabelPrivate( KexiLabel* );
+ virtual ~KexiLabelPrivate();
+
+ protected:
+ void updateFrame();
+
+ QImage makeShadow( const QImage& textImage, const QColor &bgColor, const QRect& boundingRect );
+ QRect getBounding( const QImage &image, const QRect& startRect );
+// double defaultDecay( QImage& source, int i, int j );
+ KPixmap getShadowPixmap();
+
+ QRect p_shadowRect;
+ KexiLabel *p_parentLabel;
+};
+
KexiLabelPrivate::KexiLabelPrivate( KexiLabel* parent )
: QLabel( parent )
, p_parentLabel(parent)
--- trunk/koffice/kexi/plugins/forms/kexilabel.h #433020:433021
@@ -33,25 +33,7 @@
class QPainter;
class QTimer;
class KexiLabel;
-
-class KexiLabelPrivate : public QLabel {
- friend class KexiLabel;
- public:
- KexiLabelPrivate( KexiLabel* );
- virtual ~KexiLabelPrivate();
-
- protected:
- void updateFrame();
-
- QImage makeShadow( const QImage& textImage, const QColor &bgColor, const QRect& boundingRect );
- QRect getBounding( const QImage &image, const QRect& startRect );
-// double defaultDecay( QImage& source, int i, int j );
- KPixmap getShadowPixmap();
-
- QRect p_shadowRect;
- KexiLabel *p_parentLabel;
-};
-
+class KexiLabelPrivate;
/**
An extended, data-aware, read-only text label.
It's text may have a drop-shadow.
@@ -131,7 +113,6 @@
virtual void frameChanged();
virtual void showEvent( QShowEvent* e );
- private:
void updatePixmapLater();
KPixmap p_shadowPixmap;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic