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.
22 lines
410 B
22 lines
410 B
#ifndef KJBACKGROUND_H
|
|
#define KJBACKGROUND_H
|
|
|
|
#include "kjwidget.h"
|
|
//#include "kjloader.h"
|
|
class KJLoader;
|
|
|
|
#include <qpainter.h>
|
|
|
|
class KJBackground : public KJWidget
|
|
{
|
|
public:
|
|
KJBackground(KJLoader *);
|
|
virtual void paint(QPainter *, const QRect &rect);
|
|
virtual bool mousePress(const QPoint &) {return false;}
|
|
virtual void mouseRelease(const QPoint &, bool) {}
|
|
|
|
private:
|
|
QPixmap mBackground;
|
|
};
|
|
#endif
|