implementation of registration and login forms
-
I decided to write a simple messenger to sit with friends, it was up to the client. I understand how to make forms in principle, but how to change them? In terms of, let’s say I clicked the login button, how can I implement changing the login form to the main window form? I looked in the direction of qstackedwidget, but the qss that was applied to the main widget in qt designer was overwritten or something (the other widgets worked fine). Maybe I just did something wrong, I don't know
There is also an option to just make separate windows, but the plans are to compile for Android and iOS (I don’t know how realistic this is either, but qt seems to support it) so, about windows, I don’t know the behavior on mobile applications. Let's say I'm making 2 top level widgets (well, which will be considered windows). In this case, on Windows it will be just 2 windows, but what will happen on the same Android? You can’t make 2 windows there (Or is it possible?)
In general, how to implement this cross-platform, and so as not to be a collective farm?
-
Hi and welcome to devnet,
Using QStackedWidget is fine. Since your current issue is with QSS, it would be worth investing what is happening there.