#pyqt | Logs for 2019-04-04
Back
[00:09:26] -!- saraf has joined #pyqt
[01:22:36] <Thaodan> altendky: one question thou is qDebug exactly like the c++ version or are there changes?
[02:54:58] <Thaodan> altendky: thanks for the tip using qDebug as excepthook works
[03:57:01] -!- n1` has joined #pyqt
[04:13:19] <Thaodan> https://gitlab.com
[04:17:41] <The-Compiler> Thaodan: why the `msg = str()`?
[04:24:10] <Thaodan> wanted to use msg.join but that would result in empty msg
[04:25:56] <The-Compiler> Thaodan: you don't need the `msg = str()` though, you set `msg = ''.join(...)` just below anyways
[04:52:13] <Thaodan> The-Compiler: yeah I don't removed it at that time
[04:53:50] <Thaodan> I'm tring to use my app ressources in a existstack context and it doesn't work. does importlib.resource work diffrent in compiled/bundled state=
[04:53:52] <Thaodan> *?
[04:53:56] <Thaodan> my code:
[04:53:58] <Thaodan> https://gitlab.com
[04:55:05] <Thaodan> error message is included too.
[04:55:14] <Thaodan> it bugs when I enter context
[05:55:55] -!- Dave_Elec has joined #pyqt
[06:09:01] -!- saraf has quit [Quit: Leaving]
[07:24:18] -!- linuxson has joined #pyqt
[07:26:50] <linuxson> I have this little test script: https://pastebin.com
[07:28:02] <linuxson> I want to animate the button spinning around its own axis, how would I achieve this? For the life of me, I cant find the articel I read couple of days ago online, which made use of a QGraphicsProxyWidget()
[07:29:22] <linuxson> My example uses a QGraphicsWidget(), but everything I find online now uses QGraphicsItem() objects to animate rotation
[07:29:48] <linuxson> If someone could point out what I am missing or how to animate this, please
[07:32:50] -!- Belxjander has quit [Ping timeout: 250 seconds]
[07:34:05] -!- Belxjander has joined #pyqt
[07:47:38] <Thaodan> what do I need to use pyqt with quickcontrols2 in pyqtdeploy?
[07:59:25] <Thaodan> can inject C++ inside the main c++ file to register a qml component (kirigami) or how should this be done?
[08:02:52] -!- linuxson has quit []
[08:36:55] <altendky> Thaodan: you can register components in Python afaik
[08:37:44] <altendky> Thaodan: with the context stuff was there a reason you can't use a regular context manager instead of atexit? Also, by compiled do you mean pyinstaller? Or..
[08:57:27] -!- Siecje has joined #pyqt
[08:59:05] -!- nsizemor has joined #pyqt
[10:14:00] <Thaodan> altendky: i know but this code isn't called in python. it's a qml c++ class, Kirigami to be exact
[10:14:29] <Thaodan> altendky: by compiled i meant pyqtdeployed
[10:14:59] <Thaodan> I followed the default import lib example
[10:15:52] <Thaodan> however I'm using qrc directly on the deployed version because it works better with the qml engine.
[10:58:25] -!- frispete has quit [Quit: Konversation terminated!]
[10:58:32] -!- agile_prg has joined #pyqt
[10:58:56] <agile_prg> is anyone using qml with pyqt?
[10:59:05] <agile_prg> I am new to that approach
[10:59:46] -!- Dave_Elec has quit [Quit: No Ping reply in 180 seconds.]
[11:01:12] -!- frispete has joined #pyqt
[11:01:51] -!- Dave_Elec has joined #pyqt
[11:15:17] -!- AbleBacon has joined #pyqt
[11:19:28] -!- n1` has quit [Ping timeout: 250 seconds]
[11:24:08] <Thaodan> yes
[11:24:42] <Thaodan> me
[11:28:32] <agile_prg> why do you prefer it to the standard widgets in qt designer?
[11:29:38] <altendky> fyi it's not an alternative widget set. it's a whole different gui system including a declarative language for more than just layout
[11:29:48] -!- BPL has joined #pyqt
[11:30:09] <altendky> i believe qt has some comparison videos or blog posts perhaps
[11:37:04] -!- cottoneyejim has joined #pyqt
[12:00:15] -!- nsizemor has quit [Quit: nsizemor]
[12:14:50] <agile_prg> altendky but do you like it?
[12:15:58] <altendky> agile_prg: I haven't worked with qml beyond a couple examples here
[12:25:43] <agile_prg> it uses javascript which is wholesale garbabge
[12:25:54] <agile_prg> *sigh*
[12:31:13] <agile_prg> anyway, I guess everybody loves it :<
[12:55:02] -!- Dave_Elec has quit [Ping timeout: 245 seconds]
[13:18:28] -!- linuxson has joined #pyqt
[13:22:30] <linuxson> So I got a small test app, trying to animate my own loader object: https://pastebin.com Problem is, I am not quite sure how to achieve this now, and most of the articles on line I've read have just ended up confusing me on what to use exactly. I need to animate rotation on the spinner() object, which has been subclassed, inheriting from QObject. Some help please?
[13:22:32] -!- Dave_Elec has joined #pyqt
[13:32:09] -!- JanC_ has joined #pyqt
[13:33:48] JanC is now known as Guest19220
[13:33:48] -!- Guest19220 has quit [Killed (moon.freenode.net (Nickname regained by services))]
[13:33:48] JanC_ is now known as JanC
[13:51:53] <linuxson> Nevermind, figured it out...using QTransform() and setting that on the pixmapItem in my spinner class. Now just need to figure out how to animate it
[13:54:28] -!- Dave_Elec has quit [Ping timeout: 250 seconds]
[14:28:17] <linuxson> is there any way to get the width and height of a QGraphicsPixmapItem() ?
[15:05:22] -!- linuxson has quit [Remote host closed the connection]
[15:14:11] -!- n1` has joined #pyqt
[15:35:19] -!- n1` has quit [Ping timeout: 244 seconds]
[15:45:31] -!- n1` has joined #pyqt
[15:50:27] -!- altendky has quit [Quit: Connection closed for inactivity]
[16:45:51] -!- n1` has quit [Ping timeout: 268 seconds]
[16:46:38] -!- mintograde has joined #pyqt
[17:08:27] -!- Siecje has quit [Quit: Leaving.]
[18:08:26] -!- AbleBacon has quit [Quit: Leaving]
[19:17:23] -!- BPL has quit [Quit: Leaving]
[20:26:32] -!- altendky has joined #pyqt
[22:23:12] -!- mintograde has quit [Ping timeout: 250 seconds]
[23:36:07] -!- altendky has quit [Quit: Connection closed for inactivity]