question on how to solve a problem

nevarim

07-12-2010 11:20:29

hi all

i need a hint :D

i want to make a login page connect to a database, if i have a layout with inside username and password and a button login how can i make thaat when i press the button than than the square disappear and appear a square with a welcome phrase


thanks

Nevarim

Altren

07-12-2010 14:08:02

Hide login window and show another one with message.
To hide use widget->setVisible(false);

nevarim

07-12-2010 16:24:17

i 've to explain better :D

it's all a static image exept blue squere that are widgets, the red square have to change in a quare with the same configuration except that have only the phrase "welcome user"

i hope now is explain better :D

thanks again for patience

Nevarim

Altren

07-12-2010 20:23:15

Hide all widgets that you don't need to see anymore and create StaticText with "welcome user" caption there.

nevarim

07-12-2010 23:50:13

good it's easy to do ;)

than

Neva