开发者

PyQT user authentication and customized layouts

开发者 https://www.devze.com 2023-01-20 17:23 出处:网络
So I\'m developing an app in 开发者_JS百科PyQT and I need to implement user authentification. Basically I have drawn 3 layouts (all same size window)...on login layout, one layout for user A and one l

So I'm developing an app in 开发者_JS百科PyQT and I need to implement user authentification. Basically I have drawn 3 layouts (all same size window)...on login layout, one layout for user A and one layout for user B. The the thing I want to achieve is that when user A logins he gets his specialized layout and so does B. And I want it to if possible happen in the same window (so it looks smooth...). Thanks in advance...


If the optional screens will contain completely different controls, I think a QStackedWidget with a page for each layout option would suit your needs provided that each optional layout will take up roughly the same size area.

0

精彩评论

暂无评论...
验证码 换一张
取 消