PDA

View Full Version : Handlind a slot in QT4



aditya
4th March 2010, 04:49
Hello friends me a newbie to QT.Me working on linux platform.Can anyone help me out with the following problems:
1)How to navigate from one page to another when i click the "NEXT PAGE" pushbutton
2)I want to install some applications when i click the "INSTALL" pushbutton.Me using checkboxes for this .Only the applications which are checked in the checkboxes should be installed.how should be the slots be written for this ?
I have also attached a image for the respective.

aamer4yu
4th March 2010, 05:12
Did you read Assistant ? Signals and slots are explained a lot in it. Also you can find many examples in Qt Demos using slots for button clicks.

For your problem, for buttons you will need signal/slots. For checkboxes, you can simply check the value of checkboxes in the slot and install the checked ones.