Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    Promote QButtonGroup

    General and Desktop
    4
    5
    1047
    Loading More Posts
    • 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.
    • ?
      A Former User last edited by

      Hi,

      How can we promote a QButtonGroup in the Qt designer or in C++ code. I tried to do the "promote" feature in Qt designer, but for QButtonGroup i didnt see this option available.

      Regards
      Ansif

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        @
        class Myubclass : public QButtonGroup
        {

        };
        @

        (Z(:^

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User last edited by

          Thank you. I know how to create a derived class for QButtonGroup. The problem is that i cannot able to use the promote feature in the Qt designer for QButtonGroup.

          1 Reply Last reply Reply Quote 0
          • M
            mistic100 last edited by

            Hi @ansifpi, did you find how to promote a QButtonGroup ?

            mrjj 1 Reply Last reply Reply Quote 0
            • mrjj
              mrjj Lifetime Qt Champion @mistic100 last edited by mrjj

              @ansifpi said:

              Hi, I dont think its possible directly with QButtonGroup
              as not a visual widget and created on the go. (in Qt4+)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post