Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to make buttons switch
Forum Updated to NodeBB v4.3 + New Features

How to make buttons switch

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 396 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.
  • C Offline
    C Offline
    chaikovskyii
    wrote on last edited by chaikovskyii
    #1

    forum.jpg
    I need my form to switch between these buttons two "Sign in" and "Sign up"
    Is it possible to do this in QT Designer? If yes, than what should I use?Tabs?
    (Thanks in advance)

    JonBJ 1 Reply Last reply
    0
    • C chaikovskyii

      forum.jpg
      I need my form to switch between these buttons two "Sign in" and "Sign up"
      Is it possible to do this in QT Designer? If yes, than what should I use?Tabs?
      (Thanks in advance)

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by
      #2

      @chaikovskyii
      Yes, look at QTabWidget Class.

      1 Reply Last reply
      1
      • C Offline
        C Offline
        chaikovskyii
        wrote on last edited by
        #3

        but is it real to customize tabs like on my screenshot?

        JonBJ A 2 Replies Last reply
        0
        • C chaikovskyii

          but is it real to customize tabs like on my screenshot?

          JonBJ Online
          JonBJ Online
          JonB
          wrote on last edited by JonB
          #4

          @chaikovskyii
          Have you looked at the docs? Have you tried it from Designer? How knows what "to customize tabs like on my screenshot" means to you? Maybe you mean the fields on each tab [yes], maybe you mean the curvature you show on the tabs [probably], maybe the color of the selected tab [yes]....

          1 Reply Last reply
          0
          • C chaikovskyii

            but is it real to customize tabs like on my screenshot?

            A Offline
            A Offline
            anil_arise
            wrote on last edited by
            #5

            @chaikovskyii first read the doc refered by @JonB

            example ui file

            Screenshot_SignIn.png

            Screenshot_SignUp.png

            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