Results 1 to 2 of 2

Thread: Change the Pushbutton text from other form

  1. #1
    Join Date
    Apr 2012
    Posts
    49
    Thanks
    14
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Change the Pushbutton text from other form

    Hi,

    In my application, i have one main page and a login page. In the main page i have a pushbutton named Login. Once i click the login It should open Login form and enter password and all. Once password is correct i need to update the pushbutton text to logout.

    In this part, i could able to create those two forms and password validation as well. .In this i am facing a problem that when i click login button and enter into Login page then click cancel in the login page,the pushbutton text should be login. This is not happening.

    In all these time i am not closing the main window

    Could you please help me out to sort out this issue

    Regards
    Vinithr

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Change the Pushbutton text from other form

    What have you tried since the last time you asked a very similar question?

Similar Threads

  1. Update form when change in Pushbutton text
    By vinithr in forum Newbie
    Replies: 11
    Last Post: 14th June 2012, 06:56
  2. Replies: 0
    Last Post: 15th August 2011, 19:09
  3. How to change QLabel value after Pushbutton pressed?
    By rdelgado in forum Qt Programming
    Replies: 4
    Last Post: 16th August 2010, 21:25
  4. Replies: 5
    Last Post: 12th March 2010, 21:43
  5. Help me to load one form over another form PushButton
    By wagmare in forum Qt Programming
    Replies: 7
    Last Post: 26th November 2008, 16:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.