diff options
| author | Bryan Galdrikian <[email protected]> | 2017-08-23 11:24:32 -0700 |
|---|---|---|
| committer | Bryan Galdrikian <[email protected]> | 2017-08-23 11:24:32 -0700 |
| commit | f1e539cadfb085cedc32f9773cfb9d14bfcdf138 (patch) | |
| tree | 7ca74e06a4386dd22fd850a8417a31a85d282a30 /tools/CurveEditor/source/Internal/Window/AlphaDialog.h | |
| parent | Updated to CL 22661993: (diff) | |
| download | blast-f1e539cadfb085cedc32f9773cfb9d14bfcdf138.tar.xz blast-f1e539cadfb085cedc32f9773cfb9d14bfcdf138.zip | |
Removing ArtistTools and CurveEditor projects
Diffstat (limited to 'tools/CurveEditor/source/Internal/Window/AlphaDialog.h')
| -rw-r--r-- | tools/CurveEditor/source/Internal/Window/AlphaDialog.h | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/tools/CurveEditor/source/Internal/Window/AlphaDialog.h b/tools/CurveEditor/source/Internal/Window/AlphaDialog.h deleted file mode 100644 index 985d0b4..0000000 --- a/tools/CurveEditor/source/Internal/Window/AlphaDialog.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef ALPHADIALOG_H -#define ALPHADIALOG_H - -#include <QtWidgets/QDialog> - -namespace Ui { - class AlphaDialog; -} - -namespace nvidia { -namespace CurveEditor { - -class AlphaDialog : public QDialog -{ - Q_OBJECT - -public: - static int getAlpha(int alpha = 255, QWidget *parent = 0); - - explicit AlphaDialog(QWidget *parent = 0, int alpha = 255); - ~AlphaDialog(); - -protected: - // QWidget events - virtual void paintEvent(QPaintEvent * e); - - virtual void mousePressEvent(QMouseEvent* e); - virtual void mouseReleaseEvent(QMouseEvent* e); - virtual void mouseMoveEvent(QMouseEvent* e); -private slots: - void on_spinBoxAlpha_valueChanged(int arg1); - -private: - void drawAlphaRectangle(QPainter& painter); - void drawCursor(QPainter& painter, int xPos); - -private: - Ui::AlphaDialog *ui; - bool _drag; - int _alpha; - int _xOffset; -}; - -} // namespace CurveEditor -} // namespace nvidia - -#endif // ALPHADIALOG_H |