Initial commit of current work on Prime World Editor

This commit is contained in:
parax0
2015-07-26 17:39:49 -04:00
commit 66e8c2ebcb
305 changed files with 33469 additions and 0 deletions

28
UI/WColorPicker.h Normal file
View File

@@ -0,0 +1,28 @@
#ifndef WCOLORPICKER_H
#define WCOLORPICKER_H
#include <QWidget>
#include <QColor>
class WColorPicker : public QWidget
{
Q_OBJECT
QColor mColor;
public:
explicit WColorPicker(QWidget *parent = 0);
~WColorPicker();
void paintEvent(QPaintEvent *);
void keyPressEvent(QKeyEvent *Event);
void mousePressEvent(QMouseEvent *);
void mouseReleaseEvent(QMouseEvent *Event);
QColor getColor();
void setColor(QColor Color);
signals:
void colorChanged(QColor NewColor);
public slots:
};
#endif // WCOLORPICKER_H