You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
448 B
25 lines
448 B
15 years ago
|
//
|
||
|
// Simple little hack to show off new diagonal gradients.
|
||
|
//
|
||
|
// (C) KDE Artistic Daniel M. Duley <mosfet@kde.org>
|
||
|
//
|
||
|
|
||
|
#ifndef __KGRADIENT_TEST_H
|
||
|
#define __KGRADIENT_TEST_H
|
||
|
|
||
|
#include <qwidget.h>
|
||
|
#include <kpixmap.h>
|
||
|
|
||
|
class KGradientWidget : public QWidget
|
||
|
{
|
||
|
public:
|
||
|
KGradientWidget(QWidget *parent=0, const char *name=0)
|
||
|
: QWidget(parent, name){;}
|
||
|
protected:
|
||
|
void paintEvent(QPaintEvent *ev);
|
||
|
private:
|
||
|
KPixmap pix;
|
||
|
};
|
||
|
|
||
|
#endif
|