#pyqt | Logs for 2019-05-28
Back
[01:28:00] -!- altendky has quit [Quit: Connection closed for inactivity]
[01:55:07] -!- jmarsac has joined #pyqt
[04:35:09] <Thaodan> I have a model that I've implemented in python and whenever I call model.get I get: ypeError: Property 'get' of object MapListModel(0x55de700ccb20) is not a function
[04:35:29] <Thaodan> the model is derived from QAbstractListModel
[05:46:34] -!- cottoneyejim has joined #pyqt
[05:58:12] -!- jmarsac has quit [Ping timeout: 272 seconds]
[06:08:31] -!- cottoneyejim has quit [Quit: cottoneyejim]
[06:17:36] -!- cottoneyejim has joined #pyqt
[06:19:10] -!- cottoneyejim has quit [Client Quit]
[06:20:26] -!- cottoneyejim has joined #pyqt
[06:30:32] -!- cottoneyejim has quit [Quit: cottoneyejim]
[06:31:37] -!- cottoneyejim has joined #pyqt
[06:36:22] -!- cottoneyejim has quit [Client Quit]
[06:45:46] -!- cottoneyejim has joined #pyqt
[06:47:43] -!- jmarsac has joined #pyqt
[06:56:30] <Thaodan> is there a way to return a dict with a slot?
[07:00:52] <The-Compiler> Thaodan: slot as in Qt signals/slots? Slots can't return any values
[07:01:48] <Thaodan> not with result?
[07:02:44] <Thaodan> I want to implement model.get like in ListModel
[07:13:44] <The-Compiler> Thaodan: how are signals/slots related to that?
[07:14:15] <Thaodan> because ListView.get(index) is a slot that returns an object
[07:14:45] <Thaodan> I use QVariant now and cast the dict to QVariant
[08:30:31] -!- BPL has joined #pyqt
[09:31:51] -!- altendky has joined #pyqt
[10:10:16] -!- jmarsac has quit [Ping timeout: 272 seconds]
[10:29:32] -!- cottoneyejim has quit [Quit: cottoneyejim]
[11:07:33] -!- jmarsac has joined #pyqt
[11:23:41] -!- AbleBacon has joined #pyqt
[11:45:03] -!- jmarsac has quit [Ping timeout: 245 seconds]
[11:51:54] -!- cottoneyejim has joined #pyqt
[11:57:33] -!- jmarsac has joined #pyqt
[12:12:05] -!- thomasross has quit [Remote host closed the connection]
[12:30:07] -!- cottoneyejim has quit [Quit: cottoneyejim]
[13:23:26] -!- jmarsac has quit [Ping timeout: 272 seconds]
[14:40:21] -!- cottoneyejim has joined #pyqt
[17:18:03] -!- mintograde has joined #pyqt
[17:36:12] -!- AbleBacon has quit [Quit: Leaving]
[18:25:34] -!- JanC_ has joined #pyqt
[18:27:00] -!- JanC has quit [Ping timeout: 252 seconds]
[18:27:05] JanC_ is now known as JanC
[19:29:59] -!- BPL has quit [Read error: Connection reset by peer]
[20:35:44] -!- cottoneyejim has quit [Ping timeout: 248 seconds]
[22:10:02] -!- mandeep has joined #pyqt
[22:23:53] -!- mintograde has quit [Ping timeout: 244 seconds]