Skip to content

Language Bindings

You're using Qt with other languages than C++, eh? Post here!
853 Topics 3.3k Posts
  • 0 Votes
    9 Posts
    3k Views
    JKSHJ

    @jihong said:

    I Can't get GB18030 for " availableCodecs " in custorm't cmputer,

    Try Qt 5.

  • using shiboken to wrap non-QObject classes

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    SGaistS

    You're welcome !

    Since everything is ok, please mark the thread as solved using the "Topic Tool" button so other forum users may know a solution has been found :)

    Also, while browsing the forum, consider up-voting answers that helped you. That will make them easier to find for other people :)

  • Application stalls with query/table models in PyQt5

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    M

    Sorry, I've been pretty busy these days and looks like I'll be for a while, I'll get to it whenever I get some free time. Also, I've run into another problem, this time with the QtPrintSupport module, what it prints using Qt5 is completely different to what it prints in Qt4, among other things it completely ignores the margins settings, but right now I can't get to it. Thanks anyway!

  • qRegisterAnimationInterpolator in PyQt

    Unsolved
    1
    0 Votes
    1 Posts
    581 Views
    No one has replied
  • Python inside QtCreator

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS

    Hi and welcome to devnet,

    You can use PyQt for your Qt + Python application. You have here the documentation for using QML in that context.

  • Linguist file *.qm into CMakeList.txt ?

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS

    Hi,

    You have in Qt's cmake documentation the explanation of the variable to use for that.

  • GUI development using PySide

    2
    0 Votes
    2 Posts
    684 Views
    SGaistS

    Hi and welcome to devnet,

    You can use QProcess with PySide the same way you would in C++.

    What do you mean by "connect to the main python code" ?

  • 0 Votes
    3 Posts
    738 Views
    GofferG

    @jsulm

    I found out.
    stupid mistake, I was overiding self.parent = parent in my init() ...

  • Educational application for databases

    3
    0 Votes
    3 Posts
    831 Views
    gabodevG

    @SGaist Thank you! :)

  • PyQt4 Signal to PyQt5 Signal Convert?

    4
    0 Votes
    4 Posts
    2k Views
    jazzycamelJ

    If you are trying to emit the signal selectedInfoChanged then you would do as follows:

    self.selectedInfoChanged.emit(packages, packagesSize, extraPackages, extraPackagesSize)

    If you are trying to declare a signal with that signature then you would do the following:

    class MyClass(QObject): selectedInfoChanged=pyqtSignal(int, str, int, str)

    Note: a signal must be a class attribute not an instance attribute and QString is not supported by PyQt5, just use python strings (PyQt5 automatically converts them to C++ QStrings).

    Hope this helps ;-)

  • 0 Votes
    2 Posts
    2k Views
    F

    found out!
    dropEvent() method of DragWidget() class needed to be modfied to
    get X and Y of dropped icon and pass those value to self.minimumSize()

    if newIcon.y()+32 > self.minimumHeight(): self.setMinimumHeight(newIcon.y()+32) if newIcon.x()+32 > self.minimumWidth(): self.setMinimumWidth(newIcon.x()+32)
  • 0 Votes
    1 Posts
    565 Views
    No one has replied
  • Singleton Class

    Locked
    2
    0 Votes
    2 Posts
    714 Views
    SGaistS

    Hi,

    Please, don't post the same question in multiple sub forums, one is enough.

    Duplicates

    Closing this one

  • This topic is deleted!

    Locked
    2
    0 Votes
    2 Posts
    18 Views
  • 0 Votes
    2 Posts
    2k Views
    SGaistS

    Hi,

    PyQt is a library providing python Qt bindings for python, that means you can write python application with e.g. Qt GUI.

    QtScript is a (now deprecated) official module from Qt providing javascript style scripting capabilities that is replaced by the QtQml module.

    QtLua is a external Qt module written to provide Lua scripting capabilities to Qt applications.

    Hope it helps

  • 0 Votes
    2 Posts
    1k Views
    M

    It appears that at least one person is trying to resurrect PySide in a new github repo.

  • QML Button & ListModel

    5
    0 Votes
    5 Posts
    2k Views
    p3c0P

    @Marine93 Well then you need a SortFilterProxyModel. It is based upon C++ QSortFilterProxyModel class. About the working you can find in this blog post. It shows for TableView but it will work for ListView too. Basically it will for those views which uses ListModel. You can find examples in Qt installed directory on your system too under quick directory.

  • ActionScript 3.0 to Qt

    1
    0 Votes
    1 Posts
    754 Views
    No one has replied
  • 0 Votes
    2 Posts
    2k Views
    SGaistS

    Hi and welcome to devnet,

    For licensing related question, you should contact The Qt Company directly. You should find the licensing texts directly in the sources

  • 0 Votes
    1 Posts
    695 Views
    No one has replied