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 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
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on 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
      3
      • mrjjM mrjj

        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 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.

        mrjjM 1 Reply Last reply
        0
        • M MafiaSkafia

          @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.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by mrjj
          #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
          2
          • mrjjM mrjj

            @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 last edited by MafiaSkafia
            #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

            • Login

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