Results 1 to 2 of 2

Thread: how to set date from QCalender class in a text box

  1. #1
    Join Date
    Mar 2011
    Location
    delhi
    Posts
    45
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Exclamation how to set date from QCalender class in a text box

    hi all ,
    how to set date by selecting form QCalender in a text box and after selecting date ,selected date should be displayed in the text box and calender should be hide.



    thanks with regards:
    gauravg

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: how to set date from QCalender class in a text box

    The documentation tells you there's a signal when you clicked on a date. Use it.
    To hide a widget, hide it. That should not be too difficult.

Similar Threads

  1. Replies: 1
    Last Post: 24th April 2010, 15:31
  2. Solution for render text in some low-level class
    By deedw in forum Qt Programming
    Replies: 0
    Last Post: 19th April 2010, 12:45
  3. Qt class showing text area/text edit
    By maverick_pol in forum Qt Programming
    Replies: 4
    Last Post: 21st August 2008, 12:15
  4. Replies: 8
    Last Post: 18th March 2008, 15:12
  5. How to default Date-Edit Widget to system date
    By JohnToddSr in forum Qt Tools
    Replies: 4
    Last Post: 17th January 2007, 19:18

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.