Skip to content

Language Bindings

You're using Qt with other languages than C++, eh? Post here!
863 Topics 3.4k Posts
  • Pyside 1.0.0

    2
    0 Votes
    2 Posts
    2k Views
    R
    As far as I know, pyside only work with python 2.* versions *Could be mistaken. :)
  • [Solved] QT: editable tableview header issue.

    5
    0 Votes
    5 Posts
    5k Views
    R
    [quote]That's why editing headers is difficult :-)[/quote] Oey, In the back of my mind I was thinking the same thing. Aside from a custom widget (have yet to figure out painting), editing works if passing header information into an external dialog. Not exactly what I intended for the user, but it works :) Thank you for your kind help.
  • Install Qt Jambi using PPA

    5
    0 Votes
    5 Posts
    5k Views
    A
    The 64bit packages are ready for testing. "https://launchpad.net/~qtjambi-community/+archive/libqtjambi/+packages":https://launchpad.net/~qtjambi-community/+archive/libqtjambi/+packages
  • 0 Votes
    2 Posts
    3k Views
    D
    Great work! I'm looking forward for the final release! However, as the project is sponsored by Nokia, to provide Python support for mobile phones (I read it somewhere on the project's website), will there be any repercussion on the project? (Reference to http://blog.qt.nokia.com/2011/02/14/update-on-qt/, for example.) I didn't read anything about it...
  • Setting QList of cookies in QNetworkRequest in PySide

    1
    0 Votes
    1 Posts
    6k Views
    No one has replied
  • [PerlQt4] Building on Windows

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Python for Qt version 1.0.0~beta5 "color blind" released

    3
    0 Votes
    3 Posts
    2k Views
    R
    The last release was at January 21th, this new yesterday juts 13 days after, because our "sprint " is in the end and we fixed the planned bugs faster than we thought, and all task as done 2 days earlier. :D Working hard to get 1.0.0 ASAP. :D
  • Problem with QImage and QPixmap

    3
    0 Votes
    3 Posts
    7k Views
    M
    Thanks, it worked! I was using img.tostring() (from OpenCV), that is why I didn't think that it is going to be garbage collected and I didn't suspect that Qt is so smart to use the same memory instead of allocating and copying. Thanks again!
  • Python for Qt version 1.0.0~beta4 "I have altered the deal" released

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Problem installing PySide with easy_install

    2
    0 Votes
    2 Posts
    5k Views
    P
    The problem was caused by 64bit Python installation. Using 32bit Python solved the problem.
  • Installing PySide from within virtualenv

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • [Moved] Drop Event on QTextBrowser ? (PyQt)

    5
    0 Votes
    5 Posts
    6k Views
    A
    Thanks for your help. I managed to find my problem. I actually need to accept dragMoveEvent which is the type of Drag action that emit a TextBrowser when you drag and drop a file from your desktop onto your QTextBrowser. For information (action 2) http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qt.html#DropAction-enum Just by adding the following code it work well. @ def dragMoveEvent(self, inEvent): """ Need to accept DragMove to catch drop for TextBrowser """ inEvent.accept() @ Thanks all
  • PySide: Python for Qt version 1.0.0~beta3 "salmiak" released

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

    11
    0 Votes
    11 Posts
    10k Views
    H
    yes, project created: http://gitorious.org/pysideqwt#more todo: first import all classes, second found a way to use numpy.array.
  • PySide: showing an base64 image on a QMainWindow [Resolved]

    13
    0 Votes
    13 Posts
    13k Views
    G
    a nice blind guess! if someone else wants to do the same, or is searching for an example: @ def getImage(self): imagen64 = open('call.base64','r').read() imagen = QtGui.QImage() bytearr = QtCore.QByteArray.fromBase64( imagen64 ) imagen.loadFromData( bytearr, 'PNG' ) self.label.setPixmap( QtGui.QPixmap.fromImage(imagen) ) @ where: call.base64 is a file containing the base64 string with no CR nor LF, with a string of length:1888 encoded using php: @ $imgfile = "call.png"; $handle = fopen($imgfile, "r"); $imgbinary = fread(fopen($imgfile, "r"), filesize($imgfile)); $fw = fopen('call.base64', 'w'); fwrite($fw, base64_encode($imgbinary)); fclose($fw); @ with imports: @ from PySide import QtCore, QtGui @
  • Utility panel Widgit: PySide

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • Qt Jambi Ubuntu packages

    2
    0 Votes
    2 Posts
    3k Views
    K
    Thanks for sharing
  • PySide: Python for Qt version 1.0.0~beta2 "Mineshaft gap" released

    2
    0 Votes
    2 Posts
    3k Views
    V
    Good work, I definitely will give it a try
  • Does Qt support C# using Visual Studio 2008?

    4
    0 Votes
    4 Posts
    13k Views
    J
    I suggest Qyoto. On KDE Techbase I think you can find a way to compile it under Windows
  • PySide compared to PyQt4 : problem with QImage __init__()

    5
    0 Votes
    5 Posts
    4k Views
    L
    I think i don't use it properly because with PyQt and the following code : from PyQt4 import QtGui fid = open('/tmp/buffer.out','r') stringBuffer = fid.read() fid.close() img1 = QtGui.QImage(640,440, QtGui.QImage.Format_ARGB32) img1.loadFromData(stringBuffer) img1.save('test_pyqt4_1.png',format='png') --> this make an empty png file* img2 = QtGui.QImage(stringBuffer,640,440, QtGui.QImage.Format_ARGB32) img2.save('test_pyqt4_2.png',format='png') --> this make a good png file with my figure Any idea how to use loadFromData in the good way so that i can reproduce with pyside??