ChatCrawlersearch across public Telegram Open the app
Q

Qt for Python (PySide/Shiboken)

26 January 2021
2021-01-26×
26 January 2021
Ë
So I can self.activateWindow() my Qt Application pretty well. But can I do this with another Application? 🤔 given a Process ID or Window handle or such? ...
I
it's another process so you'd have to use something like IPC ?
E
Ссылка
click to show
Hi. Based on the project https://github.com/Wanderson-Magalhaes/Toggle_Burguer_Menu_Python_PySide2 I'm trying to do without using QtDesigner. My code is this below: https://gist.github.com/CoutinhoElias/1f84a6b496becc9381630a4c5fdd9270#file-main-py-L22 I'm trying to do the frm_left_menu on line 74 https://gist.github.com/CoutinhoElias/1f84a6b496becc9381630a4c5fdd9270#file-main-py-L74 change size by clicking the btn_toggle button on line 99 https://gist.github.com/CoutinhoElias/1f84a6b496becc9381630a4c5fdd9270#file-main-py-L99 It is working in parts: 1 - The size of the frm_left_menu decreases but the buttons do not accompany it (They remain the same size) 2 - If I clicked again it should invert, that is, return to the original size of 70 Can someone help me?
🤔 it seems it works like expected. I can see the blue buttons resize with the menu
🤦🏻‍♂️ please ignore my previous message, I'm running the original one by Wanderson
I
Elias CoutinhoHi. Based on the project https://github.com/Wanderson-Magalhaes/Toggle_Burguer_Menu_Python_PySide2 I'm trying to do without using QtDesigner. My code is this below: https://gist.github.com/CoutinhoElias/1f84a6b496becc9381630a4c5fdd9270#file-main-py-L22 I'm trying to do the frm_left_menu on line 7
Let's try again 😜 I'm newbie in QtWidget, I have more experience in QML, but I think your layout lacks of HorizontalLayout. Then, in your UI function you set the MinimumWidth property, so defining the frame you have to set that instead of geometry. Last but not least: I think your UIFunctions class have to subclass Window, to gain access to frm_left_menu. I think you can take inspiration from UI python file by original project (the ui_main.py )
E
Does anyone recommend a video that teaches how to make toggle menu without using qtdesigner?
R
Does anyone here had worked with git submodules? I have on doubt regarding recursing modules.
Calendar: January 2021
Archive by month
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog