×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    37

    Question QPushButton feature required????Plz help

    Hi,
    Guys, I am struggling to get a special feature for push button.I want the image on the button to jump twice and do its operation.Am unable to find its property to change for this to happen.
    I want in increase look and feel for the button as we have it in most of our phones.
    thanks a lot guys....hope you got my problem and help me asap...
    Thanks
    Regards
    chirpylife

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: QPushButton feature required????Plz help

    Do you want to animate QPushButton's icon? Am I correct?

  3. #3
    Registered User
    Join Date
    Oct 2008
    Posts
    37

    Re: QPushButton feature required????Plz help

    hi Daniil,
    thanks for your reply...
    ya kinda..
    I want some special effects on the button on pressing it...
    something like blinking twice or just zooming out and then becoming normal..
    hope you can help me in right direction..thanks a lot
    Regards
    Chirpylife

  4. #4
    Registered User
    Join Date
    Dec 2009
    Posts
    39

    Re: QPushButton feature required????Plz help

    Hi chirpylife,

    You can use stylesheets to change the attributes, such as colours, size, etc, when pressing or hovering over a QPushButton. These examples explain it rather well: http://doc.trolltech.com/4.6/stylesheet-examples.html

    I'm not sure, however, that stylesheets allow the kind of customization you have in mind? If this is the case, I would have a look at overriding the drawcontrol() function of the QPushButton, like in this example: http://qt.nokia.com/developer/faqs/736

    Hope that helps,

    //Lennart

  5. #5
    Registered User
    Join Date
    Oct 2008
    Posts
    37

    Re: QPushButton feature required????Plz help

    Hi Lennart,
    I will look in to that ..
    thanks a lot,
    Chirpylife

Similar Threads

  1. Python S60 Emulator
    By NAYSAMBO in forum Symbian
    Replies: 25
    Last Post: 2009-04-08, 10:22
  2. Icons in s60
    By drizzt6 in forum Mobile Java General
    Replies: 5
    Last Post: 2009-03-06, 09:32
  3. Unlocking the Application install feature on 6265i
    By romar_mro in forum PC Suite API and PC Connectivity SDK
    Replies: 3
    Last Post: 2009-02-16, 16:59
  4. Carbide c++ and S60 3rd Edition Feature Pack 1 Working
    By jimgilmour1 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2006-10-18, 20:39
  5. nokia 3650 feature request... calling card
    By prussiap in forum General Development Questions
    Replies: 1
    Last Post: 2004-02-12, 16:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×