Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. QT Design Studio & Python
QtWS25 Last Chance

QT Design Studio & Python

Scheduled Pinned Locked Moved Unsolved Qt for Python
6 Posts 4 Posters 1.7k 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
    Captain Haddock
    wrote on last edited by
    #1

    New to Design Studio... can someone please point me to a tutorial that shows creating a UI with Design Studio and then adding logic with Python (not C++). Or am I missing the point here .. is QT Design Studio designed for C++ development?

    JonBJ JKSHJ 2 Replies Last reply
    0
    • C Captain Haddock

      New to Design Studio... can someone please point me to a tutorial that shows creating a UI with Design Studio and then adding logic with Python (not C++). Or am I missing the point here .. is QT Design Studio designed for C++ development?

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

      @Captain-Haddock
      Do you indeed mean Qt Design Studio, not Designer built into Creator? This reddit thread indicates the difficulties. Or maybe https://stackoverflow.com/questions/64188695/can-i-export-ui-file-from-qt-design-studio would work for you?

      C 1 Reply Last reply
      0
      • JonBJ JonB

        @Captain-Haddock
        Do you indeed mean Qt Design Studio, not Designer built into Creator? This reddit thread indicates the difficulties. Or maybe https://stackoverflow.com/questions/64188695/can-i-export-ui-file-from-qt-design-studio would work for you?

        C Offline
        C Offline
        Captain Haddock
        wrote on last edited by
        #3

        @JonB I do mean Design Studio. Ill look at the thread you pointed to .. thx

        1 Reply Last reply
        0
        • C Captain Haddock

          New to Design Studio... can someone please point me to a tutorial that shows creating a UI with Design Studio and then adding logic with Python (not C++). Or am I missing the point here .. is QT Design Studio designed for C++ development?

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by JKSH
          #4

          @Captain-Haddock said in QT Design Studio & Python:

          is QT Design Studio designed for C++ development?

          Qt Design Studio is for visually designing GUIs (*.ui.qml files). It is not for writing application logic.

          Once you have created your *.ui.qml files using Qt Design Studio, you use a different IDE to add JavaScript and C++/Python logic that uses these *.ui.qml files.

          can someone please point me to a tutorial that shows creating a UI with Design Studio and then adding logic with Python (not C++).

          I'm not aware of such tutorials, but the main thing you need is any tutorial that shows you how to use QML files from Python.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          JKSHJ 1 Reply Last reply
          1
          • JKSHJ JKSH

            @Captain-Haddock said in QT Design Studio & Python:

            is QT Design Studio designed for C++ development?

            Qt Design Studio is for visually designing GUIs (*.ui.qml files). It is not for writing application logic.

            Once you have created your *.ui.qml files using Qt Design Studio, you use a different IDE to add JavaScript and C++/Python logic that uses these *.ui.qml files.

            can someone please point me to a tutorial that shows creating a UI with Design Studio and then adding logic with Python (not C++).

            I'm not aware of such tutorials, but the main thing you need is any tutorial that shows you how to use QML files from Python.

            JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            @JKSH said in QT Design Studio & Python:

            the main thing you need is any tutorial that shows you how to use QML files from Python.

            Perfect timing: See https://www.qt.io/blog/qt-for-python-6.5 it has a link to the example and tutorial below:

            • https://doc-snapshots.qt.io/qtforpython-dev/examples/example_quickcontrols_filesystemexplorer.html
            • https://doc-snapshots.qt.io/qtforpython-dev/tutorials/extendedexplorer/extendedexplorer.html

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            P 1 Reply Last reply
            1
            • JonBJ JonB referenced this topic on
            • JKSHJ JKSH

              @JKSH said in QT Design Studio & Python:

              the main thing you need is any tutorial that shows you how to use QML files from Python.

              Perfect timing: See https://www.qt.io/blog/qt-for-python-6.5 it has a link to the example and tutorial below:

              • https://doc-snapshots.qt.io/qtforpython-dev/examples/example_quickcontrols_filesystemexplorer.html
              • https://doc-snapshots.qt.io/qtforpython-dev/tutorials/extendedexplorer/extendedexplorer.html
              P Offline
              P Offline
              PyRookie
              wrote on last edited by
              #6

              @JKSH said in QT Design Studio & Python:

              See https://www.qt.io/blog/qt-for-python-6.5 it has a link to the example and tutorial below:

              https://doc-snapshots.qt.io/qtforpython-dev/examples/example_quickcontrols_filesystemexplorer.html

              This link provides a number of files and folders as a ZIP file, including filesystemexplorer.py. When I run filesystemexplorer.py, the application window appears and all features work. That's great.

              But how can I generate all these files, including the corresponding Python script, if I want to run my own Design Studio project from Python? Is there a tutorial or documentation for this workflow?

              1 Reply Last reply
              2

              • Login

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