#pyqt | Logs for 2018-10-03

Back
[00:19:10] -!- kushal has joined #pyqt
[00:24:17] -!- kushal has quit [Excess Flood]
[00:24:41] -!- kushal has joined #pyqt
[03:19:30] -!- argoneus has quit [*.net *.split]
[03:19:30] -!- kushal has quit [*.net *.split]
[03:32:41] -!- argoneus has joined #pyqt
[03:34:28] -!- kushal has joined #pyqt
[04:13:56] -!- argoneus has quit [*.net *.split]
[04:13:56] -!- kushal has quit [*.net *.split]
[04:22:02] -!- kushal has joined #pyqt
[04:23:17] -!- swalladge has joined #pyqt
[04:27:13] -!- argoneus has joined #pyqt
[04:37:48] -!- swalladge has quit [Read error: Connection reset by peer]
[04:40:01] -!- swalladge has joined #pyqt
[04:51:30] -!- argoneus has quit [*.net *.split]
[04:51:30] -!- kushal has quit [*.net *.split]
[04:59:38] -!- kushal has joined #pyqt
[05:05:05] -!- argoneus has joined #pyqt
[05:21:20] -!- swalladge has quit [Ping timeout: 252 seconds]
[05:24:59] -!- anqxyr has joined #pyqt
[05:33:56] -!- swalladge has joined #pyqt
[05:40:28] -!- anqxyr has quit [Ping timeout: 245 seconds]
[06:35:10] -!- mintograde has joined #pyqt
[07:14:53] -!- mintograde has quit [Ping timeout: 252 seconds]
[07:27:16] -!- nitro25 has joined #pyqt
[09:03:05] <altendky> was it Alec that came in here a couple times swearing at us about how qt is way worse than wx? i think specifically the choice to set sip to not provide pass-by-name on every parameter
[09:03:24] <altendky> just had a lovely discussion with them in #wxwidgets
[09:12:35] -!- Siecje has joined #pyqt
[10:04:21] -!- Avaris has quit [Ping timeout: 260 seconds]
[10:06:03] -!- Avaris has joined #pyqt
[10:32:45] <hazzy-m> I have been using PyQt5.uic.compileUiDir, but I also need to compile recource files, and I can not find an rcc equivalent to uic. I'm I missing were it is located?
[11:04:00] -!- Afrix has joined #pyqt
[11:27:14] <altendky> hazzy-m: there's the pyrcc5 cli utility. But what do you need resource files for? Even Phil thinks they aren't generally useful
[11:30:31] <hazzy-m> altendky: Ok, thanks. I'll just call pyrcc5 using subprocess
[11:31:50] <hazzy-m> i'm not sure of any alternatives for using icons and images in QtDesginer created UI files, is there another way to do it?
[11:32:26] <altendky> hazzy-m: I don't know that I've added them in there vs in code
[11:35:29] <altendky> hazzy-m: i don't know the implications but i get to choose from file when setting a push button icon in designer
[11:35:57] <altendky> might result in absolute paths which wouldn't be great. maybe the path would be relative to the .ui file?
[11:36:13] <hazzy-m> using the qrc file is a little bit of a pain, but not too bad
[11:36:36] <hazzy-m> I can'r remember why I decided that did not work :)
[11:36:40] <altendky> hazzy-m: yeah, i can select a file and it saves a relative path in the .ui
[11:37:35] <hazzy-m> Oh, that right, I think you have to use qrc when setting images in qss
[11:45:18] <altendky> hazzy-m: https://stackoverflow.com
[11:47:48] <hazzy-m> altendky: Thanks! I'll try using using paths directaly agian and see how it goes
[11:50:22] <altendky> for most of my paths i end up with something like `pathlib.Path(__file__).parent/'this_file.ext'` to make it relative to the .py file. relative paths are just a mess unless resolved relative to a known point (iow, not cwd)
[11:50:49] <altendky> so i would expect to need to .format() a stylesheet to insert the reference path
[11:57:43] <hazzy-m> That must have been the problem I ran into. The problem is that QSS can be used all over the place: directly in designer (ends up in UI file), in a separate QSS file, or set from python, so it would be a pain to format all the QSS file urls to add the reference path
[11:58:07] <hazzy-m> guess ill just stick with the qrc since that is working well
[12:22:50] -!- mandeep has quit [Quit: Leaving]
[14:41:23] -!- nitro25 has quit [Remote host closed the connection]
[15:39:13] -!- anqxyr has joined #pyqt
[16:24:29] -!- mintograde has joined #pyqt
[18:06:34] -!- Siecje has quit [Ping timeout: 246 seconds]
[18:11:40] -!- anqxyr has quit [Read error: Connection reset by peer]
[18:56:57] -!- kallesbar has joined #pyqt
[19:01:29] <altendky> The-Compiler: do you have tests running on osx? Like Travis or circle?
[19:03:05] <altendky> I started last night too try to setup actual ci for a project. Regular requirements.txt but also latest deps, latest --pre, and git
[20:18:38] -!- kallesbar has quit [Read error: Connection reset by peer]
[20:19:02] -!- kallesbar has joined #pyqt
[21:36:04] -!- kallesbar has quit [Ping timeout: 272 seconds]
[22:31:58] -!- Afrix has quit [Quit: Leaving]
[22:32:17] -!- mintograde has quit [Ping timeout: 252 seconds]