Hi, I am new to Qt.
I am writing a small app for my N900 which displays the dip switch settings for various devices which are used in my line of work. The dip switches represent unique addresses and essentially are just binary numbers (not quite but close enough for this discussion).
I have a horizontal slider connected to a QLCDNumber, when the slider is used the lcd number displays a value and a custom slot updates a row of 1-digit QLCDNumbers with the not quite binary version of the number which represents the dip switch positions. Its simple and works perfectly well.
However I would also like the app to work in reverse, i.e. the user toggles the various 'dip switches' (digits of the QLCDNumbers) the first QLCDNumber and slider would then update to represent the relevant number.
Easy I thought; I'll just use the QLCDNumber's clicked() signal to connect to custom slot to do the work. The user will click on a digit and the digit will toggle between 1 and 0. Then I realised that there isn't a clicked() signal available.
So after this rather long pre-amble my question is: I know custom signals can be created for my own objects but can I create a custom signal for the existing stuff such as QLCDNumber? Oh and of course; if so how?
Thanks in advance.