Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/KOMETA/qtSimpleGraph/commit/71318eb774ca513a0e995423d54fdd0f1f44d051?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
10 additions and
1 deletions
qtsgraph.cpp
qtsgraph.h
@ -117,7 +117,7 @@ int QTSGraph::ReadKey()
{
{
if ( ! EventKeyPressed | | IDPressedKey = = - 1 )
if ( ! EventKeyPressed | | IDPressedKey = = - 1 )
{
{
while ( ! KeyPressed ( ) )
while ( ! KeyPressed ( ) & & this - > isVisible ( ) )
Delay ( 100 ) ;
Delay ( 100 ) ;
}
}
int t = IDPressedKey ;
int t = IDPressedKey ;
@ -211,3 +211,11 @@ void QTSGraph::keyPressEvent(QKeyEvent *event)
// Нажатие Esc
// Нажатие Esc
}
}
}
}
void QTSGraph : : closeEvent ( QCloseEvent * event )
{
//Закрытие окна
delete ResetTimer ;
delete StartTimer ;
delete this ;
}
@ -130,4 +130,5 @@ protected:
void paintEvent ( QPaintEvent * event ) override ;
void paintEvent ( QPaintEvent * event ) override ;
void mousePressEvent ( QMouseEvent * event ) override ;
void mousePressEvent ( QMouseEvent * event ) override ;
void keyPressEvent ( QKeyEvent * event ) override ;
void keyPressEvent ( QKeyEvent * event ) override ;
void closeEvent ( QCloseEvent * event ) override ;
} ;
} ;