combjs

diff gui/droplist.h @ 1:dd02002227a2

- added a few commandline arguments to combjs - trying to make a gui frontend
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 14 Jul 2011 15:40:20 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gui/droplist.h	Thu Jul 14 15:40:20 2011 +0300
     1.3 @@ -0,0 +1,18 @@
     1.4 +#ifndef DROPLIST_H_
     1.5 +#define DROPLIST_H_
     1.6 +
     1.7 +#include <QListWidget>
     1.8 +
     1.9 +/* a custom drop-target list for the virtual joystick creation */
    1.10 +class DropList : public QListWidget {
    1.11 +	Q_OBJECT
    1.12 +protected:
    1.13 +	void dragMoveEvent(QDragMoveEvent *ev);
    1.14 +	void dragEnterEvent(QDragEnterEvent *ev);
    1.15 +	void dropEvent(QDropEvent *ev);
    1.16 +
    1.17 +public:
    1.18 +	DropList(QWidget *parent);
    1.19 +};
    1.20 +
    1.21 +#endif	/* DROPLIST_H_ */