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 create this widget with PySide or QtDesigner?
QtWS25 Last Chance

How to create this widget with PySide or QtDesigner?

Scheduled Pinned Locked Moved Solved General and Desktop
pysidepyqtqtdesignerpyqt4python
8 Posts 2 Posters 3.3k 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
    curiosport
    wrote on 10 Apr 2016, 23:00 last edited by curiosport 4 Oct 2016, 23:27
    #1

    A widget so I need :(
    Image
    How I can do it from Qt Designer?
    It is for programming with Python.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 10 Apr 2016, 23:15 last edited by
      #2

      hi and welcome
      The image you link to ask for login so people might not see it and reduce
      you chance for answers.

      C 1 Reply Last reply 10 Apr 2016, 23:30
      1
      • M mrjj
        10 Apr 2016, 23:15

        hi and welcome
        The image you link to ask for login so people might not see it and reduce
        you chance for answers.

        C Offline
        C Offline
        curiosport
        wrote on 10 Apr 2016, 23:30 last edited by
        #3

        Image
        @mrjj I already edited, thanks for advise.

        1 Reply Last reply
        1
        • M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 10 Apr 2016, 23:37 last edited by
          #4

          Super
          There is no direct Extender widget available but you can
          have a look at ToolBox widget.
          Alternativ you would create a custom widget and paint and handle
          the expansion yourself.

          When its expanded, what items can be in the expanded part?
          If only text then its also somewhat close to a combobox widget.

          C 1 Reply Last reply 11 Apr 2016, 00:06
          1
          • M mrjj
            10 Apr 2016, 23:37

            Super
            There is no direct Extender widget available but you can
            have a look at ToolBox widget.
            Alternativ you would create a custom widget and paint and handle
            the expansion yourself.

            When its expanded, what items can be in the expanded part?
            If only text then its also somewhat close to a combobox widget.

            C Offline
            C Offline
            curiosport
            wrote on 11 Apr 2016, 00:06 last edited by
            #5

            @mrjj create a custom widget and paint and handle
            the expansion yourself.

            Give me a video tutorial please.

            M 1 Reply Last reply 11 Apr 2016, 00:15
            0
            • C curiosport
              11 Apr 2016, 00:06

              @mrjj create a custom widget and paint and handle
              the expansion yourself.

              Give me a video tutorial please.

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 11 Apr 2016, 00:15 last edited by
              #6

              @curiosport
              sorry I know of no video tutorials.
              This article might be of use
              https://doc.qt.io/archives/qq/qq26-pyqtdesigner.html
              (even if a bit old)
              http://zetcode.com/gui/pyqt4/customwidgets/
              this seems fairly new
              http://downloadandlearning.blogspot.dk/2013/04/making-custom-widget-in-pyqt.html

              C 1 Reply Last reply 11 Apr 2016, 00:20
              2
              • M mrjj
                11 Apr 2016, 00:15

                @curiosport
                sorry I know of no video tutorials.
                This article might be of use
                https://doc.qt.io/archives/qq/qq26-pyqtdesigner.html
                (even if a bit old)
                http://zetcode.com/gui/pyqt4/customwidgets/
                this seems fairly new
                http://downloadandlearning.blogspot.dk/2013/04/making-custom-widget-in-pyqt.html

                C Offline
                C Offline
                curiosport
                wrote on 11 Apr 2016, 00:20 last edited by
                #7

                @mrjj Thank you, if I served.
                Just one last thing, how I can install these files in QtDesigner ??
                http://qt-apps.org

                M 1 Reply Last reply 11 Apr 2016, 00:27
                0
                • C curiosport
                  11 Apr 2016, 00:20

                  @mrjj Thank you, if I served.
                  Just one last thing, how I can install these files in QtDesigner ??
                  http://qt-apps.org

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 11 Apr 2016, 00:27 last edited by mrjj 4 Nov 2016, 00:28
                  #8

                  @curiosport
                  this is cpp files so you need cpp compiler.
                  Then you would open the qiron.pro and compile it all.
                  It would produce some DLLS in the plugin folder.
                  Those should be copied to the plugin folder in QtCreator.

                  Note: the source is for older Qt 4.6 so it might have compile
                  errors u need to fix if using newer Qt.

                  1 Reply Last reply
                  2

                  8/8

                  11 Apr 2016, 00:27

                  • Login

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