Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/KOMETA/qtSimpleGraph/src/commit/bd2e6fc1c791ca5aa0253d5704e0e7839228d87f/main.cpp You should set ROOT_URL correctly, otherwise the web may not work correctly.
 
 
qtSimpleGraph/main.cpp

31 lines
495 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);
int x=1;
while(!MouseClicked() && x < 1024)
{
PutPixel(x,50);
x+=1;
Delay(200);
}
// Конец рисования
StartTimer->stop();
}