You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
371 B
22 lines
371 B
#include "qtsgraph.h"
|
|
#include <QApplication>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication a(argc, argv);
|
|
QTSGraph w(1024,768);
|
|
w.show();
|
|
return a.exec();
|
|
}
|
|
|
|
void QTSGraph::slotstarttimer()
|
|
{
|
|
// Тут рисовать
|
|
|
|
putpixel(100,100);
|
|
delay(2000);
|
|
putpixel(300,100);
|
|
|
|
// Конец рисования
|
|
starttimer->stop();
|
|
}
|
|
|