🎄T
Size: a a a
🎄T
Е
🎄T
Е
m
M
dialog->setAttribute(Qt::WA_DeleteOnClose);
🎄T
🎄T
Е
🎄T
m
Е
DB::insert(getModel())
🎄T
m
Е
M
Timer
в QML? Там спящий тред? У меня просто таймер с интервалом 1с, я его пытаюсь перезапустить кастомной функцией, а он сначала до конца отрабатывает, и только потом меняется. Выходит фриз на 1с, можно как-то пофиксить?The Timer type is synchronized with the animation timer. Since the animation timer is usually set to 60fps, the resolution of Timer will be at best 16ms. If the Timer is running and one of its properties is changed, the elapsed time will be reset. For example, if a Timer with interval of 1000ms has its repeat property changed 500ms after starting, the elapsed time will be reset to 0, and the Timer will be triggered 1000ms later.
🎄T
Е
The Timer type is synchronized with the animation timer. Since the animation timer is usually set to 60fps, the resolution of Timer will be at best 16ms. If the Timer is running and one of its properties is changed, the elapsed time will be reset. For example, if a Timer with interval of 1000ms has its repeat property changed 500ms after starting, the elapsed time will be reset to 0, and the Timer will be triggered 1000ms later.