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.
34 lines
501 B
34 lines
501 B
#ifndef GLWIDGET_H
|
|
#define GLWIDGET_H
|
|
|
|
#include <qlabel.h>
|
|
|
|
#include <csetjmp>
|
|
|
|
#include "ksquirrel-libs/fmt_types.h"
|
|
#include "ksquirrel-libs/fileio.h"
|
|
#include "ksquirrel-libs/fmt_codec_base.h"
|
|
|
|
class MyQT : public QLabel
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MyQT(QWidget *parent = 0, const char *name = 0);
|
|
~MyQT();
|
|
|
|
QPixmap loadImage();
|
|
|
|
public slots:
|
|
void bind();
|
|
|
|
private:
|
|
fmt_codec_base* (*codec_create)();
|
|
void (*codec_destroy)(fmt_codec_base*);
|
|
|
|
fmt_codec_base *codeK;
|
|
|
|
};
|
|
|
|
#endif
|