// QTimer 1 sec 반복
QTimer *timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(reload()));
timer -->start(1000);

// QTimer 1 sec 후에 한번
QTimer::singleShot(1000, this, SLOT(reload()));

'Programming > QT' 카테고리의 다른 글

QT GUI  (0) 2021.06.10
Event  (0) 2021.06.10
QT Deploy release only  (0) 2021.04.14
Pdf 출력  (0) 2020.11.17
checkbox group  (0) 2020.08.11

+ Recent posts