Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Symbian Options button (QAction::PositiveSoftKey)
QtWS25 Last Chance

Symbian Options button (QAction::PositiveSoftKey)

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    grumpy
    wrote on last edited by
    #1

    Hello,

    I have a few questions about the Symbian "Options" button:

    • Is the options button basically a QPushButton or something else?

    • Can I get a pointer to it so that I can change the stylesheet etc?

    • Is there some signal sent which would tell me that it has been pressed?

    Grateful as always for any help I can get!

    Grumpy

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jbarron
      wrote on last edited by
      #2

      bq. - Is the options button basically a QPushButton or something else?

      It is not a QPushButton. The control is an S60 control called the CBA.

      bq. - Can I get a pointer to it so that I can change the stylesheet etc?

      Nope since it's not a QWidget subclass.

      bq. - Is there some signal sent which would tell me that it has been pressed?

      You can register QActions to the softkeys using QWidget::addAction() and when the softkey is pressed, the QAction will emit the triggered() signal. Take a look at examples/widgets/softkeys.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        grumpy
        wrote on last edited by
        #3

        Thanks! Getting the triggered() signal is a good start.

        Grumpy

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved