Results 1 to 2 of 2

Thread: Handlind a slot in QT4

  1. #1
    Join Date
    Mar 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Handlind a slot in QT4

    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.
    Attached Images Attached Images

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Handlind a slot in QT4

    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.

Similar Threads

  1. no such slot
    By eGamer in forum Qt Programming
    Replies: 10
    Last Post: 24th June 2009, 11:58
  2. Where to add slot
    By garry_3peace in forum Newbie
    Replies: 2
    Last Post: 24th August 2008, 14:24
  3. no such slot
    By JeanC in forum Qt Programming
    Replies: 4
    Last Post: 26th January 2008, 11:39
  4. Slot
    By mickey in forum Qt Programming
    Replies: 1
    Last Post: 22nd July 2006, 18:51
  5. signal slot conection using a string, not a SLOT
    By rianquinn in forum Qt Programming
    Replies: 6
    Last Post: 5th February 2006, 18:52

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.