новые иконки в OpenBoard
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.
OpenBoard/src/gui/UBWidgetMirror.h

35 lines
604 B

/*
* UBWidgetMirror.h
*
* Created on: Nov 25, 2008
* Author: luc
*/
#ifndef UBWIDGETMIRROR_H_
#define UBWIDGETMIRROR_H_
#include <QtGui>
class UBWidgetMirror : public QWidget
{
Q_OBJECT;
public:
UBWidgetMirror(QWidget* sourceWidget, QWidget* parent = 0);
virtual ~UBWidgetMirror();
public slots:
void setSourceWidget(QWidget *sourceWidget);
protected:
bool eventFilter(QObject *obj, QEvent *event);
virtual void paintEvent ( QPaintEvent * event );
private:
QWidget* mSourceWidget;
};
#endif /* UBWIDGETMIRROR_H_ */