#pyqt | Logs for 2018-12-14

Back
[00:32:38] -!- kallesbar has quit [Quit: Konversation terminated!]
[03:17:36] -!- Lauxley has joined #pyqt
[04:04:06] -!- anqxyr has joined #pyqt
[04:28:29] -!- daegontaven has joined #pyqt
[04:29:34] -!- saraf has joined #pyqt
[04:30:36] -!- BPL has joined #pyqt
[04:38:56] -!- anqxyr has quit [Ping timeout: 272 seconds]
[04:48:47] -!- saraf has quit [Ping timeout: 240 seconds]
[04:50:57] -!- Bjander has joined #pyqt
[04:51:09] -!- Belxjander has quit [Ping timeout: 250 seconds]
[04:51:20] Bjander is now known as Belxjander
[05:14:58] -!- daegontaven has quit [Quit: Leaving]
[05:54:40] <kushal> Anyone here has experience with PyQt and MVC?
[05:55:08] <kushal> Need some suggestions on this https://github.com if anyone can tell us what is a good way to go.
[06:48:50] <Avaris> kushal: the info on the issue does a good job. anything specific you're looking for?
[06:51:18] <kushal> Avaris, do you suggest to go for MVC?
[06:52:34] <Avaris> I don't know enough about the inner workings of the project to make a suggestion :|
[06:53:20] -!- kallesbar has joined #pyqt
[06:54:10] <kushal> Avaris, okay, this is almost like a standard chatting application, where we are getting data using some API calls, problem is when we do get new call, should we manually update all of UI, or just use a model such a way so that all of the UI elements update properly and automatically
[06:54:56] <kushal> Avaris, also any good example/tutorial to read/learn more about pyqt and MVC
[06:59:54] <Avaris> depends on a lot of things
[07:00:21] <Avaris> a quick glance, this seems to be the "view" in your project: https://github.com
[07:01:20] <Avaris> from what I can see, you're continiously appending widgets to a scrollarea. this won't scale well
[07:01:54] <Avaris> that's a good candidate for model-view for example
[07:07:50] <Avaris> for tutorial, most of the ones I know are probably quite outdated. qt docs has decent examples though. that could get you started
[07:08:42] <kushal> Avaris, Okay, thank you.
[07:10:14] <Avaris> bear in mind, it's a significant refactoring effort. if your current implementation works and you're not hitting much performance issues, it might not worth to do it :)
[07:10:48] <kushal> Avaris, that is okay, the current alpha is only used by the developers.
[07:11:03] <kushal> Avaris, the real journalists will surely have 100s of sources and messages.
[07:11:05] <Avaris> on the other hand, it's much easier to do these things earlier than much later when things are a lot more interlocked
[07:11:14] <kushal> Avaris, yes,
[07:14:23] <kushal> Avaris, the team is lacking Qt knowledge, that is what stopping us to go ahead fully. Trying to identify examples to read and learn from .
[08:38:27] -!- jthornton has quit [Read error: Connection reset by peer]
[08:55:10] -!- Siecje has joined #pyqt
[10:22:39] -!- Lauxley has quit [Ping timeout: 250 seconds]
[11:09:27] -!- TechSmurf has quit [Ping timeout: 250 seconds]
[11:33:27] <hazzy-m> diamondman: I did not read all the logs, but I understant you are trying to get custom slots to show in designer. All you have to do is use the @pyqtSlot(slot-type) decorator on your python method. It will then show up in designer
[11:34:15] <altendky> hazzy-m: how will designer know about your python code at all? are you referring to custom widgets?
[11:34:18] <hazzy-m> diamondman: https://github.com
[11:34:27] <altendky> err, custom widget plugins
[11:34:48] <hazzy-m> Yes, custom widgets, I guess he may not be useing those ..
[11:35:34] <altendky> hazzy-m: btw, i forget if you use windows at all. have you been using the 'more recent' pqyt5-tools at all? i'm still getting (very little but) mixed feedback on whether it works or not
[11:36:37] <hazzy-m> I don't use windows :(
[11:38:25] <hazzy-m> I've recommended it to several people who do and they never said it didn't work, but I don't know for sure if it did
[11:43:54] <altendky> when it comes up maybe have them try `yourenv\scripts\pyqt5designer --example-widget-path` to check the actual plugin. it should add a pyqt5-tools section to the widget list with an otherwise pointless widget in it (maybe a button?).
[11:44:37] <altendky> also presently ought to be using the --pre to get one of the rc releases. though i should probably just 'make a release', it's not like i actually encourage anyone to use the last release...
[11:46:49] <hazzy-m> will do!
[11:47:16] <hazzy-m> maybe I'll set up a win machine and test it my self
[11:50:15] <altendky> note it's pyqt5designer not the designer wrapper. the designer wrapper is pretty direct, the pyqt5designer adds a few cli parameters so you don't have to set the PYQTDESIGNERPATH yourself or 'configure' the virtualenv (not that i think i'm doing that properly, but hey)
[12:23:11] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[12:23:49] -!- Belxjander has joined #pyqt
[13:30:17] -!- Dave_Elec has joined #pyqt
[13:53:38] -!- Dave_Elec has quit [Ping timeout: 250 seconds]
[15:15:21] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[15:15:51] -!- Belxjander has joined #pyqt
[15:17:15] -!- Dave_Elec has joined #pyqt
[15:39:48] -!- Dave_Elec has quit [Ping timeout: 250 seconds]
[15:42:56] -!- Dave_Elec has joined #pyqt
[15:44:12] -!- Bjander has joined #pyqt
[15:47:13] -!- Belxjander has quit [Ping timeout: 250 seconds]
[15:47:14] Bjander is now known as Belxjander
[16:22:51] -!- Dave_Elec has quit [Ping timeout: 268 seconds]
[18:09:25] -!- Siecje has parted #pyqt
[18:51:15] -!- mandeep has quit [Ping timeout: 246 seconds]
[19:43:33] -!- JT-Shop has quit [Read error: Connection reset by peer]
[20:11:04] -!- JT-Shop has joined #pyqt
[20:22:38] -!- BPL has quit [Read error: Connection reset by peer]
[20:52:46] -!- mandeep has joined #pyqt
[21:25:26] * hazzy-m uploaded an image: Screenshot_2018-12-14_21-24-48.png (101KB) < https://matrix.org >