C++ (Qt)ui->progressBar_Homo->setStyleSheet("QProgressBar::chunk {background: qlineargradient(x1: 0, y1: 0.5, x2: 1, y2: 1.5, stop: 0 red, stop: 1 white);}");
C++ (Qt)// сигналvoid play_EnDiz(bool); //отправляюif... play_EnDiz(true);else play_EnDiz(false); //слотvoid enabledChange(bool x); //соединяюQObject::connect(FH, SIGNAL(play_EnDiz(bool)), ui->pushButton_2->enabledChange(x);, SLOT(BPL_EnDiz(x)));
C++ (Qt) #include <QTest>...QTest::qWait(1000)
C++ (Qt) sleep(1000);