blob: 041ee5ff615c2785d7e098fad9f793ed8137ca7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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";
}
|