#pyqt | Logs for 2018-11-09
Back
[00:52:46] -!- linuxson has joined #pyqt
[00:53:32] <linuxson> Is it possible to access the child elements of a custom listwidget item after its been populated?
[00:55:22] <linuxson> I have a custom widget which contains some labels and stuff being inserted into my qlistwidget
[01:19:02] -!- linuxson has quit []
[02:38:19] -!- anqxyr has joined #pyqt
[02:46:55] -!- Bjander has joined #pyqt
[02:47:33] -!- Belxjander has quit [Ping timeout: 245 seconds]
[02:47:33] Bjander is now known as Belxjander
[03:14:04] -!- jef has quit [Remote host closed the connection]
[03:15:10] -!- Bjander has joined #pyqt
[03:15:45] -!- Belxjander has quit [Ping timeout: 252 seconds]
[03:16:14] Bjander is now known as Belxjander
[03:23:06] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[03:23:31] -!- Belxjander has joined #pyqt
[04:02:31] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[04:03:01] -!- Belxjander has joined #pyqt
[04:04:08] -!- juvaldma has joined #pyqt
[04:45:10] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[04:45:47] -!- Belxjander has joined #pyqt
[04:46:45] -!- BPL has joined #pyqt
[05:05:58] -!- heliomaster has joined #pyqt
[05:50:12] -!- anqxyr has quit [Ping timeout: 252 seconds]
[05:51:09] -!- mintograde has joined #pyqt
[05:57:42] -!- anqxyr has joined #pyqt
[06:02:23] -!- linuxson has joined #pyqt
[06:02:49] <linuxson> How do I access elements inside my custom qlistwidgetitem?
[06:09:08] -!- heliomaster has quit [Remote host closed the connection]
[06:15:48] -!- Belxjander has quit [Ping timeout: 252 seconds]
[06:16:55] -!- kallesbar has joined #pyqt
[06:17:00] -!- Belxjander has joined #pyqt
[06:34:58] -!- mintograde has quit [Ping timeout: 246 seconds]
[06:43:03] -!- frispete has quit [Quit: Konversation terminated!]
[06:45:01] -!- frispete has joined #pyqt
[07:00:28] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[07:00:56] -!- Belxjander has joined #pyqt
[07:14:11] -!- linuxson has quit []
[07:17:48] -!- flowgunso has joined #pyqt
[07:23:20] -!- mcon has quit [Remote host closed the connection]
[07:46:18] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[07:46:41] -!- Belxjander has joined #pyqt
[08:06:51] <flowgunso> i'm having issues with uic while compiling: QKeySequenceEdit throws a NoSuchWidgetError exception, and Webview are compiled as QWebKitWidget which seems deprecated
[08:07:19] <flowgunso> i'm using pyqt5.11.3, qt5.11.2 and qtdesigner5.9.5
[08:08:00] <flowgunso> is this a known issue ? web searches didn't give me much solutions...
[08:11:50] -!- heliomaster has joined #pyqt
[08:24:51] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[08:25:24] -!- Belxjander has joined #pyqt
[08:31:44] -!- heliomaster has quit [Remote host closed the connection]
[08:32:19] -!- heliomaster has joined #pyqt
[08:37:06] -!- heliomaster has quit [Ping timeout: 268 seconds]
[08:58:55] -!- heliomaster has joined #pyqt
[09:08:42] -!- heliomaster has quit [Remote host closed the connection]
[09:09:21] -!- heliomaster has joined #pyqt
[09:13:37] -!- heliomaster has quit [Ping timeout: 250 seconds]
[09:16:04] -!- richar_d has quit [Quit: richar_d]
[09:17:38] -!- richar_d has joined #pyqt
[09:20:18] -!- heliomaster has joined #pyqt
[09:31:51] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[09:37:08] -!- Belxjander has joined #pyqt
[10:27:22] -!- heliomaster has quit [Remote host closed the connection]
[10:27:35] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[10:27:58] -!- heliomaster has joined #pyqt
[10:28:14] -!- Siecje has joined #pyqt
[10:28:29] -!- Belxjander has joined #pyqt
[10:29:20] -!- heliomaster has quit [Read error: No route to host]
[10:29:52] -!- heliomaster has joined #pyqt
[10:31:30] -!- Belxjander has quit [Client Quit]
[10:32:48] -!- Belxjander has joined #pyqt
[10:32:53] <altendky> flowgunso: do you mean pyuic?
[10:35:05] -!- heliomaster has quit [Ping timeout: 276 seconds]
[10:35:56] <flowgunso> altendky: i mean both pyuic5 binary and uic module. they both generate the same output with the same errors.
[10:37:36] <altendky> flowgunso: the web view stuff has changed, though i don't keep track of exactly when or how as i don't use it. i'm also not sure what version of qt that designer is related to.
[10:38:47] <altendky> flowgunso: the QKeySequenceEdit doesn't look like anything special though
[10:40:39] <altendky> flowgunso: what os and python bit depth? windows 32-bit doesn't include the web stuff as i recall. the qt installer doesn't provide it right now and that passes through into pyqt
[10:45:20] <flowgunso> altendky: im using ubuntu 18.04 and python 3.6. i haven't tried uic/pyuic from pyqt5.9.5 since qt designer is at 5.9.5, ill try that now
[10:46:57] <altendky> flowgunso: i'd recommend you try pyqt5-tools, but the special bit about it is pretty fiddly, i haven't managed to fix it yet. but, that's only relevant to custom widgets. i think the rest works ok and it would get you the designer for the version of pyqt you are using.
[10:47:11] <altendky> flowgunso: you are installing the pyqt5 wheels from pypi? in a virtualenv or venv?
[10:47:47] <altendky> err, nevermind, it's also only building for windows. way to forget that...
[10:47:50] <Avaris> flowgunso: does it work with uic.loadUi?
[10:52:01] <flowgunso> altendky: from a venv then pulled from pypi
[10:52:24] <flowgunso> Avaris: i haven't tried with uic.loadUi
[10:54:41] -!- jef has joined #pyqt
[10:54:54] <flowgunso> Avaris: using pyuic with preview actually use uic.loadUi and it didn't throw the NoSuchWidget execption on QKeySequenceEdit.
[10:55:26] <altendky> flowgunso: what was it you did use from the uic module?
[10:56:21] <flowgunso> altendky: uic.compileUi only
[11:04:06] <flowgunso> Avaris: uic.loadUi does work fine with QKeySequenceEdit, but still fails on QWebKitWidget
[11:08:26] -!- Belxjander has quit [Ping timeout: 252 seconds]
[11:14:23] -!- Siecje has quit [Quit: Leaving.]
[11:15:33] <Avaris> can you share the .ui?
[11:19:58] -!- Siecje has joined #pyqt
[11:31:28] -!- heliomaster has joined #pyqt
[11:31:36] <Avaris> how do you add a webview in designer? i don't have it in the list
[11:31:52] <altendky> Avaris: what designer version?
[11:32:00] <Avaris> 5.11
[11:32:17] <altendky> Avaris: do you recall when the web stuff changed over? they're on 5.9.5
[11:32:23] <altendky> (designer)
[11:32:36] <Avaris> it should way before that
[11:32:43] <Avaris> 5.5-ish i think
[11:40:28] <flowgunso> Avaris: https://pastebin.com for QKeySequenceEdit, https://pastebin.com for QWebKitWidget.QWebView
[11:41:06] <altendky> flowgunso: you've got a custom widget setup for the web thing.
[11:41:33] <flowgunso> altendky: nope, i've used the one from designer
[11:42:27] <altendky> flowgunso: as asked, how do you add it? but if you look at your second link, it is listed as a custom widget which is extending qwidget
[11:44:41] <flowgunso> altendky: drag/drop from the widget box in designer, the display widget group, the QWebView one. i havent created a custom widget
[11:45:05] <altendky> Avaris: ^
[11:46:15] <altendky> https://wiki.qt.io
[11:46:31] <altendky> webkit was removed as of 5.6
[12:16:03] <flowgunso> about the QKeySequenceEdit exception, do you want the traceback dump ?
[12:16:14] <flowgunso> since uic.loadUi works, the most direct difference is the CreatorPolicy
[12:16:24] <flowgunso> and i've noticed the CompilerCreatorPolicy and LoaderCreatorPolicy are different
[12:19:31] <altendky> flowgunso: you are welcome to share whatever you want :] i'm sort of here, sort of busy
[12:20:13] -!- frispete_ has joined #pyqt
[12:23:07] -!- frispete has quit [Ping timeout: 240 seconds]
[12:49:19] -!- heliomaster has quit [Ping timeout: 268 seconds]
[12:50:01] <Avaris> flowgunso: QKeySequenceEdit is probably a bug, you should probably report it
[12:53:42] <Avaris> list of widgets are taken from uic.Compiler.qtproxies and the widgets are hardcoded
[12:55:36] <Avaris> for the QWebEngineView, as I understand it, you're supposed to add a QWidget and promote it with QtWebEngineWidgets.QWebEngineView as the header
[12:56:19] <altendky> it's almost like i need to get pyqt5-tools working just so i can add 'custom' widgets for existing widgets
[12:56:50] <altendky> Avaris: i've still got some working cases and some not with pyqt5designer :[
[12:57:43] <Avaris> that promoted widget produces "correct" code, but imports are missing
[13:00:15] <Avaris> oh never mind, imports are there. apparently QKeySequenceEdit thing stops it in the middle, so half the code wasn't produced
[13:05:06] <Avaris> https://dpaste.de
[13:05:27] <Avaris> putting import to the end is annoying but technically OK
[14:00:39] <flowgunso> is pyqt mailing list for bug reporting or is there something else ?
[14:01:10] <altendky> flowgunso: it is
[14:01:58] <altendky> flowgunso: that's one of my annoyances with pyqt. the only public source is snapshots and the only public interface is the maillist. (i like public repos, issue trackers, and builds with automated tests)
[14:18:12] <flowgunso> altendky: imo they are good health indicator of a software/community, but its not that bad for pyqt
[14:18:45] <flowgunso> altendky: also, i can understand riverbank being protective of their product
[14:19:24] <altendky> flowgunso: sure, but they publish source. just need to break up repos so the public stuff can be public and the private stays private
[14:19:53] <altendky> flowgunso: and i bet not having public reference builds has wasted lots of peoples time.
[14:20:02] <altendky> or, cost their time, if you prefer
[14:20:19] <altendky> though on that front, a buildable sdist is in work, so that's really nice
[14:32:13] -!- Siecje has parted #pyqt
[14:36:09] -!- heliomaster has joined #pyqt
[14:41:56] <flowgunso> what the benefit of an sdist over source snapshots ?
[14:42:38] <altendky> flowgunso: the implication is you can pip install it, so, it contains the information required to do a build. then you have at least a reference build config, even if not a reference ci job building it.
[14:52:27] -!- heliomaster has quit [Remote host closed the connection]
[14:53:08] -!- heliomaster has joined #pyqt
[14:59:49] -!- onla has parted #pyqt
[15:05:32] <flowgunso> altendky: ah, local build will be easier. on the other hand, pyqt is fine enough, its counterpart wx and pygtk are not as good
[15:05:52] <altendky> flowgunso: i happily use pyqt. i think aspects could be better.
[15:07:06] <flowgunso> altendky: yes. i admit, i wasn't excepting the issues i went into
[15:08:05] <altendky> flowgunso: everything has bugs so they don't really bother me. it's the secretive approach taken to the open source that does.
[15:09:23] <Avaris> i think it's more about "old habits die hard" than being secretive
[15:09:49] <altendky> meh, it's not like sourceforge wasn't around way back when
[15:10:25] <altendky> but yeah, i just meant to differentiate private repo vs public repo. presumably there's also a private issue list. private builds. etc
[15:10:55] <altendky> it's technically open source because it's published but it's not open source in regards to encouraging public development
[15:11:05] <altendky> (even if patches are accepted)
[15:17:27] <flowgunso> i dont know qt's history very well, but did nokia buying qt screwed thing up, up to its bindings ?
[15:18:00] <altendky> flowgunso: i really have no basis to comment at that level
[15:23:28] -!- anqxyr has quit [Ping timeout: 246 seconds]
[15:47:07] <Avaris> which bindings?
[15:53:52] <flowgunso> whichever ? all of them ? as for python, pyside was born from that, it must have been a game changer for riverbanks
[16:15:43] <Avaris> nokia started pyside. so, not sure what "screw up" meant in that case. pyside probably had an effect on riverbanks, sure, but pyside was never as mature as pyqt (IMO).
[16:16:38] <altendky> then there was qt5 and pyside didn't exist for it
[16:22:20] <Avaris> iirc, that was after nokia
[16:22:47] <altendky> i don't know when, just that it'd play into pyqt having competition or not
[16:22:48] -!- mintograde has joined #pyqt
[16:54:58] -!- heliomaster has quit [Remote host closed the connection]
[16:55:36] -!- heliomaster has joined #pyqt
[16:56:25] -!- heliomaster has quit [Read error: No route to host]
[16:57:00] -!- heliomaster has joined #pyqt
[18:19:08] -!- Belxjander has joined #pyqt
[18:22:41] -!- BPL has quit [Read error: Connection reset by peer]
[19:25:07] -!- flowgunso has quit [Ping timeout: 240 seconds]
[20:04:20] -!- heliomaster has quit [Remote host closed the connection]
[20:05:00] -!- heliomaster has joined #pyqt
[20:09:04] -!- heliomaster has quit [Ping timeout: 246 seconds]
[21:06:52] -!- heliomaster has joined #pyqt
[21:12:07] -!- heliomaster has quit [Ping timeout: 240 seconds]
[22:09:19] -!- heliomaster has joined #pyqt
[22:14:02] -!- heliomaster has quit [Ping timeout: 272 seconds]
[22:21:00] -!- kallesbar has quit [Quit: Konversation terminated!]
[22:47:14] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[22:47:48] -!- Belxjander has joined #pyqt
[22:54:16] -!- mintograde has quit [Ping timeout: 268 seconds]
[23:10:48] -!- heliomaster has joined #pyqt
[23:15:09] -!- heliomaster has quit [Ping timeout: 244 seconds]
[23:27:51] -!- Belxjander has quit [Ping timeout: 252 seconds]
[23:28:24] -!- Belxjander has joined #pyqt