Qt Forum

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

    Solved How to create this widget with PySide or QtDesigner?

    General and Desktop
    pyside pyqt qtdesigner pyqt4 python
    2
    8
    2846
    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.
    • curiosport
      curiosport last edited by curiosport

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

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

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

        curiosport 1 Reply Last reply Reply Quote 1
        • curiosport
          curiosport @mrjj last edited by

          Image
          @mrjj I already edited, thanks for advise.

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

            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.

            curiosport 1 Reply Last reply Reply Quote 1
            • curiosport
              curiosport @mrjj last edited by

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

              Give me a video tutorial please.

              mrjj 1 Reply Last reply Reply Quote 0
              • mrjj
                mrjj Lifetime Qt Champion @curiosport last edited by

                @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

                curiosport 1 Reply Last reply Reply Quote 2
                • curiosport
                  curiosport @mrjj last edited by

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

                  mrjj 1 Reply Last reply Reply Quote 0
                  • mrjj
                    mrjj Lifetime Qt Champion @curiosport last edited by mrjj

                    @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 Reply Quote 2
                    • First post
                      Last post