Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Updating inside Qthread
Post: Updating inside Qthread

Dear all, I have a question about how to update the value inside qthread? As the code below, I faced difficulty to update parallel_config and series_config value. I did connect those emitted signals ...
GMCobraz GUI 0 1,383 Sep-11-2020, 02:59 PM
    Thread: process finished with exit code -1073741819 (0xC0000005)
Post: RE: process finished with exit code -1073741819 (0...

I am trying to say, both conditions also crash. The latest find out from my troubleshooting process, the result shows is Power Point but not Matlab. Thanks.
GMCobraz General Coding Help 8 5,428 Sep-01-2020, 08:19 AM
    Thread: process finished with exit code -1073741819 (0xC0000005)
Post: RE: process finished with exit code -1073741819 (0...

Dear all, I manage to find out the error part. self.parallel_config.setValue(int(data.iat[0, 6])) # the program crashed at this point self.series_config.setValue(int(data.iat[1, 6])) self...
GMCobraz General Coding Help 8 5,428 Sep-01-2020, 07:33 AM
    Thread: Qpainter Error
Post: RE: Qpainter Error

Dear all, I suspect there is an error in my code. I use combobox to have more than one data. When I switch from first to another, I did not do a proper reset, and cause error. This is what I suspec...
GMCobraz GUI 6 4,398 Aug-26-2020, 06:57 AM
    Thread: Creating a frame with 4 command buttons
Post: RE: Creating a frame with 4 command buttons

Heyjoe, I am not TK user, but from your description, I suspect you did not add the widget to the frame. So you can only see the frame.
GMCobraz GUI 5 2,478 Aug-20-2020, 05:31 AM
    Thread: Qpainter Error
Post: RE: Qpainter Error

The error as show in figure in attachment. They are not looking nice, but once I double click on those not complete display box, the value will come out. Could you snip the part that is creating/ini...
GMCobraz GUI 6 4,398 Aug-19-2020, 01:51 PM
    Thread: Remove of reset delegate
Post: RE: Remove of reset delegate

Yes, it works when I set delegate to None. Thanks alot.
GMCobraz GUI 6 2,628 Aug-19-2020, 12:20 PM
    Thread: Remove of reset delegate
Post: RE: Remove of reset delegate

def mode2(self): delegate = ReadOnly(self) table = TableWidget() table.setItemDelegateForColumn(0, None) table.setItemDelegateForRow(0, None) table.setItemDeleg...
GMCobraz GUI 6 2,628 Aug-17-2020, 01:34 PM
    Thread: Remove of reset delegate
Post: RE: Remove of reset delegate

Here is the code, but I cannot get mode 1 and 2 to execute. What I want is, mode 1 and mode 2 are distinct, mode1 settings will not appear in mode2 when toggled. Thanks. import sys from PySide2.QtWi...
GMCobraz GUI 6 2,628 Aug-17-2020, 09:55 AM
    Thread: Remove of reset delegate
Post: Remove of reset delegate

Dear all, May I know is there anyway to reset to remove Qstyleditemdelegate? For example, I switched from radio button A to B. The delegate set on radio A brought over to B, which I don't want. I wi...
GMCobraz GUI 6 2,628 Aug-15-2020, 07:59 PM
    Thread: Two QlineEdit box, which interrelated
Post: Two QlineEdit box, which interrelated

Hi guys, I have a general question here. How can I make sure two QLineEdit box are interrelated? I haven't code, just to get an idea here. For example, box A and B are interrelated. When I change b...
GMCobraz GUI 1 2,428 Aug-12-2020, 01:52 PM
    Thread: How to change a value in one box change another too
Post: RE: How to change a value in one box change anothe...

Thanks deanhystad. But how can I check whether user change the factor or modified_loss? I mean, I plan to insert if to break the cycle. My question now is, how I check valueChanged or textChanged in ...
GMCobraz GUI 3 2,001 Aug-04-2020, 01:41 PM
    Thread: How to change a value in one box change another too
Post: How to change a value in one box change another to...

Dear all, I got one question. There are 3 rows. First row refer to self.bat_loss, QlineEdit Second row is self.factor, QDoublespinbox Third row is self.modified_loss, QlineEdit Current progress: Fir...
GMCobraz GUI 3 2,001 Aug-04-2020, 12:39 PM
    Thread: process finished with exit code -1073741819 (0xC0000005)
Post: RE: process finished with exit code -1073741819 (0...

I am running my program at Pycharm 2019.3.5. I found out that this error will occur whenever I use software called Matlab. This error will disappear once I restart my device, and will occur again if...
GMCobraz General Coding Help 8 5,428 Jul-16-2020, 01:04 PM
    Thread: process finished with exit code -1073741819 (0xC0000005)
Post: process finished with exit code -1073741819 (0xC00...

Dear all, Is anyone facing the error as per in title before? Please give a hints on how to solve. Thank you very much. Regards, Guang Min
GMCobraz General Coding Help 8 5,428 Jul-16-2020, 12:53 PM
    Thread: Import a file and show file name on qcombobox
Post: RE: Import a file and show file name on qcombobox

since signal emitted during import, connect the emitted signal to a slot and create necessary functions to update the imported data at list.
GMCobraz GUI 1 1,979 Jul-02-2020, 01:38 PM
    Thread: Qpainter Error
Post: RE: Qpainter Error

(Jul-02-2020, 11:39 AM)Knight18 Wrote: I suggest you post your code here. Hi Knight18, The code is generated from Pyside2 Designer. It is about 1000 lines
GMCobraz GUI 6 4,398 Jul-02-2020, 11:48 AM
    Thread: Qpainter Error
Post: Qpainter Error

Dear all, I faced a bug that happen sometime in my program. It is not occur everytime, but show up randomly. QPainter::begin: Paint device returned engine == 0, type: 3 QPainter::setCompositionMode...
GMCobraz GUI 6 4,398 Jul-02-2020, 11:29 AM
    Thread: How to refer to particular cell
Post: How to refer to particular cell

Dear all, I have a question. battery_temp = data['Battery Temperatur [°C]']. max() self.display_bat_temp.display(battery_temp) hvs_temp = data.ia...
GMCobraz General Coding Help 0 1,144 Jul-01-2020, 02:25 PM
    Thread: Import a file and show file name on qcombobox
Post: Import a file and show file name on qcombobox

Dear all, May I get some hints on how to show the filename in qcombobox after import? The problem that I faced now is, it is imported successfully, but need to close and reopen in order to ssee the ...
GMCobraz GUI 1 1,979 Jun-29-2020, 10:01 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020