#pyqt | Logs for 2019-02-19
Back
[01:44:25] -!- n1` has joined #pyqt
[02:22:49] -!- n1` has quit [Ping timeout: 244 seconds]
[02:57:31] -!- n1` has joined #pyqt
[03:11:21] -!- BPL has joined #pyqt
[03:56:43] -!- n1` has quit [Ping timeout: 245 seconds]
[04:55:22] -!- n1` has joined #pyqt
[05:02:38] -!- cetchmoh has joined #pyqt
[05:02:43] <cetchmoh> hi there
[05:03:32] <The-Compiler> hi cetchmoh
[05:03:49] <cetchmoh> :)
[05:04:57] <cetchmoh> has anyone an idea what I could do if I would like to notify an QAbstractItemModel subclass from a node, that it's data has changed?
[05:05:57] <cetchmoh> my nodes get updated outside of the model, and I can't emit its dataChanged signal because I don't know the index of my node
[05:53:47] <n1`> sound like a design issue to me
[05:53:54] <n1`> s/sound/sounds
[06:38:05] -!- BPL has quit [Quit: Leaving]
[09:10:05] -!- Siecje has joined #pyqt
[11:12:13] -!- AbleBacon has joined #pyqt
[12:03:18] <altendky> *shrug* i've got an entire modeling system built around that design
[12:04:45] <altendky> cetchmoh: maybe have a signal on your nodes that you connect to a custom slot on your model that can then create the proper dataChanged emission
[12:04:57] <altendky> in my case that's all handled automatically
[16:35:11] -!- mintograde has joined #pyqt
[17:00:38] -!- Siecje has parted #pyqt
[17:25:06] -!- n1` has quit [Ping timeout: 268 seconds]
[17:52:07] -!- AbleBacon has quit [Quit: Leaving]
[21:45:37] -!- Storgance has joined #pyqt
[21:51:47] <Storgance> Hello, everyone. I am trying to implement a QListView with a custom delegate with two roles for a communications client. However, I am getting an error I still do not understand after some Googling. I have the tutorial I am attempting to emulate, my source code, and the error message here: https://pastebin.com . Any idea what mistakes I may have made?
[22:11:45] -!- ncl has joined #pyqt
[22:32:08] -!- mintograde has quit [Ping timeout: 245 seconds]
[22:32:23] -!- Storgance has quit [Ping timeout: 256 seconds]