So I've downloaded the Qt SDK to create a program that's supposed to allow users to turn on/off LEDs in a LEDcube. unfortunately Qt seems to work in C++ or some sort of hybrid between C++ and Qt's custom language
Anyway, we've had some training with C, but we're completely unfamiliar with C++. So I'm basically stuck.
I'm trying to make a button that's supposed to represent a LED. when you press it it's supposed to change colors.
1st press -> normal button turns red
2nd press -> red turns green
3rd press -> green turns orange
4th press -> orange turns back to normal button mode (LED off).
and process has to be repeatable.I've managed to do the first one of making it turn red, but beyond that I can find neither tutorials nor clues on how to make the other set of changes...
Anyone familiar enough with C++ or Qt to help out?
EDIT:
I think I might've found a way. it's not exactly where I want it yet, but I know what I need to do.
_________________
Day[9] wrote:
"Tea is a lot like gold expansions - it helps you kill people."
- Day[9] Daily 337 -