Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. pyqt4
    Log in to post

    • SOLVED 'str' object has no attribute 'chop'
      Mobile and Embedded • pyqt4 python2 • • cerr  

      3
      0
      Votes
      3
      Posts
      67
      Views

      @SGaist said in 'str' object has no attribute 'chop': Hi, You write your code as if you where using QString objects. With either PySide2 or PyQt5 you'll have Python str objects. You need to translate these bits. rrrrrrright, Duh! I'm still kind of new to writing Qt in Python... changing my code to using pin[:-1] works as expected! Thanks!
    • SOLVED problem with aligning text underneath buttons
      General and Desktop • layout qpushbutton qlabel pyqt4 • • cerr  

      3
      0
      Votes
      3
      Posts
      52
      Views

      Hi, To add a layout to a layout there's the "addLayout" method.
    • UNSOLVED segmentation fault triggered in QKeyMapper::changeKeyboard()
      General and Desktop • qt4.8 segfault pyqt4 • • Marc_Van_Daele  

      3
      0
      Votes
      3
      Posts
      867
      Views

      In the PyQt 4.9.4 code downoaded from https://sourceforge.net/projects/pyqt/files/PyQt4/ I find (Note that we are using 4.9.3 but I couldn't find the sources of that version) void sipQLineEdit::changeEvent(QEvent *a0) { sip_gilstate_t sipGILState; PyObject *sipMeth; sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_changeEvent); if (!sipMeth) { QLineEdit::changeEvent(a0); return; } typedef void (*sipVH_QtCore_17)(sip_gilstate_t,PyObject *,QEvent *); ((sipVH_QtCore_17)(sipModuleAPI_QtGui_QtCore->em_virthandlers[17]))(sipGILState,sipMeth,a0); }
    • UNSOLVED Segmentation fault when move a group item (combining a rectangle and a point) in pyQT
      General and Desktop • pyqt4 parent segmentation fa children python2 • • helloworld12345  

      4
      0
      Votes
      4
      Posts
      1453
      Views

      @jsulm When the pop up Message Box shows "python has stopped working", I clicked "debug" rather than close, then visual studio was started, in visual studio, it shows Unhandled exception at 0x0000000059A17DF1 (QtGui4.dll) in python.exe: 0xC000041D: An unhandled exception was encountered during a user callback I was using pycharm to trace code step by step, however it nev, aer run to this issue by step by step since there are two many small steps/callback/signal/slot to go through, as long as I let it run without breakpoint, it will crash with segmentation fault.
    • UNSOLVED PyQt Combobox with QtGui.QDataWidgetMapper not saving key to database
      General and Desktop • combobox pyqt4 relational • • mkdev  

      2
      0
      Votes
      2
      Posts
      1630
      Views

      By default a QComboBox reads and saves its currentText property when being mapped to a data model column. I wonder if this is causing your problem?
    • UNSOLVED PyQt5 Events
      Language Bindings • python pyqt5 pyqt python3 pyqt4 • • alekssandrap  

      1
      0
      Votes
      1
      Posts
      1880
      Views

      No one has replied

    • UNSOLVED PyQt4 and scip for python on Mac OS Sierra
      Language Bindings • pyqt4 • • Devineurons  

      4
      0
      Votes
      4
      Posts
      3165
      Views

      The module name is PyQt4 case sensitive.
    • UNSOLVED QProcess event queue
      Language Bindings • python pyqt4 • • borisruna  

      10
      0
      Votes
      10
      Posts
      3329
      Views

      @SGaist said in QProcess event queue: Hi, Unless you put that in a loop, readLine will only read one line each time. One thing you can do is split the content of trace_output on the carriage return and parse each element after that. Sry didn't get notified about your reply. I have managed to solve this using subprocess module on a different thread. Would like to see it working with QProcess too though. Did you find any bug on my code?
    • UNSOLVED PyQt4 graphics : contextMenu does not appear if graphics item is not movable...
      Language Bindings • pyqt4 graphics context menu • • ppuiseux  

      1
      0
      Votes
      1
      Posts
      531
      Views

      No one has replied

    • UNSOLVED How to compile a project of qt-app.org? for install a widget in QtDesigner.
      General and Desktop • python qtdesigner compile pyqt4 cpp • • curiosport  

      1
      0
      Votes
      1
      Posts
      577
      Views

      No one has replied

    • SOLVED How to create this widget with PySide or QtDesigner?
      General and Desktop • python pyqt qtdesigner pyside pyqt4 • • curiosport  

      8
      0
      Votes
      8
      Posts
      2385
      Views

      @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.
    • UNSOLVED Adding signal on table items
      General and Desktop • qtablewidget qt4.8 pyqt4 • • yvesm  

      3
      0
      Votes
      3
      Posts
      1534
      Views

      Thanx bsomervi. Good point. I could go with an even more general signal (like itemClicked) but finding the signal that will more rightly pick only a checkbox checked/unchecked action would be optimal.
    • UNSOLVED QListWidgetItem is not being selected
      General and Desktop • qlistwidget pyqt4 qlistwidgetitem list • • Streakflash  

      2
      0
      Votes
      2
      Posts
      931
      Views

      Hi, Why not use the parameters of currentItemChanged to get the current item ?
    • UNSOLVED QFileSystemModel setRootPath segfault
      General and Desktop • linux pyqt pyqt4 • • jdwiegman  

      3
      0
      Votes
      3
      Posts
      1044
      Views

      The crash dump only tells me that its a shared memory error, I can't seem to get more detail than that. It seems related to the system clock time (my application lets users change the time), if it has changed that is when the crashing is occuring.
    • Embedding custom QWidgets inside a QTextEdit
      General and Desktop • qt4 qtextedit pyqt4 • • kfkf  

      8
      0
      Votes
      8
      Posts
      2350
      Views

      One alternative might be to implement a QAbstractTextDocumentLayout
    • Compile PyQt program into a stadarlone exacutable for Linux
      General and Desktop • deploy pyqt4 standalone exam • • Nick96  

      1
      0
      Votes
      1
      Posts
      537
      Views

      No one has replied

    • Problem with program that performs multiple processes.
      General and Desktop • python gui thread pyqt qtdesigner python3 threads threading pyqt4 multithreads pyuic • • Tas-sos  

      3
      0
      Votes
      3
      Posts
      2467
      Views

      How can i create my signal for text edit with python3 ? With as many ways i tried, but I did not succeed .. :(
    • Πρόβλημα με πρόγραμμα που εκτελεί πολλές διεργασίες.
      Greek • python gui thread pyqt threads threading pyqt4 multithreads • • Tas-sos  

      1
      0
      Votes
      1
      Posts
      1345
      Views

      No one has replied

    • QGraphicsTextItem edited text
      General and Desktop • qgraphicsscene pyqt4 qgraphicstextit • • Boman  

      2
      0
      Votes
      2
      Posts
      1033
      Views

      Hi, Are you thinking of something like toPlainText ?
    • Dynamic preview while drawing
      General and Desktop • qgraphicsview qgraphicsscene qgraphicsitem pyqt4 • • Boman  

      1
      0
      Votes
      1
      Posts
      694
      Views

      No one has replied

    • color of taurus label
      General and Desktop • qt4 pyqt4 color change taurus label • • binit amin  

      1
      0
      Votes
      1
      Posts
      527
      Views

      No one has replied