[Interest] Stack push with condition

Christoph Pleger Christoph.Pleger at cs.uni-dortmund.de
Thu Oct 22 10:53:25 CEST 2020


Hello,

I hope that I have subscribed to the correct mailing list for getting help to 
solve my problem. I am not a qt programmer, I just want to change very little 
in an already existant small qml-File.

The attached qml file is the main description file for an sddm theme; sddm is a 
graphical login manager. After starting sddm, this theme shows a user list 
from which to choose a user, the password can be entered in a prompt line. The 
theme contains a button for switching to a username promt and password prompt, 
as can be seen in lines 224-230. My question now is, if it is possible to 
switch to userPromptComponent unconditionally, that is directly after sddm was 
started, without clicking somewhere first. Maybe by adding a single line 
somewhere, that contains a call to mainStack.push(userPromptComponent) without 
condition?

Regards
  Christoph   

 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Main.qml
Type: text/x-qml
Size: 19126 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201022/5035af5c/attachment.bin>


More information about the Interest mailing list