##// END OF EJS Templates
Quick demolauncher fix
Quick demolauncher fix

File last commit:

r2252:66d0860f9aed
r2252:66d0860f9aed
Show More
graphicsbutton.h
24 lines | 478 B | text/x-c | CLexer
#ifndef GRAPHICSBUTTON_H
#define GRAPHICSBUTTON_H
#include <QWidget>
#include <QDir>
class GraphicsButton : public QWidget
{
Q_OBJECT
public:
explicit GraphicsButton(const QString& path, QDir appFolder, const QString& app, QWidget *parent = 0);
protected:
void mousePressEvent(QMouseEvent * event);
void paintEvent(QPaintEvent *);
private:
QPixmap m_pixmap;
QString m_path;
QDir m_appFolder;
QString m_app;
};
#endif // GRAPHICSBUTTON_H