Go to advanced search

by ronaldsnoeck
Sat Mar 05, 2016 11:46 am
Forum: C/C++
Topic: Qt with Wiring PI
Replies: 26
Views: 33472

Re: Qt with Wiring PI

The next code is working. #include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); this->setStyleSheet("background-color: pink;"); ui->switch_on->setStyleSheet("background-color: rgb(255,0,0)"); ui->...

Go to advanced search