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. Custom Widgets on qt designer
Forum Updated to NodeBB v4.3 + New Features

Custom Widgets on qt designer

Scheduled Pinned Locked Moved Solved General and Desktop
pyqt5custombutton
5 Posts 2 Posters 2.2k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    MafiaSkafia
    wrote on 11 Jun 2018, 19:09 last edited by
    #1

    Hello, so i was wondering if it's possible to create something like this widget (the tab widget with Templates, Database, etc) using qt designer: 0_1528743959584_example.PNG
    I looked around but didn't find any option that let me build something modern like this.. I would like also to know if it's possible to create custom buttons like those in the picture (rounded corners).
    I would be very appreciated if someone could help me out!

    Thanks in advance!

    Cheers

    PS: I'll be using pyqt5 to connect things

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 11 Jun 2018, 19:33 last edited by
      #2

      Hi
      You could use
      http://doc.qt.io/qt-5/qtoolbox.html
      It function like that, but you will have to style it to look
      that fancy.

      alt text

      M 1 Reply Last reply 11 Jun 2018, 19:53
      3
      • M mrjj
        11 Jun 2018, 19:33

        Hi
        You could use
        http://doc.qt.io/qt-5/qtoolbox.html
        It function like that, but you will have to style it to look
        that fancy.

        alt text

        M Offline
        M Offline
        MafiaSkafia
        wrote on 11 Jun 2018, 19:53 last edited by
        #3

        @mrjj oh thank you! But how can you style it? Is it directly in qt designer or do i have to use qt creator? I am mainly interest in having tabs with rounded corners.

        M 1 Reply Last reply 11 Jun 2018, 20:23
        0
        • M MafiaSkafia
          11 Jun 2018, 19:53

          @mrjj oh thank you! But how can you style it? Is it directly in qt designer or do i have to use qt creator? I am mainly interest in having tabs with rounded corners.

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 11 Jun 2018, 20:23 last edited by mrjj 6 Nov 2018, 20:58
          #4

          @MafiaSkafia
          Yes, if you right click it, it has Change Stylesheet editor
          and you can read about the syntax here
          http://doc.qt.io/qt-5/stylesheet-syntax.html

          Note: if using python, you might be using standalone Designer.
          I dont know if it also has StyleSheet editor as Designer in Creator has.

          M 1 Reply Last reply 11 Jun 2018, 23:02
          2
          • M mrjj
            11 Jun 2018, 20:23

            @MafiaSkafia
            Yes, if you right click it, it has Change Stylesheet editor
            and you can read about the syntax here
            http://doc.qt.io/qt-5/stylesheet-syntax.html

            Note: if using python, you might be using standalone Designer.
            I dont know if it also has StyleSheet editor as Designer in Creator has.

            M Offline
            M Offline
            MafiaSkafia
            wrote on 11 Jun 2018, 23:02 last edited by MafiaSkafia 6 Nov 2018, 23:18
            #5

            @mrjj okay thank you very much! And yes, my Designer also have a StyleSheet editor like this:

            0_1528759090155_style.PNG

            Cheers

            1 Reply Last reply
            0

            3/5

            11 Jun 2018, 19:53

            • Login

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