Newer
Older
Import / applications / Photoframe / src / menuitem.h
@John Ryland John Ryland on 22 Dec 2020 409 bytes import NUC files
#ifndef __MENUITEM_H__
#define __MENUITEM_H__


#include <QLabel>
#include "text.h"


class MenuItem : public QObject
{
public:
	MenuItem(QWidget *parent, int x, int y, const char *text);
	virtual ~MenuItem();
	void setBackground(QString, bool);
	void select();
	void unselect();
	void timerEvent(QTimerEvent*);
	QLabel *item;
	QString text;
	int frame;
	int timerId;
	Text *t2;
};


#endif // __MENUITEM_H__