Qt Forum

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

    Forum Updated on Feb 6th

    Solved How to modify QDialogButtonBox

    General and Desktop
    2
    3
    58
    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.
    • ademmler
      ademmler last edited by

      Hi Qt pros.

      I am looking for a way to modify a QDialogButtonBox:

      I have a default QDialogButtonBox with "Apply" and "Cancel".

      1. Can I swap positions - that Apply is on the right side?
      2. Can I disable Apply to be the default if someone hits return?

      Regards Alex

      1 Reply Last reply Reply Quote 0
      • Christian Ehrlicher
        Christian Ehrlicher Lifetime Qt Champion last edited by

        No and no. The order depends on the OS.
        You have to write your own widget.

        Qt has to stay free or it will die.

        1 Reply Last reply Reply Quote 1
        • Christian Ehrlicher
          Christian Ehrlicher Lifetime Qt Champion last edited by

          No and no. The order depends on the OS.
          You have to write your own widget.

          Qt has to stay free or it will die.

          1 Reply Last reply Reply Quote 1
          • ademmler
            ademmler last edited by

            Thx for making this clear!

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