/
githubmirror
/
x64dbg
Обзор
Документация
Войти
/
githubmirror
/
x64dbg
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
development
src/gui/Src/Utils/FlickerThread.cpp
28 строк
663 B
mrexodia
GUI: improved symbol view import behaviour + better highlight dump follow events (closes #1530)
12 апр 2017, 07:28
Не верифицирован
12 апр 2017, 07:28
221ca3d
Код
Авторство
О чём код?
#include "FlickerThread.h" #include <QStyle> #include <Windows.h> FlickerThread::FlickerThread(QWidget* widget, QObject* parent) : QThread(parent) { mWidget = widget; setProperties(); } void FlickerThread::setProperties(int count, int width, int delay) { this->count = count; this->width = width; this->delay = delay; } void FlickerThread::run() { QString oldStyle = mWidget->styleSheet(); for(int i = 0; i < count; i++) { emit setStyleSheet(QString("QWidget { border: %1px solid red; }").arg(width)); Sleep(delay); emit setStyleSheet(oldStyle); Sleep(delay); } }