summaryrefslogtreecommitdiff
path: root/client/videowidget.h
diff options
context:
space:
mode:
authordeva <deva>2006-04-03 08:20:25 +0000
committerdeva <deva>2006-04-03 08:20:25 +0000
commit8baafaa4593033e1b95dfd985911e1f87c9f8eb7 (patch)
treed767a363f4e5214a10aeef11584cd50ef4ba0aa4 /client/videowidget.h
parent451678d3aadf81b6f39f2f0e7957f4bf704bf9af (diff)
*** empty log message ***
Diffstat (limited to 'client/videowidget.h')
-rw-r--r--client/videowidget.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/client/videowidget.h b/client/videowidget.h
index 1647e28..d5e77bc 100644
--- a/client/videowidget.h
+++ b/client/videowidget.h
@@ -27,17 +27,31 @@
#ifndef __VIDEOWIDGET_H__
#define __VIDEOWIDGET_H__
-#include <QTextEdit>
+//#include <QTextEdit>
+#include <QWidget>
#include <QPixmap>
+#include <QMutex>
-class VideoWidget : public QTextEdit
+class VideoWidget : public QWidget
{
Q_OBJECT
public:
VideoWidget();
~VideoWidget();
+ int getX();
+ int getY();
+ int getWidth();
+ int getHeight();
+
void mouseReleaseEvent(QMouseEvent *event);
+ void moveEvent(QMoveEvent *event);
+ void resizeEvent(QResizeEvent *event);
+
+private:
+ QSize mysize;
+ QPoint myposition;
+ QMutex mutex;
};
#endif /* __VIDEOWIDGET_H__ */