aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/src-glwidgets/glw-widget.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-10-09 22:28:38 -0400
committerKen Moore <ken@ixsystems.com>2017-10-09 22:28:38 -0400
commit4723568e850cf593b2212054a766c5d7b6051739 (patch)
tree97c6eeaa89a32666a95b12d31cd59eff960637e4 /src-qt5/src-glwidgets/glw-widget.h
parentRead the default app desktop files from full path to fix settings persistance... (diff)
downloadlumina-4723568e850cf593b2212054a766c5d7b6051739.tar.gz
lumina-4723568e850cf593b2212054a766c5d7b6051739.tar.bz2
lumina-4723568e850cf593b2212054a766c5d7b6051739.zip
Remove the src-glwidgets tree. No longer needed since it has been replaced by the src-qml source tree.
Diffstat (limited to 'src-qt5/src-glwidgets/glw-widget.h')
-rw-r--r--src-qt5/src-glwidgets/glw-widget.h63
1 files changed, 0 insertions, 63 deletions
diff --git a/src-qt5/src-glwidgets/glw-widget.h b/src-qt5/src-glwidgets/glw-widget.h
deleted file mode 100644
index 69d3515d..00000000
--- a/src-qt5/src-glwidgets/glw-widget.h
+++ /dev/null
@@ -1,63 +0,0 @@
-//===========================================
-// Lumina-desktop source code
-// Copyright (c) 2017, Ken Moore
-// Available under the 3-clause BSD license
-// See the LICENSE file for full details
-//===========================================
-#ifndef _LUMINA_OPENGL_WIDGETS_WIDGET_H
-#define _LUMINA_OPENGL_WIDGETS_WIDGET_H
-
-#include <QWidget>
-#include <QPaintEvent>
-#include <QStylePainter>
-#include <QResizeEvent>
-#include <QStylePainter>
-
-#include "glw-base.h"
-
-class GLW_Widget : public QWidget{
- Q_OBJECT
-private:
- GLW_Base *glw_base;
- QPoint drag_offset;
- bool draggable;
-
-public:
- GLW_Widget(QWidget *parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags());
- ~GLW_Widget();
-
- QRect widgetRect(); //converts to the coordinate scheme of the base widget
- bool mouseOverWidget();
-
- void setGLBase(GLW_Base *base);
-
- virtual void paintYourself(QStylePainter *painter, const QRect *prect);
- void paintChildren(QStylePainter *painter, const QRect *prect);
-
- //Properties
- bool isDraggable(){ return draggable; }
-
-private slots:
-
-public slots:
- void setDraggable(bool drag){ draggable = drag; }
-
-
-protected:
- virtual void enterEvent(QEvent*);
- virtual void leaveEvent(QEvent*);
-
- virtual void mousePressEvent(QMouseEvent *ev);
- virtual void mouseReleaseEvent(QMouseEvent *ev);
- virtual void mouseMoveEvent(QMouseEvent *ev);
- virtual void moveEvent(QMoveEvent *ev);
- virtual void resizeEvent(QResizeEvent *ev);
- virtual void paintEvent(QPaintEvent *ev);
-
-signals:
- void repaintArea(QRect);
- void doneDragging();
-};
-
-Q_DECLARE_INTERFACE(GLW_Widget, "GLW_Widget");
-#endif
bgstack15