diff options
author | Ken Moore <ken@ixsystems.com> | 2017-09-26 14:04:24 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-09-26 14:04:24 -0400 |
commit | a8ab0934e4782a14206cba544c846a34947cce36 (patch) | |
tree | f032428eca9b7938b43b6f06f67da554d0faf2b0 /src-qt5/src-glwidgets/gltest/main.cpp | |
parent | Fix up the close event handling in lumina-textedit. Now it will actually clos... (diff) | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-a8ab0934e4782a14206cba544c846a34947cce36.tar.gz lumina-a8ab0934e4782a14206cba544c846a34947cce36.tar.bz2 lumina-a8ab0934e4782a14206cba544c846a34947cce36.zip |
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/src-glwidgets/gltest/main.cpp')
-rw-r--r-- | src-qt5/src-glwidgets/gltest/main.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src-qt5/src-glwidgets/gltest/main.cpp b/src-qt5/src-glwidgets/gltest/main.cpp new file mode 100644 index 00000000..041ee5ff --- /dev/null +++ b/src-qt5/src-glwidgets/gltest/main.cpp @@ -0,0 +1,26 @@ +#include <QDebug> +#include <QApplication> +#include <QTimer> +#include <QColor> + +#include "../glw-base.h" +#include "../glw-widget.h" + +#include "colorchange.h" + +int main(int argc, char** argv){ + QApplication A(argc,argv); + qDebug() << "Creating base widget"; + GLW_Base base; + qDebug() << "Resize base widget"; + base.resize(200,200); + qDebug() << "Create colorchange"; + GLW_Widget wgt(&base); + wgt.setGLBase(&base); + wgt.setGeometry(50,50,50,50); + colorchange CC(&base); + qDebug() << "Start Event loop"; + base.show(); + A.exec(); + qDebug() << " - Finished"; +} |